[overlord-commits] Overlord SVN: r919 - in bpm-console/trunk: gui and 36 other directories.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Wed Jan 20 05:48:10 EST 2010


Author: heiko.braun at jboss.com
Date: 2010-01-20 05:48:09 -0500 (Wed, 20 Jan 2010)
New Revision: 919

Added:
   bpm-console/trunk/gui/profiles/jbpm/src/main/resources/console.config.js
   bpm-console/trunk/gui/profiles/jbpm/src/main/resources/jbpm_logo.png
   bpm-console/trunk/gui/war/src/main/java/org/gwt/
   bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/
   bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/
   bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/client/
   bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/client/layout/
   bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/client/layout/MosaicPanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/Application.gwt.xml
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/workspace-default.cfg
   bpm-console/trunk/gui/war/war/
   bpm-console/trunk/gui/war/war/WEB-INF/
   bpm-console/trunk/gui/war/war/WEB-INF/web.xml
   bpm-console/trunk/gui/war/war/app.html
   bpm-console/trunk/gui/war/war/console.css
   bpm-console/trunk/gui/war/war/images/
   bpm-console/trunk/gui/war/war/images/Jbpm_logo.png
   bpm-console/trunk/gui/war/war/images/Jbpm_logo_small.png
   bpm-console/trunk/gui/war/war/images/ajax-loader.gif
   bpm-console/trunk/gui/war/war/images/bg_gradient.gif
   bpm-console/trunk/gui/war/war/images/bg_headergradient.gif
   bpm-console/trunk/gui/war/war/images/bg_listgradient.gif
   bpm-console/trunk/gui/war/war/images/bg_suggestgradient.gif
   bpm-console/trunk/gui/war/war/images/blank_loading.gif
   bpm-console/trunk/gui/war/war/images/blank_splash.gif
   bpm-console/trunk/gui/war/war/images/gwt-logo.png
   bpm-console/trunk/gui/war/war/images/icons/
   bpm-console/trunk/gui/war/war/images/icons/05.png
   bpm-console/trunk/gui/war/war/images/icons/05_1.png
   bpm-console/trunk/gui/war/war/images/icons/13.png
   bpm-console/trunk/gui/war/war/images/icons/14.png
   bpm-console/trunk/gui/war/war/images/icons/27.png
   bpm-console/trunk/gui/war/war/images/icons/29.png
   bpm-console/trunk/gui/war/war/images/icons/31.png
   bpm-console/trunk/gui/war/war/images/icons/36.png
   bpm-console/trunk/gui/war/war/images/icons/41.png
   bpm-console/trunk/gui/war/war/images/icons/49.png
   bpm-console/trunk/gui/war/war/images/icons/add.png
   bpm-console/trunk/gui/war/war/images/icons/add_small.png
   bpm-console/trunk/gui/war/war/images/icons/confirm.png
   bpm-console/trunk/gui/war/war/images/icons/confirm_small.png
   bpm-console/trunk/gui/war/war/images/icons/deny.png
   bpm-console/trunk/gui/war/war/images/icons/deny_small.png
   bpm-console/trunk/gui/war/war/images/icons/error.png
   bpm-console/trunk/gui/war/war/images/icons/examine.png
   bpm-console/trunk/gui/war/war/images/icons/large.png
   bpm-console/trunk/gui/war/war/images/icons/large_small.png
   bpm-console/trunk/gui/war/war/images/icons/loading.gif
   bpm-console/trunk/gui/war/war/images/icons/lock.png
   bpm-console/trunk/gui/war/war/images/icons/lock_small.png
   bpm-console/trunk/gui/war/war/images/icons/pause.png
   bpm-console/trunk/gui/war/war/images/icons/pause_small.png
   bpm-console/trunk/gui/war/war/images/icons/play.png
   bpm-console/trunk/gui/war/war/images/icons/play_red_big.png
   bpm-console/trunk/gui/war/war/images/icons/play_small.png
   bpm-console/trunk/gui/war/war/images/icons/remove.png
   bpm-console/trunk/gui/war/war/images/icons/remove_small.png
   bpm-console/trunk/gui/war/war/images/icons/stop.png
   bpm-console/trunk/gui/war/war/images/icons/stop_small.png
   bpm-console/trunk/gui/war/war/images/icons/unlock.png
   bpm-console/trunk/gui/war/war/images/loading-circle.gif
   bpm-console/trunk/gui/war/war/images/loading.gif
   bpm-console/trunk/gui/war/war/images/loading_lite.gif
   bpm-console/trunk/gui/war/war/images/processSample.jpg
   bpm-console/trunk/gui/war/war/images/tab.gif
   bpm-console/trunk/gui/war/war/index.html
Removed:
   bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/console.config.js
   bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/jbpm_logo.png
   bpm-console/trunk/gui/war/src/main/resources/org/
Modified:
   bpm-console/trunk/gui/pom.xml
   bpm-console/trunk/gui/profiles/drools/pom.xml
   bpm-console/trunk/gui/profiles/jbpm/pom.xml
   bpm-console/trunk/gui/profiles/pom.xml
   bpm-console/trunk/gui/profiles/riftsaw/pom.xml
   bpm-console/trunk/gui/war/pom.xml
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Application.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Header.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/MainLayout.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/PreferencesView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ServerStatusView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/SettingsEditor.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/AbstractView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/HeaderLabel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IFrameWindowPanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IconHeader.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PagingPanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PropertyGrid.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/WidgetWindowPanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentDetailView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/ResourcePanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DeploymentPanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDataView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportEditor.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportFrame.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportLaunchPadView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportParameterForm.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/sam/SAMEditor.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/search/SearchDefinitionView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AbstractTaskList.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AssignedTasksView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/OpenTasksView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/ParticipantPanel.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskDetailView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskEditorNavigation.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/util/WindowUtil.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java
   bpm-console/trunk/pom.xml
   bpm-console/trunk/server/integration/pom.xml
   bpm-console/trunk/server/pom.xml
   bpm-console/trunk/server/war/pom.xml
   bpm-console/trunk/shared/pom.xml
   bpm-console/trunk/shared/rpc/pom.xml
   bpm-console/trunk/workspace/pom.xml
   bpm-console/trunk/workspace/workspace-api/pom.xml
Log:
Begin migration to GWT 2.0

Modified: bpm-console/trunk/gui/pom.xml
===================================================================
--- bpm-console/trunk/gui/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -12,7 +12,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-parent</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/gui/profiles/drools/pom.xml
===================================================================
--- bpm-console/trunk/gui/profiles/drools/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/profiles/drools/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -12,7 +12,7 @@
    <parent>
       <groupId>org.jboss.bpm</groupId>
       <artifactId>gwt-console-profiles</artifactId>
-      <version>1.3.0-SNAPSHOT</version>
+      <version>2.0.0-SNAPSHOT</version>
       <relativePath>../pom.xml</relativePath>
    </parent>
    

Modified: bpm-console/trunk/gui/profiles/jbpm/pom.xml
===================================================================
--- bpm-console/trunk/gui/profiles/jbpm/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/profiles/jbpm/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -12,7 +12,7 @@
    <parent>
       <groupId>org.jboss.bpm</groupId>
       <artifactId>gwt-console-profiles</artifactId>
-      <version>1.3.0-SNAPSHOT</version>
+      <version>2.0.0-SNAPSHOT</version>
       <relativePath>../pom.xml</relativePath>
    </parent>
    

Copied: bpm-console/trunk/gui/profiles/jbpm/src/main/resources/console.config.js (from rev 899, bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/console.config.js)
===================================================================
--- bpm-console/trunk/gui/profiles/jbpm/src/main/resources/console.config.js	                        (rev 0)
+++ bpm-console/trunk/gui/profiles/jbpm/src/main/resources/console.config.js	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,9 @@
+var consoleConfig = {
+  profileName:          "jBPM Console",
+  logo:                 "jbpm_logo.png",
+  serverWebContext:     "/gwt-console-server",
+  defaultEditor:        "org.jboss.bpm.console.client.task.TaskEditor",
+  overallReportFile:   "overall_activity.rptdesign",
+  processSummaryReportFile: "process_summary.rptdesign",
+  instanceSummaryReportFile:   "instance_summary.rptdesign"
+};
\ No newline at end of file

Copied: bpm-console/trunk/gui/profiles/jbpm/src/main/resources/jbpm_logo.png (from rev 899, bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/jbpm_logo.png)
===================================================================
(Binary files differ)

Deleted: bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/console.config.js
===================================================================
--- bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/console.config.js	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/console.config.js	2010-01-20 10:48:09 UTC (rev 919)
@@ -1,9 +0,0 @@
-var consoleConfig = {
-  profileName:          "jBPM Console",
-  logo:                 "jbpm_logo.png",
-  serverWebContext:     "/gwt-console-server",
-  defaultEditor:        "org.jboss.bpm.console.client.task.TaskEditor",
-  overallReportFile:   "overall_activity.rptdesign",
-  processSummaryReportFile: "process_summary.rptdesign",
-  instanceSummaryReportFile:   "instance_summary.rptdesign"
-};
\ No newline at end of file

Deleted: bpm-console/trunk/gui/profiles/jbpm/src/main/resources/org/jboss/bpm/console/public/jbpm_logo.png
===================================================================
(Binary files differ)

Modified: bpm-console/trunk/gui/profiles/pom.xml
===================================================================
--- bpm-console/trunk/gui/profiles/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/profiles/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -13,7 +13,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-gui</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/gui/profiles/riftsaw/pom.xml
===================================================================
--- bpm-console/trunk/gui/profiles/riftsaw/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/profiles/riftsaw/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -12,7 +12,7 @@
    <parent>
       <groupId>org.jboss.bpm</groupId>
       <artifactId>gwt-console-profiles</artifactId>
-      <version>1.3.0-SNAPSHOT</version>
+      <version>2.0.0-SNAPSHOT</version>
       <relativePath>../pom.xml</relativePath>
    </parent>
    

Modified: bpm-console/trunk/gui/war/pom.xml
===================================================================
--- bpm-console/trunk/gui/war/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -1,552 +1,510 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
-  <modelVersion>4.0.0</modelVersion>
-  <name>JBoss BPM - Console::GUI::Webapp</name>
-  <groupId>org.jboss.bpm</groupId>
-  <artifactId>gwt-console</artifactId>
-  <packaging>war</packaging>
-
-  <!-- Parent -->
-  <parent>
+    <modelVersion>4.0.0</modelVersion>
+    <name>JBoss BPM - Console::GUI::Webapp</name>
     <groupId>org.jboss.bpm</groupId>
-    <artifactId>gwt-console-gui</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
+    <artifactId>gwt-console</artifactId>
+    <packaging>war</packaging>
 
-  <properties>
-    <gwt-maven.version>2.0-RC1</gwt-maven.version>
-  </properties>
+    <!-- Parent -->
+    <parent>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console-gui</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
 
