Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Prerequisites
-------------

The server module needs to be deployed on a running jboss instance,
The server module needs to be deployed on a running jboss instance,
along with a process engine that provides an implementation of the integration layer.
See http://www.jboss.org/community/wiki/BPMConsoleReference for further explanations.

Expand All @@ -16,12 +16,12 @@ But the basics steps to get going are as follows:
mvn clean install

2) Make sure both process engine and the server module are installed on JBoss AS instance

http://www.jboss.org/community/wiki/BPMConsoleReference

3) Boot the AS and start the gwt console in hosted mode

See gui/war/README.txt for further information
See gui/war/README.txt for further information


Publish console artifacts
Expand Down
2 changes: 1 addition & 1 deletion gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

<modules>
<module>profiles</module>
<module>war</module>
<module>war</module>
</modules>
</project>
2 changes: 1 addition & 1 deletion gui/profiles/drools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<version>2.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

</project>
2 changes: 1 addition & 1 deletion gui/profiles/jbpm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<version>2.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

</project>
2 changes: 1 addition & 1 deletion gui/profiles/riftsaw/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<version>2.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

</project>
4 changes: 2 additions & 2 deletions gui/profiles/riftsaw/src/main/resources/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
position: absolute; top: 0; left: 0;
z-index:1000;
}
.bpm-loader {
.bpm-loader {
background-image: url('images/loading_lite.gif');
background-repeat:no-repeat;
height: 24px; width: 130px;
Expand All @@ -38,7 +38,7 @@


<link rel="stylesheet" href="chart.css" type="text/gss">

</head>

<!-- -->
Expand Down
2 changes: 1 addition & 1 deletion gui/war/GWT_TEST_README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Special node for executing GWT tests under linux:
The GWT-maven plugin executes any test prefixed "GwtTest"
(See http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/testing.html)
It reads stderr in order to figure wether or not the test has been successful.
On fedora (or any other linux) it happens that that mozilla components issue the following
On fedora (or any other linux) it happens that that mozilla components issue the following
INFO message to stderr, which causes the test to fail:

> Gtk-WARNING **: Unable to locate theme engine in module_path: "nodoka"
Expand Down
6 changes: 3 additions & 3 deletions gui/war/README.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Running in hosted mode:
----------------------

Start the GWT shell with
Start the GWT shell with

mvn gwt:<run|debug>

When the hosted browser is started, it's enough to hit the 'refresh' button to recompile
and verfiy changes.

NOTE: Really quick turnaround through
NOTE: Really quick turnaround through

mvn -Dhosted gwt:<run|debug>

Expand All @@ -18,7 +18,7 @@ NOTE: Really quick turnaround through
Running in web mode:
-------------------

mvn package
mvn package

Produces a war file in target/gwt-console.war,
which can be deployed to a running jboss instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ public MosaicPanel()

protected MosaicPanel(Element elem)
{
super(elem);
super(elem);
}

protected MosaicPanel(Element elem, LayoutManager layout)
{
super(elem, layout);
super(elem, layout);
}

public MosaicPanel(LayoutManager layout)
{
super(layout);
setPadding(5);
}

}
10 changes: 5 additions & 5 deletions gui/war/src/main/java/org/jboss/bpm/console/Application.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@

<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
<inherits name='com.google.gwt.json.JSON'/>
<inherits name='com.google.gwt.json.JSON'/>
<inherits name="com.google.gwt.user.ImageBundle"/>
<inherits name="com.google.gwt.xml.XML" />

<inherits name="org/jboss/bpm/monitor/gui/Monitor"/>

<inherits name="org.jboss.errai.common.ErraiCommon"/>
<inherits name="org.jboss.errai.bus.ErraiBus" />
<inherits name="org.jboss.errai.workspaces.ErraiWorkspaces" />

<!-- reporting -->
<inherits name='org.jboss.bpm.report.BPMReport' />

<!-- mvc4g -->
<inherits name='com.mvc4g.Mvc4gModule'/>
<inherits name='com.mvc4g.Mvc4gModule'/>

<!-- Specify the app entry point class. -->
<entry-point class="org.jboss.bpm.console.client.ErraiApplication" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@

/**
* Provides context information to console components and plugins.
*
*
* @author Heiko.Braun <[email protected]>
*/
public interface ApplicationContext
{

void displayMessage(String message, boolean isError);

Authentication getAuthentication();

ConsoleConfig getConfig();

void refreshView();

}
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public void onResponseReceived(Request request, Response response)

if(response.getStatusCode()!=200)
{
ConsoleLog.error(response.getText());
ConsoleLog.error(response.getText());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ public RequestBuilder.Method getRequestMethod()
public void handleSuccessfulResponse(final Controller controller, final Object event, Response response)
{
ServerStatus status = JSOParser.parseStatus(response.getText());
ServerPlugins.setStatus(status);
ServerPlugins.setStatus(status);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class ConsoleConfig
private String consoleServerUrl;

private String defaultEditor;

public ConsoleConfig(String proxyUrl)
{
Dictionary theme = Dictionary.getDictionary("consoleConfig");
Expand All @@ -65,7 +65,7 @@ public ConsoleConfig(String proxyUrl)
instanceSummaryReportFile = theme.get("instanceSummaryReportFile");

defaultEditor = theme.get("defaultEditor");

if(null==proxyUrl)
{
// extract host
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void run()
);

bus.addSubscribeListener(this);

Controller mainController = new com.mvc4g.client.Controller();
Registry.set(Controller.class, mainController);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class LoginAction implements ActionInterface
{

public void execute(Controller controller, Object object)
{
{
LoginView loginView = (LoginView)controller.getView(LoginView.NAME);
loginView.display();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private Widget createForm()
panel.setPadding(0);

MosaicPanel box1 = new MosaicPanel(new BoxLayout());
box1.setPadding(0);
box1.setPadding(0);
MosaicPanel box2 = new MosaicPanel(new BoxLayout());
box2.setPadding(0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void setController(Controller controller)
{
this.controller = controller;
}

public void provideWidget(ProvisioningCallback callback)
{
panel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static boolean has(String type)
if(p.getType().equals(type))
{
match = p.isAvailable();
break;
break;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public void onSuccess()
}

);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public String getActiveNodeInfoURL(String instanceId)
public String getActivityImage(String processId, String instanceId)
{
String encodedId = URL.encode(processId);
return config.getConsoleServerUrl() + "/rs/process/definition/"+ encodedId+ "/image/"+instanceId;
return config.getConsoleServerUrl() + "/rs/process/definition/"+ encodedId+ "/image/"+instanceId;
}


Expand Down Expand Up @@ -244,7 +244,7 @@ public String getDefinitionHistoryURL(String definitionId)
{
return config.getConsoleServerUrl() + "/rs/process/definition/history/" + definitionId;
}

public String getProcessHistoryURL(String definitionId, String querystring) {
String encodedId = URL.encode(definitionId);
return config.getConsoleServerUrl()+"/rs/history/definition/"+ encodedId + "/instances?" + querystring;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public abstract class AbstractView extends MosaicPanel
private AbstractImagePrototype icon;

protected boolean initialized;

protected AbstractView()
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public HeaderLabel(String string)
super(string);
applyStyle(false);
}

public HeaderLabel(String string, boolean invert)
{
super(string);
applyStyle(invert);
}

private void applyStyle(boolean invert)
{
{
if(invert)
this.setStyleName("bpm-label-header-invert");
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
public interface IFrameWindowCallback
{
void onWindowClosed();

}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* window dimension.
*
* @see org.jboss.bpm.console.client.common.IFrameWindowCallback
*
*
* @author Heiko.Braun <[email protected]>
*/
public class IFrameWindowPanel
Expand All @@ -73,7 +73,7 @@ public IFrameWindowPanel(String url, String title)
private void createWindow()
{
windowPanel = new WindowPanel();
windowPanel.setAnimationEnabled(true);
windowPanel.setAnimationEnabled(true);

ScrollLayoutPanel layout = new ScrollLayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
layout.setStyleName("bpm-window-layout");
Expand All @@ -82,7 +82,7 @@ private void createWindow()
HeaderLabel header = new HeaderLabel(title, true);

layout.add(header, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));

windowPanel.addWindowCloseListener(new WindowCloseListener() {
public void onWindowClosed() {
if(getCallback()!=null)
Expand Down Expand Up @@ -202,6 +202,6 @@ public native String getContents(Element iframe) /*-{

public void show()
{
createWindow();
createWindow();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public IconHeader(AbstractImagePrototype icon, String title)
super(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
setPadding(5);

this.add(icon.createImage());
this.add(icon.createImage());
this.add(new HTML("<b>"+title+"</b>"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ListBoxToolbar(String title)
setStyleName("bpm-toolbar-panel");

toolPanel = new HorizontalPanel();

this.add(new HTML("<b>"+title+"</b>"), new ColumnLayoutData("80%"));
this.add(toolPanel, new ColumnLayoutData("20%"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public PropertyGrid(String[] fieldDesc)
this.fieldNames = fieldDesc;

this.add(grid);

initReset();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public WidgetWindowPanel(String title, final Widget widget, boolean overlay)
window = new WindowPanel(title);
window.setAnimationEnabled(true);
window.setWidget(widget);

WindowUtil.addMaximizeButton(window, Caption.CaptionRegion.RIGHT);
WindowUtil.addMinimizeButton(window, Caption.CaptionRegion.RIGHT);

Expand Down
Loading