-  <!--  Dependencies -->
-  <dependencies>
+    <properties>
+        <gwt-maven.version>2.0-RC1</gwt-maven.version>
+    </properties>
 
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-workspace-api</artifactId>
-      <version>${version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-workspace-api</artifactId>
-      <classifier>sources</classifier>
-      <version>${version}</version>
-      <scope>provided</scope>
-    </dependency>
+    <!--  Dependencies -->
+    <dependencies>
 
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-rpc</artifactId>
-      <classifier>sources</classifier>
-      <version>${version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-rpc</artifactId>
-      <version>${version}</version>
-      <scope>provided</scope>
-    </dependency>
+        <dependency>
+            <groupId>org.jboss.bpm</groupId>
+            <artifactId>gwt-console-workspace-api</artifactId>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.bpm</groupId>
+            <artifactId>gwt-console-workspace-api</artifactId>
+            <classifier>sources</classifier>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
 
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>report-shared</artifactId>
-      <classifier>sources</classifier>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>report-shared</artifactId>            
-    </dependency>
+        <dependency>
+            <groupId>org.jboss.bpm</groupId>
+            <artifactId>gwt-console-rpc</artifactId>
+            <classifier>sources</classifier>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.bpm</groupId>
+            <artifactId>gwt-console-rpc</artifactId>
+            <version>${version}</version>
+            <scope>provided</scope>
+        </dependency>
 
-    <!-- GWT -->
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-servlet</artifactId>
-      <version>${gwt.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-user</artifactId>
-      <version>${gwt.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-dev</artifactId>
-      <version>${gwt.version}</version>
-      <classifier>${platform}-libs</classifier>
-      <type>zip</type>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-dev</artifactId>
-      <version>${gwt.version}</version>
-      <classifier>${platform}</classifier>
-      <scope>provided</scope>
-    </dependency>
+        <dependency>
+            <groupId>org.jboss.bpm</groupId>
+            <artifactId>report-shared</artifactId>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.bpm</groupId>
+            <artifactId>report-shared</artifactId>
+        </dependency>
 
-    <!-- GWT extensions -->
-    <dependency>
-      <groupId>com.google.code.gwt-log</groupId>
-      <artifactId>gwt-log</artifactId>
-      <scope>provided</scope>
-    </dependency>
+        <!-- GWT -->
+        <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-servlet</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic-dnd</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic-incubator</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic-gwtx</artifactId>
-      <scope>provided</scope>
-    </dependency>
+        <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-user</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-    <dependency>
-      <groupId>com.googlecode.mvc4g</groupId>
-      <artifactId>mvc4g</artifactId>
-      <scope>provided</scope>
-    </dependency>
+        <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-dev</artifactId>
+            <scope>provided</scope>
+            <version>${gwt.version}</version>
+        </dependency>
 
-    <!-- 3rd party -->
+        <!-- GWT extensions -->
 
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-      <scope>provided</scope>
-    </dependency>
+        <!-- Mosaic -->
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-mosaic</artifactId>
+        </dependency>
 
-    <dependency>
-      <groupId>commons-configuration</groupId>
-      <artifactId>commons-configuration</artifactId>
-      <scope>provided</scope>
-    </dependency>
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-beans-binding</artifactId>
+        </dependency>
 
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>${javax.jaxb.version}</version>
-      <classifier>sources</classifier>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.xml.stream</groupId>
-      <artifactId>stax-api</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.activation</groupId>
-      <artifactId>activation</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-dnd</artifactId>
+        </dependency>
 
-  <!-- Plugins -->
-  <build>
-    <finalName>gwt-console</finalName>
-    <!--finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName-->
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-incubator</artifactId>
+        </dependency>
 
-    <plugins>     
-      <!--
-       =======================================================
-        GWT Maven Pugin
-       =======================================================
-      -->
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwtx</artifactId>
+        </dependency>
 
-      <plugin>
-        <groupId>com.totsp.gwt</groupId>
-        <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
-        <version>${gwt-maven.version}</version>
-        <configuration>
-          <logLevel>INFO</logLevel>
-          <compileTargets>
-            <value>org.jboss.bpm.console.Application</value>
-          </compileTargets>
-          <runTarget>org.jboss.bpm.console.Application/Application.html</runTarget>
-          <style>DETAILED</style>
-          <noServer>false</noServer>
-          <extraJvmArgs>-Xmx256M -Xms256M</extraJvmArgs>
-          <gwtVersion>${gwt.version}</gwtVersion>
-          <!--contextXml>src/main/webapp/META-INF/contextGwt.xml</contextXml-->
-        </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <!--goal>mergewebxml</goal-->
-              <goal>compile</goal>
-              <goal>gwt</goal>
+        <dependency>
+            <groupId>com.google.code.gwt-log</groupId>
+            <artifactId>gwt-log</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-              <!--
-                 GWT tests are executed through "-Palltests"
-              -->
-              <!--goal>test</goal-->
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <!--  Use the dependency plugin to unpack gwt-dev-PLATFORM-libs.zip -->
-      <!--
-         (this is a replacement for the old "automatic" mode - useful if you
-         don't have GWT installed already, or you just want a maven way to
-         handle gwt deps)
-      -->
+        <dependency>
+            <groupId>com.googlecode.mvc4g</groupId>
+            <artifactId>mvc4g</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-      <!--
-        =======================================================
-         GWT SDK Installation
-        =======================================================
-       -->
+        <!-- 3rd party -->
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>unpack-gwt</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>unpack</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>com.google.gwt</groupId>
-                  <artifactId>gwt-dev</artifactId>
-                  <version>${gwtVersion}</version>
-                  <classifier>${platform}-libs</classifier>
-                  <type>zip</type>
-                  <overWrite>false</overWrite>
-                  <outputDirectory>${settings.localRepository}/com/google/gwt/gwt-dev/${gwtVersion}</outputDirectory>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-        </executions>
-      </plugin>
-      <!--
-         If you want to use the target/web.xml file mergewebxml produces,
-         tell the war plugin to use it
-      -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-war-plugin</artifactId>
-        <configuration>
-          <!--webXml>target/web.xml</webXml-->
-          <warSourceExcludes>.gwt-tmp/**</warSourceExcludes>
-          <webResources>
-            <resource>
-              <!-- this is relative to the pom.xml directory -->
-              <directory>src/main/templates</directory>
-              <filtering>true</filtering>
-            </resource>
-          </webResources>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
+        <dependency>
+            <groupId>commons-configuration</groupId>
+            <artifactId>commons-configuration</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>process-classes</phase>
-            <configuration>
-              <tasks>
-                <!--
-                https://jira.jboss.org/jira/browse/BPMC-5
-                Tomcat caches console.config.js
-                -->
-                <touch file="${project.build.outputDirectory}/org/jboss/bpm/console/public/console.config.js"/>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <profiles>
-
-    <profile>
-      <id>quick-hosted-mode</id>
-      <activation>
-        <property>
-          <name>hosted</name>
-        </property>
-      </activation>
-      <properties>
-        <google.webtoolkit.compileSkip>true</google.webtoolkit.compileSkip>
-        <o>true</o> <!-- offline -->
-      </properties>
-    </profile>
-
-    <!--
-      =======================================================
-       jBPM Profile (default)       
-      =======================================================
-     -->
-    <profile>
-      <id>jbpm-console.profile</id>
-      <activation>
-        <property>
-          <name>!console.profile</name>
-        </property>
-      </activation>
-      <dependencies>
         <dependency>
-          <groupId>org.jboss.bpm</groupId>
-          <artifactId>gwt-console-profile-jbpm</artifactId>
-          <version>${version}</version>
-          <scope>provided</scope>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${javax.jaxb.version}</version>
+            <classifier>sources</classifier>
+            <scope>provided</scope>
         </dependency>
-      </dependencies>
-      <properties>
-        <console.app.webcontext>jbpm-console</console.app.webcontext>        
-      </properties>
-      <build>
+        <dependency>
+            <groupId>javax.xml.stream</groupId>
+            <artifactId>stax-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>javax.activation</groupId>
+            <artifactId>activation</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <!-- Plugins -->
+    <build>
+        <finalName>gwt-console</finalName>
+        <outputDirectory>war/WEB-INF/classes</outputDirectory>
+
         <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>unpack-profile-jbpm</id>
-                <phase>process-resources</phase>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>gwt-maven-plugin</artifactId>
+                <version>${gwt.maven}</version>
                 <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.jboss.bpm</groupId>
-                      <artifactId>gwt-console-profile-jbpm</artifactId>
-                      <version>${version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <outputDirectory>target/classes</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
+                    <inplace>true</inplace>
+                    <logLevel>DEBUG</logLevel>
+                    <runTarget>app.html</runTarget>
+                    <warSourceDirectory>war</warSourceDirectory>
+                    <extraJvmArgs>-Xmx512m</extraJvmArgs>
+                    <localWorkers>4</localWorkers>
                 </configuration>
-              </execution>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>compile</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <warSourceDirectory>war</warSourceDirectory>
+                    <webappDirectory>war</webappDirectory>
+                    <warSourceExcludes>.gwt-tmp/**</warSourceExcludes>
+                    <webResources>
+                        <resource>
+                            <!-- this is relative to the pom.xml directory -->
+                            <directory>src/main/templates</directory>
+                            <filtering>true</filtering>
+                        </resource>
+                    </webResources>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-clean-plugin</artifactId>
+                <version>2.2</version>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
 
-            </executions>
-          </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.2</version>
+                <executions>
+                    <execution>
+                        <id>clean.war</id>
+                        <phase>clean</phase>
+                        <configuration>
+                            <tasks>
+                                <!--
+                                    The gwt-maven-plugin use the war source folder
+                                    as it's build directory. We need to cleanup after we'd run
+                                    the plugin and remove all GWT related artifacts that are required
+                                    to run the hosted mode.
+                                -->
+                                <delete dir="war/WEB-INF/classes"/>
+                                <delete dir="war/WEB-INF/lib"/>
+                                <delete dir="war/app"/>
+                                <delete dir="target"/>
 
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-war-plugin</artifactId>
-            <configuration>
-              <classifier>jbpm</classifier>
-            </configuration>
-          </plugin>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <phase>process-classes</phase>
+                        <configuration>
+                            <tasks>
+                                <!--
+                                https://jira.jboss.org/jira/browse/BPMC-5
+                                Tomcat caches console.config.js
+                                -->
+                                <touch file="${project.build.outputDirectory}/org/jboss/bpm/console/public/console.config.js"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
+    </build>
 
-      </build>
-    </profile>
+    <profiles>
 
-    <!--
-       =======================================================
-        Drools Profile
-       =======================================================
-    -->
-    <profile>
-      <id>drools-console.profile</id>
-      <activation>
-        <property>
-          <name>console.profile</name>
-          <value>drools</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>org.jboss.bpm</groupId>
-          <artifactId>gwt-console-profile-drools</artifactId>
-          <version>${version}</version>
-          <scope>provided</scope>
-        </dependency>
-      </dependencies>
-      <properties>
-        <console.app.webcontext>gwt-console</console.app.webcontext>
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
+        <profile>
+            <id>quick-hosted-mode</id>
+            <activation>
+                <property>
+                    <name>hosted</name>
+                </property>
+            </activation>
+            <properties>
+                <google.webtoolkit.compileSkip>true</google.webtoolkit.compileSkip>
+                <o>true</o> <!-- offline -->
+            </properties>
+        </profile>
 
-              <execution>
-                <id>unpack-profile-drools</id>
-                <phase>process-resources</phase>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.jboss.bpm</groupId>
-                      <artifactId>gwt-console-profile-drools</artifactId>
-                      <version>${version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <outputDirectory>target/classes</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                </configuration>
-              </execution>
+        <!--
+         =======================================================
+          jBPM Profile (default)
+         =======================================================
+        -->
+        <profile>
+            <id>jbpm-console.profile</id>
+            <activation>
+                <property>
+                    <name>!console.profile</name>
+                </property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.jboss.bpm</groupId>
+                    <artifactId>gwt-console-profile-jbpm</artifactId>
+                    <version>${version}</version>
+                    <scope>provided</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <console.app.webcontext>jbpm-console</console.app.webcontext>
+            </properties>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>unpack-profile-jbpm</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>
+                                        <artifactItem>
+                                            <groupId>org.jboss.bpm</groupId>
+                                            <artifactId>gwt-console-profile-jbpm</artifactId>
+                                            <version>${version}</version>
+                                            <type>jar</type>
+                                            <overWrite>true</overWrite>
+                                            <outputDirectory>war/app</outputDirectory>                                            
+                                        </artifactItem>
+                                    </artifactItems>
+                                </configuration>
+                            </execution>
 
-            </executions>
-          </plugin>
+                        </executions>
+                    </plugin>
 
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-war-plugin</artifactId>
-            <configuration>
-              <classifier>drools</classifier>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-war-plugin</artifactId>
+                        <configuration>
+                            <classifier>jbpm</classifier>
+                        </configuration>
+                    </plugin>
+                </plugins>
 
-    <!--
-      =======================================================
-       Riftsaw Profile
-      =======================================================
-     -->
-    <profile>
-      <id>riftsaw-console.profile</id>
-      <activation>
-        <property>
-          <name>console.profile</name>
-          <value>riftsaw</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>org.jboss.bpm</groupId>
-          <artifactId>gwt-console-profile-riftsaw</artifactId>
-          <version>${version}</version>
-          <scope>provided</scope>
-        </dependency>
-      </dependencies>
-      <properties>
-        <console.app.webcontext>bpel-console</console.app.webcontext>
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
+            </build>
+        </profile>
 
-              <execution>
-                <id>unpack-profile-riftsaw</id>
-                <phase>process-resources</phase>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.jboss.bpm</groupId>
-                      <artifactId>gwt-console-profile-riftsaw</artifactId>
-                      <version>${version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <outputDirectory>target/classes</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                </configuration>
-              </execution>
+        <!--
+           =======================================================
+            Drools Profile
+           =======================================================
+        -->
+        <profile>
+            <id>drools-console.profile</id>
+            <activation>
+                <property>
+                    <name>console.profile</name>
+                    <value>drools</value>
+                </property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.jboss.bpm</groupId>
+                    <artifactId>gwt-console-profile-drools</artifactId>
+                    <version>${version}</version>
+                    <scope>provided</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <console.app.webcontext>gwt-console</console.app.webcontext>
+            </properties>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
 
-            </executions>
-          </plugin>
+                            <execution>
+                                <id>unpack-profile-drools</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>
+                                        <artifactItem>
+                                            <groupId>org.jboss.bpm</groupId>
+                                            <artifactId>gwt-console-profile-drools</artifactId>
+                                            <version>${version}</version>
+                                            <type>jar</type>
+                                            <overWrite>true</overWrite>
+                                            <outputDirectory>target/classes</outputDirectory>
+                                        </artifactItem>
+                                    </artifactItems>
+                                </configuration>
+                            </execution>
 
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-war-plugin</artifactId>
-            <configuration>
-              <classifier>riftsaw</classifier>
-            </configuration>
-          </plugin>
+                        </executions>
+                    </plugin>
 
-        </plugins>
-      </build>
-    </profile>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-war-plugin</artifactId>
+                        <configuration>
+                            <classifier>drools</classifier>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
 
-    <!--
-     =======================================================
-      OS Switch used for GWT SDK selection
-     =======================================================
-    -->
+        <!--
+         =======================================================
+          Riftsaw Profile
+         =======================================================
+        -->
+        <profile>
+            <id>riftsaw-console.profile</id>
+            <activation>
+                <property>
+                    <name>console.profile</name>
+                    <value>riftsaw</value>
+                </property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.jboss.bpm</groupId>
+                    <artifactId>gwt-console-profile-riftsaw</artifactId>
+                    <version>${version}</version>
+                    <scope>provided</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <console.app.webcontext>bpel-console</console.app.webcontext>
+            </properties>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
 
-    <profile>
-      <id>gwt-dev-windows</id>
-      <properties>
-        <platform>windows</platform>
-      </properties>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-        <os>
-          <family>windows</family>
-        </os>
-      </activation>
-    </profile>
-    <profile>
-      <id>gwt-dev-mac</id>
-      <properties>
-        <platform>mac</platform>
-      </properties>
-      <activation>
-        <activeByDefault>false</activeByDefault>
-        <os>
-          <family>mac</family>
-        </os>
-      </activation>
-    </profile>
-    <profile>
-      <id>gwt-dev-linux</id>
-      <properties>
-        <platform>linux</platform>
-      </properties>
-      <activation>
-        <activeByDefault>false</activeByDefault>
-        <os>
-          <name>linux</name>
-        </os>
-      </activation>
-    </profile>
-  </profiles>
+                            <execution>
+                                <id>unpack-profile-riftsaw</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>
+                                        <artifactItem>
+                                            <groupId>org.jboss.bpm</groupId>
+                                            <artifactId>gwt-console-profile-riftsaw</artifactId>
+                                            <version>${version}</version>
+                                            <type>jar</type>
+                                            <overWrite>true</overWrite>
+                                            <outputDirectory>target/classes</outputDirectory>
+                                        </artifactItem>
+                                    </artifactItems>
+                                </configuration>
+                            </execution>
+
+                        </executions>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-war-plugin</artifactId>
+                        <configuration>
+                            <classifier>riftsaw</classifier>
+                        </configuration>
+                    </plugin>
+
+                </plugins>
+            </build>
+        </profile>
+
+        <!--
+         =======================================================
+          OS Switch used for GWT SDK selection
+         =======================================================
+        -->
+
+        <profile>
+            <id>gwt-dev-windows</id>
+            <properties>
+                <platform>windows</platform>
+            </properties>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+                <os>
+                    <family>windows</family>
+                </os>
+            </activation>
+        </profile>
+        <profile>
+            <id>gwt-dev-mac</id>
+            <properties>
+                <platform>mac</platform>
+            </properties>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+                <os>
+                    <family>mac</family>
+                </os>
+            </activation>
+        </profile>
+        <profile>
+            <id>gwt-dev-linux</id>
+            <properties>
+                <platform>linux</platform>
+            </properties>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+                <os>
+                    <name>linux</name>
+                </os>
+            </activation>
+        </profile>
+    </profiles>
 </project>

Added: bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/client/layout/MosaicPanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/client/layout/MosaicPanel.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/gwt/mosaic/ui/client/layout/MosaicPanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.gwt.mosaic.ui.client.layout;
+
+import com.google.gwt.user.client.Element;
+
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: hbraun
+ * Date: Jan 20, 2010
+ * Time: 10:39:22 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class MosaicPanel extends LayoutPanel
+{
+  public MosaicPanel()
+  {
+    super();    //To change body of overridden methods use File | Settings | File Templates.
+  }
+
+  protected MosaicPanel(Element elem)
+  {
+    super(elem);    //To change body of overridden methods use File | Settings | File Templates.
+  }
+
+  protected MosaicPanel(Element elem, LayoutManager layout)
+  {
+    super(elem, layout);    //To change body of overridden methods use File | Settings | File Templates.
+  }
+
+  public MosaicPanel(LayoutManager layout)
+  {
+    super(layout);    //To change body of overridden methods use File | Settings | File Templates.
+  }
+}

Copied: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/Application.gwt.xml (from rev 899, bpm-console/trunk/gui/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml)
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/Application.gwt.xml	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/Application.gwt.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,67 @@
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6//EN"
+        "http://google-web-toolkit.googlecode.com/svn/releases/1.6/distro-source/core/src/gwt-module.dtd">
+
+<module rename-to="app">
+
+  <!-- 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.i18n.I18N"/>
+  <inherits name="com.google.gwt.user.ImageBundle"/>
+  <inherits name="com.google.gwt.xml.XML" />
+
+  <!-- Add gwt-log support, default level `DEBUG` -->
+  <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
+
+  <!-- Inherit Mosaic Web Toolkit stuff.                          -->
+  <inherits name='org.gwt.mosaic.Mosaic' />  
+  <inherits name='org.gwt.mosaic.forms.Forms' />
+
+  <inherits name='org.jboss.bpm.report.BPMReport' />
+  
+  <!-- Includes the public resources used by the GWT Mosaic       -->
+  <!-- themes. Those files do not inject a style sheet into the   -->
+  <!-- application.                                               -->
+  <!--inherits name="org.gwt.mosaic.theme.standard.StandardResources" />
+  <inherits name="org.gwt.mosaic.theme.chrome.ChromeResources" />
+  <inherits name="org.gwt.mosaic.theme.dark.DarkResources" /-->
+  <inherits name="org.gwt.mosaic.theme.aegean.AegeanResources" />
+
+  <!-- Inherit the default GWT Mosaic style sheet. You can change -->
+  <!-- the theme of your GWT Mosaic application by uncommenting   -->
+  <!-- any one of the following lines.                            -->
+  <!-- <inherits name='org.gwt.mosaic.theme.standard.Standard' />  -->
+  <!-- <inherits name="org.gwt.mosaic.chrome.Chrome"/>            -->
+  <!-- <inherits name="org.gwt.mosaic.dark.Dark"/>                -->
+  <inherits name='org.gwt.mosaic.theme.aegean.Aegean' />
+
+  <!-- mvc4g -->
+  <inherits name='com.mvc4g.Mvc4gModule'/>
+  
+  <generate-with class="org.jboss.bpm.console.rebind.WorkspaceGenerator" >
+    <when-type-assignable class="org.jboss.bpm.console.client.WorkspaceLauncher"/>
+  </generate-with>
+
+  <!-- Add the `WARN` and `DEBUG` compile time log level -->
+  <!--extend-property name="log_level" values="DEBUG,WARN"/-->
+
+  <!-- Loggers Enabled by default -->
+  <set-property name="log_ConsoleLogger" value="ENABLED" />
+  <set-property name="log_DivLogger" value="DISABLED" />
+  <set-property name="log_FirebugLogger" value="DISABLED" />
+  <set-property name="log_GWTLogger" value="ENABLED" />
+  <set-property name="log_SystemLogger" value="ENABLED" />
+
+  <!-- Loggers Disabled by default -->
+  <set-property name="log_RemoteLogger" value="DISABLED" />
+  <set-property name="log_WindowLogger" value="DISABLED" />
+
+  <!-- Specify the app entry point class. -->
+  <entry-point class="org.jboss.bpm.console.client.Application" />
+
+  <servlet path="/xhp" class="jmaki.xhp.XmlHttpProxyServlet"/>
+
+  <!-- Specify a css to load into your gwt application -->
+  <stylesheet src='console.css' />
+
+</module>

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Application.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Application.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Application.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -45,11 +45,10 @@
       public void execute() {
 
         // hide spash image
-        DOM.getElementById("splash_loading").getStyle().setProperty("display", "none");
-        
         // move the loading div to background
-        DOM.getElementById("splash").getStyle().setProperty("z-index", "-1");
-        
+        //DOM.getElementById("splash_loading").getStyle().setProperty("display", "none");
+        //DOM.getElementById("splash").getStyle().setProperty("z-index", "-1");
+
         onModuleLoad2();
       }
     });

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Header.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Header.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/Header.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -28,7 +28,7 @@
 import com.mvc4g.client.ViewInterface;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.LayoutPopupPanel;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
 
@@ -37,7 +37,7 @@
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class Header extends LayoutPanel implements ViewInterface
+public class Header extends MosaicPanel implements ViewInterface
 {
   public final static String ID = Header.class.getName();
 
@@ -66,7 +66,7 @@
   {
 
     // ----------- logo panel
-    LayoutPanel logoPanel = new LayoutPanel(new BoxLayout());
+    MosaicPanel logoPanel = new MosaicPanel(new BoxLayout());
     logoPanel.setStyleName("bpm-header-left");
 
     Image logo = new Image(appContext.getConfig().getLogo());
@@ -79,7 +79,7 @@
     infoPanel.setSpacing(5);
     infoPanel.setStyleName("bpm-header-right");
 
-    LayoutPanel loadingImageContainer = new LayoutPanel();
+    MosaicPanel loadingImageContainer = new MosaicPanel();
     loadingImageContainer.setStyleName("bpm-loading-image");
 
     ConsoleIconBundle icons = GWT.create(ConsoleIconBundle.class);

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -27,13 +27,11 @@
 import com.google.gwt.user.client.ui.*;
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.ViewInterface;
-import org.gwt.mosaic.ui.client.WindowPanel;
-import org.gwt.mosaic.ui.client.InfoPanel;
 import org.gwt.mosaic.ui.client.MessageBox;
-import org.gwt.mosaic.ui.client.LayoutPopupPanel;
+import org.gwt.mosaic.ui.client.WindowPanel;
 import org.gwt.mosaic.ui.client.layout.*;
-import org.jboss.bpm.console.client.util.ConsoleLog;
 import org.jboss.bpm.console.client.common.HeaderLabel;
+import org.jboss.bpm.console.client.util.ConsoleLog;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
@@ -127,8 +125,8 @@
                         public void execute()
                         {
                           // move the loading div to foreground
-                          DOM.getElementById("splash").getStyle().setProperty("z-index", "1000");
-                          DOM.getElementById("ui_loading").getStyle().setProperty("visibility", "visible");
+                          //DOM.getElementById("splash").getStyle().setProperty("z-index", "1000");
+                          //DOM.getElementById("ui_loading").getStyle().setProperty("visibility", "visible");
 
                           // launch workspace
                           new MainLayout(controller, auth, config);
@@ -176,7 +174,7 @@
     window.setAnimationEnabled(true);
     window.setSize("320px", "180px");
 
-    LayoutPanel panel = new LayoutPanel();
+    MosaicPanel panel = new MosaicPanel();
 
     createLayoutContent(panel);
     window.setWidget(panel);
@@ -195,10 +193,10 @@
   /**
    * Create content for layout.
    */
-  private void createLayoutContent(LayoutPanel layoutPanel) {
+  private void createLayoutContent(MosaicPanel MosaicPanel) {
 
-    layoutPanel.setLayout(new BorderLayout());
-    layoutPanel.setPadding(5);
+    MosaicPanel.setLayout(new BorderLayout());
+    MosaicPanel.setPadding(5);
 
 
     Widget form = createForm();
@@ -217,12 +215,12 @@
     HTML html = new HTML("Version: " + Version.VERSION);
     html.setStyleName("bpm-login-info");
 
-    LayoutPanel southContainer = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel southContainer = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
     southContainer.add(submit, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
     southContainer.add(html);
 
-    layoutPanel.add(form, new BorderLayoutData(BorderLayout.Region.CENTER));
-    layoutPanel.add(southContainer, new BorderLayoutData(BorderLayout.Region.SOUTH));
+    MosaicPanel.add(form, new BorderLayoutData(BorderLayout.Region.CENTER));
+    MosaicPanel.add(southContainer, new BorderLayoutData(BorderLayout.Region.SOUTH));
 
   }
 
@@ -277,7 +275,7 @@
 
   private Widget createForm()
   {
-    LayoutPanel p = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel p = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
     HeaderLabel label = new HeaderLabel("Login", true);    
     p.add(label, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/MainLayout.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/MainLayout.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/MainLayout.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -32,7 +32,7 @@
 import org.gwt.mosaic.ui.client.layout.BorderLayout;
 import static org.gwt.mosaic.ui.client.layout.BorderLayout.Region;
 import org.gwt.mosaic.ui.client.layout.BorderLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.util.ButtonHelper;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
 import org.jboss.bpm.console.client.util.WindowUtil;
@@ -76,8 +76,8 @@
     // manually, otherwise it will appear on the login screen
     Log.addLogger(new DivLogger());
 
-    LayoutPanel layout = createLayout();
-    viewport.add(layout);
+    MosaicPanel layout = createLayout();
+    viewport.getLayoutPanel().add(layout);
 
     // bootstrap
     controller.handleEvent(
@@ -94,8 +94,8 @@
             {
               public void execute()
               {
-                DOM.getElementById("ui_loading").getStyle().setProperty("visibility", "hidden");
-                DOM.getElementById("splash").getStyle().setProperty("visibility", "hidden");
+                //DOM.getElementById("ui_loading").getStyle().setProperty("visibility", "hidden");
+                //DOM.getElementById("splash").getStyle().setProperty("visibility", "hidden");
               }
             });
 
@@ -107,33 +107,33 @@
 
   }
 
-  private LayoutPanel createLayout()
+  private MosaicPanel createLayout()
   {
-    final LayoutPanel layoutPanel = new LayoutPanel(new BorderLayout());
+    final MosaicPanel MosaicPanel = new MosaicPanel(new BorderLayout());
 
     // header
     header = new Header(this, auth.getUsername(), auth.getRolesAssigned());
-    layoutPanel.add(header, new BorderLayoutData(Region.NORTH, 50));
+    MosaicPanel.add(header, new BorderLayoutData(Region.NORTH, 50));
 
     // menu
     menu = new Menu();
-    layoutPanel.add(menu, new BorderLayoutData(Region.WEST, 180));
+    MosaicPanel.add(menu, new BorderLayoutData(Region.WEST, 180));
 
     // workspace
     workspace = createWorkspace();
-    layoutPanel.add(workspace, new BorderLayoutData(Region.CENTER, false));
+    MosaicPanel.add(workspace, new BorderLayoutData(Region.CENTER, false));
     registerGlobalViewsAndActions();
 
     // message Panel
-    final CaptionLayoutPanel messagePanel = createMessagePanel(layoutPanel);
+    final CaptionLayoutPanel messagePanel = createMessagePanel(MosaicPanel);
     messagePanel.add(Log.getDivLogger().getWidget());
     messagePanel.setCollapsed(true);
-    layoutPanel.add(messagePanel, new BorderLayoutData(Region.SOUTH, true));
+    MosaicPanel.add(messagePanel, new BorderLayoutData(Region.SOUTH, true));
 
     // Turn on DivLogger
     Log.getDivLogger().getWidget().setVisible(true);
 
-    return layoutPanel;
+    return MosaicPanel;
 
   }
 
@@ -153,7 +153,7 @@
 
   }
 
-  private CaptionLayoutPanel createMessagePanel(final LayoutPanel layoutPanel)
+  private CaptionLayoutPanel createMessagePanel(final MosaicPanel MosaicPanel)
   {
     final CaptionLayoutPanel messagePanel = new CaptionLayoutPanel("Messages", true);
 
@@ -170,7 +170,7 @@
           public void onClick(Widget sender)
           {
             messagePanel.setCollapsed(!messagePanel.isCollapsed());
-            layoutPanel.layout();
+            MosaicPanel.layout();
           }
         }
     );
@@ -213,9 +213,9 @@
       err.getHeader().add( icons.errorIcon().createImage() );
       err.setAnimationEnabled(true);
       err.setSize("320px", "240px");
-      ScrollLayoutPanel scrollLayoutPanel = new ScrollLayoutPanel();
-      scrollLayoutPanel.add(new HTML(message));
-      err.setWidget(scrollLayoutPanel);
+      ScrollLayoutPanel ScrollLayoutPanel = new ScrollLayoutPanel();
+      ScrollLayoutPanel.add(new HTML(message));
+      err.setWidget(ScrollLayoutPanel);
 
       WindowUtil.addMaximizeButton(err, Caption.CaptionRegion.RIGHT);
       WindowUtil.addMinimizeButton(err, Caption.CaptionRegion.RIGHT);
@@ -224,7 +224,7 @@
     }
     else
     {
-      InfoPanel.show("", message, "");
+      MessageBox.info("", message);
     }
   }
 
@@ -251,7 +251,8 @@
   {
     final int width = Window.getClientWidth();
     final int height = Window.getClientHeight();
-    getViewport().onWindowResized(width, height);
+    //getViewport().onWindowResized(width, height);
+    
   }
 }
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/PreferencesView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/PreferencesView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/PreferencesView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -28,7 +28,7 @@
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.ViewInterface;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.layout.FillLayoutData;
 import org.gwt.mosaic.ui.client.CaptionLayoutPanel;
 import org.jboss.bpm.console.client.common.HeaderLabel;
@@ -56,12 +56,12 @@
   {
     super("User Preferences");
     
-    LayoutPanel layout = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel layout = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
 
     this.appContext = Registry.get(ApplicationContext.class);
     //layout.add(new HeaderLabel("User Preferences"));
     
-    LayoutPanel defaultToolPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
+    MosaicPanel defaultToolPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
     
     defaultToolPanel.add(
         new HTML("<b>Default Tool</b><br>" +

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ServerStatusView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ServerStatusView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ServerStatusView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -25,14 +25,14 @@
 import com.google.gwt.user.client.ui.Image;
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.ViewInterface;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.model.PluginInfo;
 import org.jboss.bpm.console.client.model.ServerStatus;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class ServerStatusView extends LayoutPanel
+public class ServerStatusView extends MosaicPanel
     implements ViewInterface, LazyPanel
 {
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/SettingsEditor.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/SettingsEditor.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/SettingsEditor.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -23,11 +23,14 @@
 
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.user.client.ui.Grid;
-import com.mvc4g.client.Event;
-import org.gwt.mosaic.ui.client.*;
+import com.google.gwt.user.client.ui.HTML;
+import com.google.gwt.user.client.ui.Label;
+import org.gwt.mosaic.ui.client.CaptionLayoutPanel;
+import org.gwt.mosaic.ui.client.DeckLayoutPanel;
+import org.gwt.mosaic.ui.client.DecoratedTabLayoutPanel;
+import org.gwt.mosaic.ui.client.TabLayoutPanel;
 import org.gwt.mosaic.ui.client.layout.*;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
-import org.jboss.bpm.console.client.common.HeaderLabel;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
@@ -92,24 +95,24 @@
 
   private CaptionLayoutPanel createSystemPanel()
   {
-    final CaptionLayoutPanel captionPanel = new CaptionLayoutPanel("System Settings");    
+    final CaptionLayoutPanel captionPanel = new CaptionLayoutPanel("System Settings");
 
-    LayoutPanel layoutPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel MosaicPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
 
     // console info
     Label console = new Label("Console Info");    
-    layoutPanel.add(console, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+    MosaicPanel.add(console, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
     Grid g1 = new Grid(1,2);
     g1.setWidget(0,0, new HTML("Version:"));
     g1.setWidget(0,1, new HTML(Version.VERSION));
     g1.getColumnFormatter().setWidth(0, "20%");
 
-    layoutPanel.add(g1, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+    MosaicPanel.add(g1, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
     // server info
     Label server = new Label("Server Info");
-    layoutPanel.add(server, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+    MosaicPanel.add(server, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
     ServerStatusView serverStatus = new ServerStatusView(appContext);
     serverStatus.initialize();
@@ -120,21 +123,21 @@
 
     g2.getColumnFormatter().setWidth(0, "20%");
 
-    layoutPanel.add(g2, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+    MosaicPanel.add(g2, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
-    LayoutPanel pluginPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel pluginPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
     pluginPanel.setPadding(0);
     Label label = new Label("Plugins:");
 
     pluginPanel.add(label);
     pluginPanel.add(serverStatus);
 
-    layoutPanel.add(pluginPanel, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+    MosaicPanel.add(pluginPanel, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
     // view and actions
     super.controller.addView(ServerStatusView.ID, serverStatus);
 
-    captionPanel.add(layoutPanel);
+    captionPanel.add(MosaicPanel);
     return captionPanel;
   }
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/AbstractView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/AbstractView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/AbstractView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -24,13 +24,13 @@
 import com.google.gwt.user.client.ui.AbstractImagePrototype;
 import com.google.gwt.user.client.ui.HTML;
 import com.mvc4g.client.ViewInterface;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.LazyPanel;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public abstract class AbstractView extends LayoutPanel
+public abstract class AbstractView extends MosaicPanel
     implements ViewInterface, LazyPanel
 {
   private AbstractImagePrototype icon;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/HeaderLabel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/HeaderLabel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/HeaderLabel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -21,7 +21,7 @@
  */
 package org.jboss.bpm.console.client.common;
 
-import org.gwt.mosaic.ui.client.Label;
+import com.google.gwt.user.client.ui.Label;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IFrameWindowPanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IFrameWindowPanel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IFrameWindowPanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -29,7 +29,7 @@
 import com.google.gwt.user.client.ui.Frame;
 import org.gwt.mosaic.core.client.Dimension;
 import org.gwt.mosaic.ui.client.Caption;
-import org.gwt.mosaic.ui.client.Label;
+import com.google.gwt.user.client.ui.Label;
 import org.gwt.mosaic.ui.client.ScrollLayoutPanel;
 import org.gwt.mosaic.ui.client.WindowPanel;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
@@ -162,7 +162,7 @@
 
   private void destroyWindow()
   {
-    this.windowPanel.close();
+    this.windowPanel.hide();
   }
 
   public Frame getFrame()

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IconHeader.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IconHeader.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/IconHeader.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -21,16 +21,16 @@
  */
 package org.jboss.bpm.console.client.common;
 
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
-import org.gwt.mosaic.ui.client.Label;
+import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.AbstractImagePrototype;
 import com.google.gwt.user.client.ui.HTML;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class IconHeader extends LayoutPanel
+public class IconHeader extends MosaicPanel
 {
 
   public IconHeader(AbstractImagePrototype icon, String title)

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PagingPanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PagingPanel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PagingPanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -26,7 +26,7 @@
 import com.google.gwt.user.client.ui.Widget;
 import org.gwt.mosaic.ui.client.Caption;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -36,7 +36,7 @@
  * 
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class PagingPanel extends LayoutPanel
+public class PagingPanel extends MosaicPanel
 {
 
   private PagingCallback callback;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PropertyGrid.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PropertyGrid.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/PropertyGrid.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -23,7 +23,7 @@
 
 import com.google.gwt.user.client.ui.Grid;
 import com.google.gwt.user.client.ui.HTML;
-import org.gwt.mosaic.ui.client.Label;
+import com.google.gwt.user.client.ui.Label;
 import org.gwt.mosaic.ui.client.ScrollLayoutPanel;
 
 /**

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/WidgetWindowPanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/WidgetWindowPanel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/common/WidgetWindowPanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -83,6 +83,6 @@
 
   public void close()
   {
-    window.close();  
+    window.hide();  
   }
 }

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentDetailView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentDetailView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentDetailView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -30,7 +30,7 @@
 import org.gwt.mosaic.ui.client.*;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.common.PropertyGrid;
 import org.jboss.bpm.console.client.model.DeploymentRef;
 
@@ -60,7 +60,7 @@
     super.setStyleName("bpm-detail-panel");
 
     grid = new PropertyGrid(new String[] {"ID:", "Name:", "Processes:"});
-    LayoutPanel propLayout = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
+    MosaicPanel propLayout = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
     propLayout.add(grid, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
 
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -22,6 +22,8 @@
 package org.jboss.bpm.console.client.engine;
 
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
+import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.ui.ChangeListener;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.ui.Widget;
@@ -37,6 +39,9 @@
 import org.jboss.bpm.console.client.common.AbstractView;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
 import org.jboss.bpm.console.client.model.DeploymentRef;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.bpm.console.client.process.UpdateInstancesAction;
+import org.jboss.bpm.console.client.process.UpdateProcessDetailAction;
 import org.jboss.bpm.console.client.util.SimpleDateFormat;
 
 import java.util.Date;
@@ -54,7 +59,7 @@
 
   private boolean initialized;
 
-  private LayoutPanel deploymentList = null;
+  private MosaicPanel deploymentList = null;
 
   private ListBox<DeploymentRef> listBox;
 
@@ -113,21 +118,23 @@
       }
     });
 
-    listBox.addChangeListener(new ChangeListener()
-    {
-      public void onChange(Widget widget)
-      {
-        int index = listBox.getSelectedIndex();
-        if(index!=-1)
+    listBox.addRowSelectionHandler(
+        new RowSelectionHandler()
         {
-          DeploymentRef item = listBox.getItem(index);
+          public void onRowSelection(RowSelectionEvent rowSelectionEvent)
+          {
+            int index = listBox.getSelectedIndex();
+            if(index!=-1)
+            {
+              DeploymentRef item = listBox.getItem(index);
 
-          controller.handleEvent(
-              new Event(UpdateDeploymentDetailAction.ID, item)
-          );
+              controller.handleEvent(
+                  new Event(UpdateDeploymentDetailAction.ID, item)
+              );
+            }
+          }
         }
-      }
-    });
+    );
 
     return listBox;
   }
@@ -146,13 +153,13 @@
   {
     if(!initialized)
     {
-      deploymentList = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      deploymentList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       deploymentList.setPadding(0);
       deploymentList.setWidgetSpacing(0);
 
       // toolbar
 
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(0);
       toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
@@ -207,7 +214,7 @@
       toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
       // filter
-      LayoutPanel filterPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      MosaicPanel filterPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
       filterPanel.setStyleName("bpm-filter-panel");
       final com.google.gwt.user.client.ui.ListBox dropBox = new com.google.gwt.user.client.ui.ListBox(false);
       dropBox.setStyleName("bpm-operation-ui");
@@ -243,7 +250,7 @@
       this.deploymentList.add(listBox, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
 
       // layout
-      LayoutPanel layout = new LayoutPanel(new BorderLayout());
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
       layout.add(deploymentList, new BorderLayoutData(BorderLayout.Region.CENTER));
 
       // details
@@ -251,7 +258,7 @@
       detailView = new DeploymentDetailView();
       controller.addView(DeploymentDetailView.ID, detailView);
       layout.add(detailView, new BorderLayoutData(BorderLayout.Region.SOUTH,10,200));
-  
+
       this.add(layout);
 
       initialized = true;
@@ -311,9 +318,9 @@
     final DefaultListModel<DeploymentRef> model =
         (DefaultListModel<DeploymentRef>) listBox.getModel();
 
-    for(int i=0; i<model.size(); i++)
+    for(int i=0; i<model.getSize(); i++)
     {
-      DeploymentRef ref = model.get(i);
+      DeploymentRef ref = model.getElementAt(i);
       if(ref.getId().equals(deploymentId))
       {
         listBox.setSelectedIndex(i);

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -64,7 +64,7 @@
     {
 
       // create inner tab layout
-      tabPanel = new DecoratedTabLayoutPanel();      
+      tabPanel = new DecoratedTabLayoutPanel();
       tabPanel.setPadding(5);
 
       tabPanel.addTabListener(

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -22,6 +22,8 @@
 package org.jboss.bpm.console.client.engine;
 
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
+import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.ui.ChangeListener;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.ui.Widget;
@@ -38,6 +40,9 @@
 import org.jboss.bpm.console.client.common.AbstractView;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
 import org.jboss.bpm.console.client.model.JobRef;
+import org.jboss.bpm.console.client.model.TaskRef;
+import org.jboss.bpm.console.client.task.UpdateDetailsAction;
+import org.jboss.bpm.console.client.task.events.DetailViewEvent;
 import org.jboss.bpm.console.client.util.SimpleDateFormat;
 
 import java.util.Date;
@@ -55,7 +60,7 @@
 
   private Controller controller;
 
-  private LayoutPanel jobList = null;
+  private MosaicPanel jobList = null;
 
   private ListBox<JobRef> listBox;
 
@@ -113,22 +118,26 @@
       }
     });
 
-    listBox.addChangeListener(new ChangeListener()
-    {
-      public void onChange(Widget widget)
-      {
-        int index = listBox.getSelectedIndex();
-        if(index!=-1)
+    listBox.addRowSelectionHandler(
+        new RowSelectionHandler()
         {
-          JobRef item = listBox.getItem(index);
+          public void onRowSelection(RowSelectionEvent rowSelectionEvent)
+          {
+            int index = listBox.getSelectedIndex();
+            if(index!=-1)
+            {
+              JobRef item = listBox.getItem(index);
 
-          /*controller.handleEvent(
-              new Event(UpdateJobDetailAction.ID, item)
-          );*/
+              /*controller.handleEvent(
+                  new Event(UpdateJobDetailAction.ID, item)
+              );*/
+            }
+
+          }
         }
-      }
-    });
+    );
 
+
     return listBox;
   }
 
@@ -146,13 +155,13 @@
   {
     if(!initialized)
     {
-      jobList = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      jobList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       jobList.setPadding(0);
       jobList.setWidgetSpacing(0);
 
       // toolbar
 
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(0);
       toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
@@ -193,7 +202,7 @@
       toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
       // filter
-      LayoutPanel filterPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      MosaicPanel filterPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
       filterPanel.setStyleName("bpm-filter-panel");
       final com.google.gwt.user.client.ui.ListBox dropBox = new com.google.gwt.user.client.ui.ListBox(false);
       dropBox.setStyleName("bpm-operation-ui");
@@ -229,7 +238,7 @@
       this.jobList.add(listBox, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
 
       // layout
-      LayoutPanel layout = new LayoutPanel(new BorderLayout());
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
       layout.add(jobList, new BorderLayoutData(BorderLayout.Region.CENTER));
 
       // details
@@ -240,7 +249,7 @@
       */
 
       controller.addAction(UpdateJobsAction.ID, new UpdateJobsAction());
-      
+
       this.add(layout);
 
       this.initialized = true;
@@ -279,7 +288,7 @@
           else if(FILTER_MESSAGE==currentFilter
               && def.getType().equals("message"))
           {
-            model.add(def);                  
+            model.add(def);
           }
         }
       }
@@ -288,9 +297,9 @@
         listBox.setItemSelected(listBox.getSelectedIndex(), false);
 
       // clear details
-     /* controller.handleEvent(
-          new Event(UpdateJobDetailAction.ID, null)
-      ); */
+      /* controller.handleEvent(
+         new Event(UpdateJobDetailAction.ID, null)
+     ); */
     }
   }
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/ResourcePanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/ResourcePanel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/ResourcePanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -25,7 +25,7 @@
 import com.mvc4g.client.Controller;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.common.PropertyGrid;
 import org.jboss.bpm.console.client.model.DeploymentRef;
 
@@ -34,7 +34,7 @@
  * 
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class ResourcePanel extends LayoutPanel
+public class ResourcePanel extends MosaicPanel
 {
 
   private Controller controller;
@@ -45,7 +45,7 @@
 
   private boolean initialized;
 
-  private LayoutPanel resources = new LayoutPanel();
+  private MosaicPanel resources = new MosaicPanel();
 
   public ResourcePanel()
   {

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -22,6 +22,8 @@
 package org.jboss.bpm.console.client.process;
 
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
+import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.ui.ChangeListener;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.ui.PushButton;
@@ -50,7 +52,7 @@
 
   private Controller controller;
 
-  private LayoutPanel definitionList = null;
+  private MosaicPanel definitionList = null;
 
   private ListBox<ProcessDefinitionRef> listBox;
 
@@ -63,7 +65,7 @@
 
   private List<ProcessDefinitionRef> definitions = null;
   private PagingPanel pagingPanel;
-  
+
   public DefinitionListView()
   {
     super();
@@ -84,14 +86,14 @@
   {
     if(!isInitialized)
     {
-      
-      definitionList = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+
+      definitionList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       definitionList.setPadding(0);
       definitionList.setWidgetSpacing(0);
 
       // toolbar
 
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(0);
       toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
@@ -112,7 +114,7 @@
       toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
       // filter
-      LayoutPanel filterPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      MosaicPanel filterPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
       filterPanel.setStyleName("bpm-filter-panel");
       final com.google.gwt.user.client.ui.ListBox dropBox = new com.google.gwt.user.client.ui.ListBox(false);
       dropBox.setStyleName("bpm-operation-ui");
@@ -163,7 +165,7 @@
       definitionList.add(pagingPanel,new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 
       // layout
-      LayoutPanel layout = new LayoutPanel(new BorderLayout());
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
       layout.add(definitionList, new BorderLayoutData(BorderLayout.Region.CENTER));
 
       // details
@@ -185,14 +187,14 @@
             new String[] {
                 "Name", "Version", "Suspended"
             }
-        );    
-    
+        );
+
     listBox.setCellRenderer(new ListBox.CellRenderer<ProcessDefinitionRef>() {
       public void renderCell(ListBox<ProcessDefinitionRef> listBox, int row, int column,
                              ProcessDefinitionRef item) {
         switch (column) {
           case 0:
-            listBox.setText(row, column, item.getName());            
+            listBox.setText(row, column, item.getName());
             break;
           case 1:
             listBox.setText(row, column, String.valueOf(item.getVersion()));
@@ -206,31 +208,34 @@
       }
     });
 
-    listBox.addChangeListener(new ChangeListener()
-    {
-      public void onChange(Widget widget)
-      {
-        int index = listBox.getSelectedIndex();
-        if(index!=-1)
+
+    listBox.addRowSelectionHandler(
+        new RowSelectionHandler()
         {
-          ProcessDefinitionRef item = listBox.getItem(index);
+          public void onRowSelection(RowSelectionEvent rowSelectionEvent)
+          {
+            int index = listBox.getSelectedIndex();
+            if(index!=-1)
+            {
+              ProcessDefinitionRef item = listBox.getItem(index);
 
-          // update details
-          controller.handleEvent(
-              new Event(UpdateProcessDetailAction.ID, item)
-          );
+              // update details
+              controller.handleEvent(
+                  new Event(UpdateProcessDetailAction.ID, item)
+              );
 
-          // load instances
-          controller.handleEvent(
-              new Event(
-                  UpdateInstancesAction.ID,
-                  item
-              )
-          );
+              // load instances
+              controller.handleEvent(
+                  new Event(
+                      UpdateInstancesAction.ID,
+                      item
+                  )
+              );
+            }
+          }
         }
-      }
-    });
-  
+    );
+
     return listBox;
   }
 
@@ -273,7 +278,7 @@
 
       for(ProcessDefinitionRef def : (List<ProcessDefinitionRef>)pagingPanel.trim(tmp) )
         model.add(def);
-      
+
       if(listBox.getSelectedIndex()!=-1)
         listBox.setItemSelected(listBox.getSelectedIndex(), false);
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DeploymentPanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DeploymentPanel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DeploymentPanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -28,7 +28,7 @@
 import com.mvc4g.client.Event;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.common.PropertyGrid;
 import org.jboss.bpm.console.client.engine.ViewDeploymentAction;
 import org.jboss.bpm.console.client.util.ConsoleLog;
@@ -36,7 +36,7 @@
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class DeploymentPanel extends LayoutPanel
+public class DeploymentPanel extends MosaicPanel
 {
 
   private Controller controller;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDataView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDataView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDataView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -27,7 +27,7 @@
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.ViewInterface;
 import org.gwt.mosaic.ui.client.ListBox;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
 import org.jboss.bpm.console.client.LazyPanel;
 import org.jboss.bpm.console.client.util.ConsoleLog;
@@ -39,7 +39,7 @@
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class InstanceDataView extends LayoutPanel implements ViewInterface, LazyPanel
+public class InstanceDataView extends MosaicPanel implements ViewInterface, LazyPanel
 {
   public final static String ID = InstanceDataView.class.getName();
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -26,6 +26,7 @@
 import com.google.gwt.user.client.Window;
 import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.Widget;
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.Event;
@@ -33,7 +34,7 @@
 import org.gwt.mosaic.ui.client.*;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.core.client.Dimension;
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.ServerPlugins;
@@ -92,7 +93,7 @@
 
     this.add(grid, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
 
-    LayoutPanel buttonPanel = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL) );
+    MosaicPanel buttonPanel = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL) );
     diagramBtn = new Button("Diagram",
         new ClickListener()
         {
@@ -154,7 +155,7 @@
     diagramWindowPanel.setAnimationEnabled(true);
     diagramWindowPanel.setSize("320px", "240px");
 
-    LayoutPanel layout = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel layout = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
     layout.setStyleName("bpm-window-layout");
     layout.setPadding(5);
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -22,6 +22,8 @@
 package org.jboss.bpm.console.client.process;
 
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
+import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.ui.*;
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.Event;
@@ -50,7 +52,7 @@
 
   private Controller controller;
 
-  private LayoutPanel instanceList = null;
+  private MosaicPanel instanceList = null;
 
   private ListBox<ProcessInstanceRef> listBox;
 
@@ -69,7 +71,7 @@
   private boolean isRiftsawInstance;
 
   private PagingPanel pagingPanel;
-  
+
   public InstanceListView(ApplicationContext appContext)
   {
     super();
@@ -92,10 +94,10 @@
   {
     if(!isInitialized)
     {
-      instanceList = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      instanceList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       instanceList.setPadding(0);
       instanceList.setWidgetSpacing(0);
-      
+
       listBox =
           new ListBox<ProcessInstanceRef>(
               new String[] {
@@ -122,27 +124,29 @@
         }
       });
 
-      listBox.addChangeListener(new ChangeListener()
-      {
-        public void onChange(Widget widget)
-        {
-          int index = listBox.getSelectedIndex();
-          if(index!=-1)
+      listBox.addRowSelectionHandler(
+          new RowSelectionHandler()
           {
-            ProcessInstanceRef item = listBox.getItem(index);
+            public void onRowSelection(RowSelectionEvent rowSelectionEvent)
+            {
+              int index = listBox.getSelectedIndex();
+              if(index!=-1)
+              {
+                ProcessInstanceRef item = listBox.getItem(index);
 
-            // update details
-            controller.handleEvent(
-                new Event(UpdateInstanceDetailAction.ID,
-                    new InstanceEvent(currentDefinition, item)
-                )
-            );
+                // update details
+                controller.handleEvent(
+                    new Event(UpdateInstanceDetailAction.ID,
+                        new InstanceEvent(currentDefinition, item)
+                    )
+                );
+              }
+            }
           }
-        }
-      });
+      );
 
       // toolbar
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(5);
 
@@ -216,8 +220,8 @@
           }
           )
           {{
-            setVisible(!isRiftsawInstance);
-          }}
+              setVisible(!isRiftsawInstance);
+            }}
       );
 
 
@@ -300,8 +304,8 @@
           }
           )
           {{
-            setVisible(!isRiftsawInstance);
-          }}
+              setVisible(!isRiftsawInstance);
+            }}
       );
 
       toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
@@ -330,7 +334,7 @@
         bindData(this.cachedInstances);
 
       // layout
-      LayoutPanel layout = new LayoutPanel(new BorderLayout());
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
       layout.add(instanceList, new BorderLayoutData(BorderLayout.Region.CENTER));
 
       // details
@@ -369,7 +373,7 @@
   {
     this.currentDefinition = def;
     this.cachedInstances = instances;
-    
+
     if(isInitialized()) pagingPanel.reset();
     renderUpdate();
   }

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportEditor.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportEditor.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportEditor.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -28,6 +28,7 @@
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.ViewInterface;
 import com.mvc4g.client.Event;
+import org.gwt.mosaic.ui.client.Caption;
 import org.gwt.mosaic.ui.client.DecoratedTabLayoutPanel;
 import org.gwt.mosaic.ui.client.ImageButton;
 import org.gwt.mosaic.ui.client.WindowPanel;
@@ -181,8 +182,7 @@
     final HorizontalPanel hPanel = new HorizontalPanel();
     final HTML label = new HTML(string);
     DOM.setStyleAttribute(label.getElement(), "whiteSpace", "nowrap");
-    ImageButton closeBtn = new ImageButton(
-        WindowPanel.CAPTION_IMAGES.windowClose());
+    ImageButton closeBtn = new ImageButton(Caption.IMAGES.windowClose());
     closeBtn.addClickListener(new ClickListener() {
       public void onClick(Widget sender) {
         int widgetIndex = tabPanel.getWidgetIndex(widget);

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportFrame.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportFrame.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportFrame.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -21,7 +21,7 @@
  */
 package org.jboss.bpm.console.client.report;
 
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.LazyPanel;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.ui.Frame;
@@ -33,7 +33,7 @@
  *  
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class ReportFrame extends LayoutPanel implements LazyPanel
+public class ReportFrame extends MosaicPanel implements LazyPanel
 {
 
   private Frame frame;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportLaunchPadView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportLaunchPadView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportLaunchPadView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -31,7 +31,7 @@
 import com.mvc4g.client.ViewInterface;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.Registry;
 import org.jboss.bpm.console.client.URLBuilder;
@@ -53,7 +53,7 @@
  * 
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-class ReportLaunchPadView extends LayoutPanel implements ViewInterface
+class ReportLaunchPadView extends MosaicPanel implements ViewInterface
 {
   public final static String ID = ReportLaunchPadView.class.getName();
 
@@ -80,12 +80,12 @@
       final boolean hasParameters = reportRef.getParameterMetaData().size()>0;
 
       //p.add(new HeaderLabel(group.name));
-      LayoutPanel inner = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      MosaicPanel inner = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
 
       // a single report description
-      LayoutPanel row = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
+      MosaicPanel row = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
 
-      LayoutPanel desc = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      MosaicPanel desc = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
       desc.setPadding(0);
       IconHeader header = new IconHeader(icons.reportInstanceIcon(), reportRef.getTitle());
       header.setWidth("95%");

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportParameterForm.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportParameterForm.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportParameterForm.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -24,7 +24,7 @@
 import com.google.gwt.user.client.ui.*;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.common.HeaderLabel;
 import org.jboss.bpm.report.model.ReportParameter;
 import org.jboss.bpm.report.model.ReportReference;
@@ -39,7 +39,7 @@
  * 
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-public class ReportParameterForm extends LayoutPanel
+public class ReportParameterForm extends MosaicPanel
 {
   private ReportReference reportReference;
   private ReportParamCallback callback;
@@ -56,7 +56,7 @@
 
   private Widget createForm(final ReportReference reportRef)
   {
-    LayoutPanel p = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    MosaicPanel p = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
     HeaderLabel label = new HeaderLabel(reportRef.getTitle(), true);
     p.add(label, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -24,8 +24,8 @@
 import com.google.gwt.core.client.GWT;
 import com.mvc4g.client.Controller;
 import org.gwt.mosaic.ui.client.DeckLayoutPanel;
-import org.gwt.mosaic.ui.client.Label;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import com.google.gwt.user.client.ui.Label;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.common.AbstractView;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
 import org.jboss.bpm.console.client.search.UpdateSearchDefinitionsAction;
@@ -67,7 +67,7 @@
       deck = new DeckLayoutPanel();
 
       // loading
-      LayoutPanel loadingPanel = new LayoutPanel();
+      MosaicPanel loadingPanel = new MosaicPanel();
       loadingPanel.add(new Label("Loading..."));
       loadingPanel.setVisible(false);
       deck.add(loadingPanel);

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/sam/SAMEditor.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/sam/SAMEditor.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/sam/SAMEditor.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -21,8 +21,8 @@
  */
 package org.jboss.bpm.console.client.sam;
 
-import org.gwt.mosaic.ui.client.Label;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import com.google.gwt.user.client.ui.Label;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.Editor;
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.MenuSection;
@@ -45,7 +45,7 @@
   {
     if(!initialized)
     {
-      LayoutPanel layout = new LayoutPanel();
+      MosaicPanel layout = new MosaicPanel();
       layout.add(new Label("Hello form SAM"));
 
       this.add(layout);

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/search/SearchDefinitionView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/search/SearchDefinitionView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/search/SearchDefinitionView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -24,10 +24,10 @@
 import com.google.gwt.user.client.ui.*;
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.ViewInterface;
-import org.gwt.mosaic.ui.client.Label;
+import com.google.gwt.user.client.ui.Label;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
 
@@ -37,7 +37,7 @@
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
 public class SearchDefinitionView
-    extends LayoutPanel implements ViewInterface
+    extends MosaicPanel implements ViewInterface
 {
 
   private Controller controller;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AbstractTaskList.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AbstractTaskList.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AbstractTaskList.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -23,7 +23,7 @@
 
 import com.mvc4g.client.Controller;
 import org.gwt.mosaic.ui.client.ListBox;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.common.AbstractView;
 import org.jboss.bpm.console.client.model.TaskRef;
 
@@ -37,7 +37,7 @@
 public abstract class AbstractTaskList extends AbstractView
 {  
   protected Controller controller;
-  protected LayoutPanel taskList = null;
+  protected MosaicPanel taskList = null;
   protected ListBox<TaskRef> listBox;
   protected boolean isInitialized;
   protected String identity;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AssignedTasksView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AssignedTasksView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AssignedTasksView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -22,6 +22,8 @@
 package org.jboss.bpm.console.client.task;
 
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
+import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.ui.ChangeListener;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.ui.PushButton;
@@ -39,7 +41,10 @@
 import org.jboss.bpm.console.client.common.PagingPanel;
 import org.jboss.bpm.console.client.common.PagingCallback;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
+import org.jboss.bpm.console.client.model.ProcessInstanceRef;
 import org.jboss.bpm.console.client.model.TaskRef;
+import org.jboss.bpm.console.client.process.UpdateInstanceDetailAction;
+import org.jboss.bpm.console.client.process.events.InstanceEvent;
 import org.jboss.bpm.console.client.task.events.DetailViewEvent;
 import org.jboss.bpm.console.client.task.events.TaskIdentityEvent;
 import org.jboss.bpm.console.client.util.SimpleDateFormat;
@@ -57,7 +62,7 @@
   private final ApplicationContext appContext;
 
   private IFrameWindowPanel iframeWindow = null;
-  
+
   private TaskDetailView detailsView;
 
   private SimpleDateFormat dateFormat = new SimpleDateFormat();
@@ -81,7 +86,7 @@
   {
     if(!isInitialized)
     {
-      taskList = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      taskList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       taskList.setPadding(0);
       taskList.setWidgetSpacing(0);
 
@@ -116,10 +121,10 @@
         }
       });
 
-      listBox.addChangeListener(
-          new ChangeListener() {
-
-            public void onChange(Widget widget)
+      listBox.addRowSelectionHandler(
+          new RowSelectionHandler()
+          {
+            public void onRowSelection(RowSelectionEvent rowSelectionEvent)
             {
               TaskRef task = getSelection(); // first call always null?
               if(task!=null)
@@ -127,13 +132,14 @@
                 controller.handleEvent(
                     new Event(UpdateDetailsAction.ID, new DetailViewEvent("AssignedDetailView", task))
                 );
-              }              
+              }
+
             }
           }
       );
 
       // toolbar
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(5);
       //toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.VERTICAL));
@@ -242,8 +248,8 @@
       );
 
       this.taskList.add(pagingPanel, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
-      
-      LayoutPanel layout = new LayoutPanel(new BorderLayout());
+
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
       layout.add(taskList, new BorderLayoutData(BorderLayout.Region.CENTER));
       layout.add(detailsView, new BorderLayoutData(BorderLayout.Region.SOUTH, 10 , 200));
 
@@ -253,11 +259,11 @@
       this.hasDispatcherPlugin =
           ServerPlugins.has("org.jboss.bpm.console.server.plugin.FormDispatcherPlugin");
       viewBtn.setEnabled(hasDispatcherPlugin);
-      
+
       isInitialized = true;
     }
   }
-  
+
   public void update(String identity, List<TaskRef> tasks)
   {
     this.identity = identity;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/OpenTasksView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/OpenTasksView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/OpenTasksView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -22,6 +22,8 @@
 package org.jboss.bpm.console.client.task;
 
 import com.google.gwt.core.client.GWT;
+import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
+import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.ui.ChangeListener;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.ui.PushButton;
@@ -58,12 +60,12 @@
   private SimpleDateFormat dateFormat = new SimpleDateFormat();
 
   private PagingPanel pagingPanel;
-  
+
   public OpenTasksView(ApplicationContext appContext, TaskDetailView detailView)
   {
     super();
     this.appContext = appContext;
-    
+
     ConsoleIconBundle icons = GWT.create(ConsoleIconBundle.class);
     setTitle("Group Tasks");
     setIcon(icons.taskIcon());
@@ -75,7 +77,7 @@
   {
     if(!isInitialized)
     {
-      taskList = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      taskList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       taskList.setPadding(0);
       taskList.setWidgetSpacing(0);
 
@@ -113,10 +115,10 @@
       });
 
 
-      listBox.addChangeListener(
-          new ChangeListener() {
-
-            public void onChange(Widget widget)
+      listBox.addRowSelectionHandler(
+          new RowSelectionHandler()
+          {
+            public void onRowSelection(RowSelectionEvent rowSelectionEvent)
             {
               TaskRef task = getSelection(); // first call always null?
               if(task!=null)
@@ -124,13 +126,13 @@
                 controller.handleEvent(
                     new Event(UpdateDetailsAction.ID, new DetailViewEvent("OpenDetailView", task))
                 );
-              }             
+              }
             }
           }
       );
 
       // toolbar
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(5);
 
@@ -145,7 +147,7 @@
             }
           }
           )
-      );   
+      );
 
       toolBar.add(
           new PushButton("Claim", new ClickListener() {
@@ -192,9 +194,9 @@
       );
 
       this.taskList.add(pagingPanel, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
-      
+
       // main layout
-      LayoutPanel layout = new LayoutPanel(new BorderLayout());
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
       layout.add(taskList, new BorderLayoutData(BorderLayout.Region.CENTER));
       layout.add(detailsView, new BorderLayoutData(BorderLayout.Region.SOUTH, 10,200));
 
@@ -212,7 +214,7 @@
   }
 
   private void renderUpdate()
-  {    
+  {
     // lazy init
     initialize();
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/ParticipantPanel.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/ParticipantPanel.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/ParticipantPanel.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -29,7 +29,7 @@
 import org.gwt.mosaic.ui.client.ScrollLayoutPanel;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.model.ParticipantRef;
 import org.jboss.bpm.console.client.model.TaskRef;
 import org.jboss.bpm.console.client.task.events.AssignEvent;
@@ -37,7 +37,7 @@
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-class ParticipantPanel extends LayoutPanel implements ViewInterface
+class ParticipantPanel extends MosaicPanel implements ViewInterface
 {
 
   public final static String ID = ParticipantPanel.class.getName();

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskDetailView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskDetailView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskDetailView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -29,7 +29,7 @@
 import org.gwt.mosaic.ui.client.CaptionLayoutPanel;
 import org.gwt.mosaic.ui.client.DeckLayoutPanel;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.LazyPanel;
 import org.jboss.bpm.console.client.common.PropertyGrid;
 import org.jboss.bpm.console.client.model.TaskRef;
@@ -110,7 +110,7 @@
       }
       else
       {
-        LayoutPanel p = new LayoutPanel();
+        MosaicPanel p = new MosaicPanel();
         p.add(grid);
         this.add(p);
       }

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskEditorNavigation.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskEditorNavigation.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/TaskEditorNavigation.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -28,9 +28,9 @@
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.Workspace;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
-import org.gwt.mosaic.ui.client.Label;
+import com.google.gwt.user.client.ui.Label;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
@@ -72,7 +72,7 @@
   /*public void add(String string)
   {
     ConsoleIconBundle icons = GWT.create(ConsoleIconBundle.class);
-    LayoutPanel p = new LayoutPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
+    MosaicPanel p = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
     p.add(icons.arrowIcon().createImage());
     p.add(new Label(string));
     super.add(p);

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/util/WindowUtil.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/util/WindowUtil.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/util/WindowUtil.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -51,7 +51,9 @@
       }
     });
     windowPanel.addWindowStateListener(new WindowPanel.WindowStateListener() {
-      public void onWindowStateChange(WindowPanel sender) {
+
+      public void onWindowStateChange(WindowPanel sender, WindowPanel.WindowState windowState, WindowPanel.WindowState windowState1)
+      {
         if (sender.getWindowState() == WindowPanel.WindowState.MAXIMIZED) {
           maximizeBtn.setImage(Caption.IMAGES.windowRestore().createImage());
         } else {

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java	2010-01-20 10:48:09 UTC (rev 919)
@@ -31,7 +31,7 @@
 import org.gwt.mosaic.ui.client.ToolBar;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
-import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.common.AbstractView;
 import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
@@ -48,7 +48,7 @@
   private Controller controller;
   private boolean isInitialized;
   private ApplicationContext appContext;
-  private LayoutPanel layout;
+  private MosaicPanel layout;
   private Frame frame;
 
   private String remoteUrl;
@@ -77,7 +77,7 @@
     {
 
       // layout
-      layout = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      layout = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
       layout.setPadding(0);
       layout.setWidgetSpacing(0);
 
@@ -86,7 +86,7 @@
       DOM.setStyleAttribute(frame.getElement(), "border", "none");
 
       // toolbar
-      final LayoutPanel toolBox = new LayoutPanel();
+      final MosaicPanel toolBox = new MosaicPanel();
       toolBox.setPadding(0);
       toolBox.setWidgetSpacing(5);
       //toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.VERTICAL));

Copied: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/workspace-default.cfg (from rev 899, bpm-console/trunk/gui/war/src/main/resources/org/jboss/bpm/console/workspace-default.cfg)
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/workspace-default.cfg	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/workspace-default.cfg	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,5 @@
+org.jboss.bpm.console.client.SettingsEditor
+org.jboss.bpm.console.client.process.ProcessEditor
+org.jboss.bpm.console.client.task.TaskEditor
+org.jboss.bpm.console.client.report.ReportEditor
+#org.jboss.bpm.console.client.engine.EngineEditor
\ No newline at end of file

Added: bpm-console/trunk/gui/war/war/WEB-INF/web.xml
===================================================================
--- bpm-console/trunk/gui/war/war/WEB-INF/web.xml	                        (rev 0)
+++ bpm-console/trunk/gui/war/war/WEB-INF/web.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,18 @@
+<!DOCTYPE web-app PUBLIC
+        "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+        "http://java.sun.com/dtd/web-app_2_3.dtd" >
+
+<web-app>
+    <display-name>Archetype Created Web Application</display-name>
+
+    <servlet>
+        <servlet-name>jmaki.xhp.XmlHttpProxyServlet/org.jboss.bpm.console.Application/xhp</servlet-name>
+        <servlet-class>jmaki.xhp.XmlHttpProxyServlet</servlet-class>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>jmaki.xhp.XmlHttpProxyServlet/org.jboss.bpm.console.Application/xhp</servlet-name>
+        <url-pattern>/org.jboss.bpm.console.Application/xhp</url-pattern>
+    </servlet-mapping>
+
+</web-app>
\ No newline at end of file

Added: bpm-console/trunk/gui/war/war/app.html
===================================================================
--- bpm-console/trunk/gui/war/war/app.html	                        (rev 0)
+++ bpm-console/trunk/gui/war/war/app.html	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,63 @@
+<html>
+<head>
+  <title>BPM Console</title>
+
+  <!-- BPM console configuration -->
+  <script src="app/console.config.js" type="text/javascript"></script>
+
+  <!--                                           -->
+  <!-- This script loads your compiled module.   -->
+  <!-- If you add any GWT meta tags, they must   -->
+  <!-- be added before this line.                -->
+  <!--                                           -->
+  <script type="text/javascript" language="javascript" src="app/app.nocache.js"></script>
+
+  <link rel="stylesheet" href="console.css" type="text/css">
+
+  <style type="text/css">
+    html, body { height: 100%; overflow: hidden; margin: 0; padding: 0; }
+    #splash {
+      background:#ffffff;
+      cursor: wait;
+      position:
+      absolute; top: 0; left: 0;
+      z-index:1000;
+    }
+    .bpm-loader {      
+      background-image: url('images/loading_lite.gif');
+      background-repeat:no-repeat;
+      height: 24px; width: 130px;
+      padding-left:26px;
+      padding-top:8px;
+      font-family: Arial, sans-serif;
+      font-size: 10px;
+      font-weight: bold;
+      color: #777;
+      cursor: wait;
+    }
+  </style>
+</head>
+
+<!--                                           -->
+<!-- The body can have arbitrary html, or      -->
+<!-- you can leave the body empty if you want  -->
+<!-- to create a completely dynamic ui         -->
+<!--                                           -->
+<body>
+
+<!-- OPTIONAL: include this if you want history support -->
+<!--iframe src="javascript:''" id="__gwt_historyFrame" style="width: 0; height: 0; border: 0"></iframe-->
+
+<!--div id="splash" style="height:100%;width:100%;">
+  <table width="100%" height="100%" >
+    <tr>
+      <td width="100%" height="100%" align="center" valign="middle">
+        <div id="ui_loading" class="bpm-loader" style="visibility:hidden;z-index:1001;" alttext="Error">Creating Workspace  ...</div>
+        <div id="splash_loading" class="bpm-loader" alttext="Error">Loading ...</div>
+      </td>
+    </tr>
+  </table>
+</div-->
+
+</body>
+</html>

Added: bpm-console/trunk/gui/war/war/console.css
===================================================================
--- bpm-console/trunk/gui/war/war/console.css	                        (rev 0)
+++ bpm-console/trunk/gui/war/war/console.css	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,358 @@
+
+.bpm-layout {
+  border: 1px solid green;
+  margin: 10px;
+}
+
+.bpm-header{
+  background-color:#ffffff;  
+}
+
+.bpm-lazy-header {
+  height:35px;
+  margin-bottom:5px;
+  border:1px solid black;
+}
+
+.bpm-header-left {
+  background-color:#ffffff;
+  vertical-align:bottom;
+  margin-left:15px;
+}
+
+.bpm-header-right {
+  background-color:#ffffff;
+  vertical-align:bottom;
+  margin-right:15px;
+}
+
+.bpm-label-header {
+  background-color:#F8F8F8;
+  font-weight:BOLD;
+  font-size:14px;
+  color:#989898; 
+  padding-bottom:2px;
+  padding-left:5px;
+  margin-bottom:5px;
+}
+
+.bpm-label-header-invert {
+  background-color:#F8F8F8;
+  font-weight:bold;
+  font-size:14px;
+  padding-bottom:2px;
+  padding-left:5px;  
+  margin-bottom:10px;
+}
+
+.bpm-headline {
+  font-weight:BOLD;
+  font-size:14px;
+  padding:10px;
+}
+
+.bpm-header-userinfo {
+  font-family: sans-serif;
+  width:150px;
+}
+
+.bpm-header-versioninfo {
+  font-family: sans-serif;
+  color: #C8C8C8;
+}
+
+.bpm-login-info {
+  font-family: sans-serif;
+  color: #000000;
+  font-size:9px;
+  width:95%;
+  margin-top:5px;  
+  text-align:right;
+}
+
+.bpm-user-info-popup {
+  font-family: sans-serif;
+  color: #000000;
+  font-size:9px;
+  margin:5px;  
+}
+
+.bpm-property-image {
+  padding-top:10px;  
+}
+
+.bpm-filter-panel {
+  padding-top:5px;
+  padding-right:2px;
+  background-color:#dfe8f6;
+  border-bottom: 1px solid #bbbbbb;
+}
+
+.bpm-editor-info {
+  font-family: sans-serif;
+  font-size:18px;  
+}
+
+.bpm-editor-header {
+  font-family: sans-serif;
+  background-color: #E0E0E0;  
+}
+
+.bpm-menu {
+  height: 50px;
+  width: 100%;
+  border: 1px solid;
+}
+
+.bpm-workspace {
+  width: 100%;
+  height:100%;
+}
+
+.bpm-label {
+  font-family: sans-serif;
+  font-size: small;
+}
+
+.bpm-ListHeaderRow {
+  font-weight: bold;
+}
+
+.bpm-EvenRow {
+  background-color: #f0f4f8;
+}
+
+.bpm-FieldValue {
+
+}
+
+.bpm-EditorHeader {
+
+}
+
+.bpm-loading-color {
+  background-color:#FF6600;
+}
+
+.bpm-loading-image {
+  background-color:#ffffff;    
+  width:43px;
+  height:11px;
+}
+
+.bpm-ProcessImage {
+  border: 0px;
+}
+
+.bpm-SplitPanel {
+  border: 1px dashed green;
+  vertical-align: top;
+  position:relative; top:5px; left:5px;
+}
+
+.piechart-types {
+  font-size: small;
+  list-style-type:decimal;
+  font-family: sans-serif;
+}
+
+.bpm-help-panel {
+  background-color:#F0F0F0;
+  font-family: sans-serif;
+  font-size: small;
+}
+
+.bpm-help-icon {
+  background-image: url( images/icons/14.png)
+}
+
+.bpm-report-icon {
+  background-image: url( images/icons/31.png)
+}
+
+.bpm-process-icon {
+  background-image: url( images/icons/41.png)
+}
+
+.bpm-task-icon {
+  background-image: url( images/icons/29.png)
+}
+
+.bpm-instance-icon {
+  background-image: url( images/icons/05_1.png)
+}
+
+.bpm-settings-icon {
+
+}
+
+.bpm-operation-ui {
+  font-size: 10px;
+}
+
+.bpm-tools-icon {
+  background-image: url( images/icons/36.png)
+}
+
+.bpm-switch-context-icon {
+  background-image: url( images/icons/13.png)
+}
+
+.bpm-comment-icon {
+  background-image: url( images/icons/27.png)
+}
+
+.bpm-enalrge-icon {
+  background-image: url( images/icons/49.png)
+}
+
+.login-panel-content {
+  text-align: center;
+}
+
+.bpm-examine-icon {
+  background-image: url( images/icons/examine.png)
+}
+
+.bpm-add-icon {
+  background-image: url( images/icons/add.png)
+}
+
+.bpm-lock-icon-small {
+  background-image: url( images/icons/lock_small.png)
+}
+
+.bpm-remove-icon {
+  background-image: url( images/icons/remove.png)
+}
+
+.bpm-play-icon {
+  background-image: url( images/icons/play.png)
+}
+
+.bpm-stop-icon {
+  background-image: url( images/icons/stop.png)
+}
+
+.bpm-pause-icon {
+  background-image: url( images/icons/pause.png)
+}
+
+div.activeNode {
+  position:absolute;
+  border-width:1px;
+  border-style:solid;
+  border-color:#339933;
+}
+
+div.activeNode-header {
+  position:absolute;
+  overflow:hidden;
+}
+
+div.activeNode-header-link  {
+  cursor:default;
+  font-family:sans-serif;
+  font-size:10px;
+  white-space:nowrap;
+  color:#ffffff;
+  padding-left:3px;
+  padding-right:3px;
+  border-width:1px;
+  border-style:solid;
+  border-color:#339933;
+  background-color:#339933;
+}
+
+div.activeNode-header-link a {
+  color:#ffffff;
+  text-decoration:none;
+}
+
+div.activeNode-header-link a:hover {
+  text-decoration:underline;
+}
+
+/* start - override gwt-log styles */
+.log-panel {
+  background-color: #ECF2FC;
+  border: 0px solid black;
+  margin: 0px;
+  padding:10px;
+}
+
+.log-panel .log-scroll-panel {
+  width: 100% !important;
+  height: 80px !important;
+}
+
+.log-panel .log-text-area,.log-panel BUTTON {
+  font-size: 8pt;
+  margin: 0em;
+}
+
+.log-resize-se {
+  visibility:hidden;
+}
+
+/* end - override gwt-log styles */
+
+/* start - custom widgets */
+.bpm-detail-panel {
+  border:1px solid #E8E8E8;  
+}
+
+.bpm-property-box
+{
+  padding:5px;
+  width:100%;
+  border:1px solid #cccccc;
+  background: #F8F8F8;
+}
+
+.bpm-prop-grid {
+  width:100%;  
+  border:1px solid #cccccc;
+}
+
+.bpm-prop-grid-even {
+  background: #F8F8F8;  
+}
+
+.bpm-prop-grid-odd {
+  background:#F0F0F0;
+}
+
+.bpm-prop-grid-label {
+    
+}
+
+/* end - custom widgets */
+
+.gwt-SuggestBoxPopup { z-index:100000; border: 1px solid #ffffff;}
+.gwt-SuggestBoxPopup .item { padding: 2px;}
+.gwt-SuggestBoxPopup .item-selected { background-color: #C3D9FF; padding: 1px;}
+
+.bpm-graphView-activityImage {
+  background-image: url(images/icons/play_red_big.png);
+  background-repeat:no-repeat;
+  width:16px;
+  height:16px;
+}
+
+.bpm-window-layout {  
+  margin: 1px;
+}
+
+.bpm-paging-panel {
+  padding:2px;
+  font-size:8px;
+  background-color:#dfe8f6;
+  border-bottom: 1px solid #bbbbbb;  
+}
+
+/* mosaic overrides */
+
+.mosaic-Label {
+  font-weight:bold;
+}
\ No newline at end of file

Added: bpm-console/trunk/gui/war/war/images/Jbpm_logo.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/Jbpm_logo.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/Jbpm_logo_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/Jbpm_logo_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/ajax-loader.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/ajax-loader.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/bg_gradient.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/bg_gradient.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/bg_headergradient.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/bg_headergradient.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/bg_listgradient.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/bg_listgradient.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/bg_suggestgradient.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/bg_suggestgradient.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/blank_loading.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/blank_loading.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/blank_splash.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/blank_splash.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/gwt-logo.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/gwt-logo.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/05.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/05.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/05_1.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/05_1.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/13.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/13.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/14.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/14.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/27.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/27.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/29.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/29.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/31.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/31.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/36.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/36.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/41.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/41.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/49.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/49.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/add.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/add.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/add_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/add_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/confirm.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/confirm.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/confirm_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/confirm_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/deny.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/deny.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/deny_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/deny_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/error.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/error.png
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/examine.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/examine.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/large.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/large.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/large_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/large_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/loading.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/loading.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/lock.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/lock.png
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/lock_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/lock_small.png
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/pause.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/pause.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/pause_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/pause_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/play.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/play.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/play_red_big.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/play_red_big.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/play_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/play_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/remove.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/remove.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/remove_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/remove_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/stop.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/stop.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/stop_small.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/stop_small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/icons/unlock.png
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/icons/unlock.png
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/loading-circle.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/loading-circle.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/loading.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/loading.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/loading_lite.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/loading_lite.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/processSample.jpg
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/processSample.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/images/tab.gif
===================================================================
(Binary files differ)


Property changes on: bpm-console/trunk/gui/war/war/images/tab.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: bpm-console/trunk/gui/war/war/index.html
===================================================================
--- bpm-console/trunk/gui/war/war/index.html	                        (rev 0)
+++ bpm-console/trunk/gui/war/war/index.html	2010-01-20 10:48:09 UTC (rev 919)
@@ -0,0 +1,7 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+    <!-- forward to the GWT Example Application -->
+    <meta http-equiv="REFRESH" content="0;url=app.html">
+</HEAD>
+</HTML>
\ No newline at end of file

Modified: bpm-console/trunk/pom.xml
===================================================================
--- bpm-console/trunk/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -4,7 +4,7 @@
     <name>JBoss BPM - Console</name>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-parent</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <scm>
@@ -40,9 +40,9 @@
         <commons-lang.version>2.4</commons-lang.version>
         <commons-config.version>1.6</commons-config.version>
         <gson.version>1.2.2</gson.version>
-        <gwt.version>1.5.3</gwt.version>
+        <gwt.version>2.0.0</gwt.version>
 
-        <gwt-mosaic.version>0.1.10</gwt-mosaic.version>
+        <gwt.maven>1.2.0-11137</gwt.maven>
         <gwt-log.version>2.5.2</gwt-log.version>
         <jaf.version>1.1</jaf.version>
         <javax.ejb.version>3.0</javax.ejb.version>
@@ -50,9 +50,11 @@
         <jboss.common.version>2.2.7.GA</jboss.common.version>
         <junit.version>3.8.1</junit.version>
         <mvc4g.version>1.0.0-jboss</mvc4g.version>
+        <mosaic.version>0.4.0-rc2</mosaic.version>
         <resteasy.version>1.0.2.GA</resteasy.version>
         <stax-api.version>1.0-2</stax-api.version>
         <report.server.version>1.2.0</report.server.version>
+        <errai.version>1.0-SNAPSHOT</errai.version>
     </properties>
 
     <modules>
@@ -106,30 +108,38 @@
             </dependency>
 
             <dependency>
+                <groupId>com.googlecode.mvc4g</groupId>
+                <artifactId>mvc4g</artifactId>
+                <version>${mvc4g.version}</version>
+            </dependency>
+
+
+            <!-- Mosaic -->
+            <dependency>
                 <groupId>com.googlecode.gwtmosaic</groupId>
                 <artifactId>gwt-mosaic</artifactId>
-                <version>${gwt-mosaic.version}</version>
+                <version>${mosaic.version}</version>
             </dependency>
             <dependency>
                 <groupId>com.googlecode.gwtmosaic</groupId>
-                <artifactId>gwt-mosaic-dnd</artifactId>
-                <version>${gwt-mosaic.version}</version>
+                <artifactId>gwt-beans-binding</artifactId>
+                <version>${mosaic.version}</version>
             </dependency>
             <dependency>
                 <groupId>com.googlecode.gwtmosaic</groupId>
-                <artifactId>gwt-mosaic-incubator</artifactId>
-                <version>${gwt-mosaic.version}</version>
+                <artifactId>gwt-dnd</artifactId>
+                <version>${mosaic.version}</version>
             </dependency>
+
             <dependency>
                 <groupId>com.googlecode.gwtmosaic</groupId>
-                <artifactId>gwt-mosaic-gwtx</artifactId>
-                <version>${gwt-mosaic.version}</version>
+                <artifactId>gwt-incubator</artifactId>
+                <version>${mosaic.version}</version>
             </dependency>
-
             <dependency>
-                <groupId>com.googlecode.mvc4g</groupId>
-                <artifactId>mvc4g</artifactId>
-                <version>${mvc4g.version}</version>
+                <groupId>com.googlecode.gwtmosaic</groupId>
+                <artifactId>gwtx</artifactId>
+                <version>${mosaic.version}</version>
             </dependency>
 
             <!-- Other -->
@@ -214,30 +224,49 @@
                 <version>${report.server.version}</version>
             </dependency>
 
+            <!-- Errai -->
+            <dependency>
+                <groupId>org.jboss.errai</groupId>
+                <artifactId>errai-workspaces</artifactId>
+                <version>${errai.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.errai</groupId>
+                <artifactId>errai-workspaces</artifactId>
+                <version>${errai.version}</version>
+                <classifier>sources</classifier>
+            </dependency>
+
+            <dependency>
+                <groupId>org.jboss.errai</groupId>
+                <artifactId>errai-common</artifactId>
+                <version>${errai.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.errai</groupId>
+                <artifactId>errai-common</artifactId>
+                <version>${errai.version}</version>
+                <classifier>sources</classifier>
+            </dependency>
+
+            <dependency>
+                <groupId>org.jboss.errai</groupId>
+                <artifactId>errai-bus</artifactId>
+                <version>${errai.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jboss.errai</groupId>
+                <artifactId>errai-bus</artifactId>
+                <version>${errai.version}</version>
+                <classifier>sources</classifier>
+            </dependency>
+
         </dependencies>
     </dependencyManagement>
 
     <build>
         <plugins>
-
-            <!--plugin>
-              <groupId>org.codehaus.mojo</groupId>
-              <artifactId>buildnumber-maven-plugin</artifactId>
-              <version>1.0-beta-3</version>
-              <executions>
-                <execution>
-                  <phase>validate</phase>
-                  <goals>
-                    <goal>create</goal>
-                  </goals>
-                </execution>
-              </executions>
-              <configuration>
-                <doCheck>true</doCheck>
-                <doUpdate>true</doUpdate>
-              </configuration>
-            </plugin-->
-
+           
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-install-plugin</artifactId>
@@ -273,7 +302,7 @@
                 <configuration>
                     <source>1.5</source>
                     <target>1.5</target>
-                    <showDeprecation>true</showDeprecation>
+                    <showDeprecation>false</showDeprecation>
                     <showWarnings>true</showWarnings>
                     <optimize>true</optimize>
                 </configuration>
@@ -310,7 +339,7 @@
                     <tagBase>http://svn.jboss.org/repos/soag/bpm-console/tags</tagBase>
                 </configuration>
             </plugin>
-            
+
         </plugins>
 
         <!-- PluginManagement -->

Modified: bpm-console/trunk/server/integration/pom.xml
===================================================================
--- bpm-console/trunk/server/integration/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/server/integration/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -10,7 +10,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-servermodule</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/server/pom.xml
===================================================================
--- bpm-console/trunk/server/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/server/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -12,7 +12,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-parent</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/server/war/pom.xml
===================================================================
--- bpm-console/trunk/server/war/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/server/war/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -10,7 +10,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-servermodule</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/shared/pom.xml
===================================================================
--- bpm-console/trunk/shared/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/shared/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -13,7 +13,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-parent</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/shared/rpc/pom.xml
===================================================================
--- bpm-console/trunk/shared/rpc/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/shared/rpc/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -12,7 +12,7 @@
    <parent>
       <groupId>org.jboss.bpm</groupId>
       <artifactId>gwt-console-shared</artifactId>
-      <version>1.3.0-SNAPSHOT</version>
+      <version>2.0.0-SNAPSHOT</version>
       <relativePath>../pom.xml</relativePath>
    </parent>
 

Modified: bpm-console/trunk/workspace/pom.xml
===================================================================
--- bpm-console/trunk/workspace/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/workspace/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -13,7 +13,7 @@
   <parent>
     <groupId>org.jboss.bpm</groupId>
     <artifactId>gwt-console-parent</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: bpm-console/trunk/workspace/workspace-api/pom.xml
===================================================================
--- bpm-console/trunk/workspace/workspace-api/pom.xml	2010-01-20 08:48:01 UTC (rev 918)
+++ bpm-console/trunk/workspace/workspace-api/pom.xml	2010-01-20 10:48:09 UTC (rev 919)
@@ -1,138 +1,147 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
-  <modelVersion>4.0.0</modelVersion>
-  <name>JBoss BPM - Console::Workspace::API</name>
-  <groupId>org.jboss.bpm</groupId>
-  <artifactId>gwt-console-workspace-api</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
+    <modelVersion>4.0.0</modelVersion>
+    <name>JBoss BPM - Console::Workspace::API</name>
     <groupId>org.jboss.bpm</groupId>
-    <artifactId>gwt-console-workspace</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
+    <artifactId>gwt-console-workspace-api</artifactId>
+    <packaging>jar</packaging>
 
-  <properties>
-    <jaxb.version>2.1</jaxb.version>
-  </properties>
-  
-  <!--  Dependencies -->
-  <dependencies>
+    <!-- Parent -->
+    <parent>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console-workspace</artifactId>
+        <version>2.0.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
 
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>${jaxb.version}</version>
-    </dependency>
+    <properties>
+        <jaxb.version>2.1</jaxb.version>
+    </properties>
 
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-user</artifactId>
-      <version>${gwt.version}</version>      
-    </dependency>
+    <!--  Dependencies -->
+    <dependencies>
 
-    <dependency>
-      <groupId>com.google.code.gwt-log</groupId>
-      <artifactId>gwt-log</artifactId>
-    </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <version>${jaxb.version}</version>
+        </dependency>
 
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic-dnd</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic-incubator</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.gwtmosaic</groupId>
-      <artifactId>gwt-mosaic-gwtx</artifactId>
-    </dependency>
+        <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-user</artifactId>
+            <version>${gwt.version}</version>
+        </dependency>
 
-    <dependency>
-      <groupId>com.googlecode.mvc4g</groupId>
-      <artifactId>mvc4g</artifactId>
-    </dependency>
+        <dependency>
+            <groupId>com.google.code.gwt-log</groupId>
+            <artifactId>gwt-log</artifactId>
+        </dependency>
 
-    <!-- 3rd party -->
+        <!-- Mosaic -->
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-mosaic</artifactId>
+        </dependency>
 
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-    </dependency>
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-beans-binding</artifactId>
+        </dependency>
 
-    <dependency>
-      <groupId>commons-configuration</groupId>
-      <artifactId>commons-configuration</artifactId>
-    </dependency>
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-dnd</artifactId>
+        </dependency>
 
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwt-incubator</artifactId>
+       </dependency>
 
-  </dependencies>
+        <dependency>
+            <groupId>com.googlecode.gwtmosaic</groupId>
+            <artifactId>gwtx</artifactId>
+        </dependency>
 
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <showDeprecation>true</showDeprecation>
-          <showWarnings>true</showWarnings>
-          <optimize>true</optimize>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
+        <dependency>
+            <groupId>com.googlecode.mvc4g</groupId>
+            <artifactId>mvc4g</artifactId>
+        </dependency>
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>generate-version-class</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>run</goal>
-            </goals>
-            <configuration>
-              <tasks>
-                <ant antfile="scripts/antrun-version.xml" inheritAll="false" inheritRefs="false">
-                  <property name="version" value="${version}" />
-                  <property name="src.dir" value="${project.build.directory}/generated-sources" />
-                </ant>
-              </tasks>
-              <sourceRoot>
-                ${project.build.directory}/generated-sources
-              </sourceRoot>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
+        <!-- 3rd party -->
+
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-configuration</groupId>
+            <artifactId>commons-configuration</artifactId>
+        </dependency>
+
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                    <showDeprecation>true</showDeprecation>
+                    <showWarnings>true</showWarnings>
+                    <optimize>true</optimize>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-version-class</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <ant antfile="scripts/antrun-version.xml" inheritAll="false" inheritRefs="false">
+                                    <property name="version" value="${version}" />
+                                    <property name="src.dir" value="${project.build.directory}/generated-sources" />
+                                </ant>
+                            </tasks>
+                            <sourceRoot>
+                                ${project.build.directory}/generated-sources
+                            </sourceRoot>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>



More information about the overlord-commits mailing list