[overlord-commits] Overlord SVN: r1008 - in bpm-console/trunk: doc and 21 other directories.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Thu Mar 18 06:32:33 EDT 2010


Author: heiko.braun at jboss.com
Date: 2010-03-18 06:32:27 -0400 (Thu, 18 Mar 2010)
New Revision: 1008

Added:
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionHistoryListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/HistoryInstanceListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadHistoryDiagramAction.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/MergedProcessHistoryView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessHistoryModule.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionAction.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionsAction.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryInstanceAction.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/events/HistoryActivityDiagramEvent.java
   bpm-console/trunk/gui/war/src/main/resources/jmaki/xhp/errai-proxy.json
   bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRef.java
   bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRefWrapper.java
   bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRef.java
   bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRefWrapper.java
   bpm-console/trunk/shared/rpc/src/main/resources/ErraiApp.properties
Removed:
   bpm-console/trunk/BPMC.ipr
   bpm-console/trunk/BPMC.iws
   bpm-console/trunk/bpmc-toplevel.iml
   bpm-console/trunk/doc/doc.iml
   bpm-console/trunk/gui/profiles/gui-profiles.iml
   bpm-console/trunk/gui/war/gui-war.iml
   bpm-console/trunk/server/integration/server-integration.iml
   bpm-console/trunk/server/war/server-war.iml
   bpm-console/trunk/shared/rpc/shared-rpc.iml
Modified:
   bpm-console/trunk/gui/profiles/jbpm/src/main/resources/toolset-profile.properties
   bpm-console/trunk/gui/war/pom.xml
   bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/HttpClient.java
   bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/XmlHttpProxyServlet.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/client/URLBuilder.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/JobListView.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/JSOParser.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ActivityDiagramView.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/InstanceDataView.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/process/JSONTree.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadActivityDiagramAction.java
   bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessModule.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/war/WEB-INF/web.xml
   bpm-console/trunk/pom.xml
   bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java
   bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/plugin/GraphViewerPlugin.java
   bpm-console/trunk/server/war/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java
   bpm-console/trunk/shared/rpc/pom.xml
Log:
Added patches for BPMC-37 with slight modifications

Deleted: bpm-console/trunk/BPMC.ipr
===================================================================
--- bpm-console/trunk/BPMC.ipr	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/BPMC.ipr	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,408 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="AntConfiguration">
-    <defaultAnt bundledAnt="true" />
-  </component>
-  <component name="BuildJarProjectSettings">
-    <option name="BUILD_JARS_ON_MAKE" value="false" />
-  </component>
-  <component name="CodeStyleProjectProfileManger">
-    <option name="PROJECT_PROFILE" />
-    <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
-  </component>
-  <component name="CompilerConfiguration">
-    <option name="DEFAULT_COMPILER" value="Javac" />
-    <resourceExtensions>
-      <entry name=".+\.(properties|xml|html|dtd|tld)" />
-      <entry name=".+\.(gif|png|jpeg|jpg)" />
-    </resourceExtensions>
-    <wildcardResourcePatterns>
-      <entry name="?*.properties" />
-      <entry name="?*.xml" />
-      <entry name="?*.gif" />
-      <entry name="?*.png" />
-      <entry name="?*.jpeg" />
-      <entry name="?*.jpg" />
-      <entry name="?*.html" />
-      <entry name="?*.dtd" />
-      <entry name="?*.tld" />
-    </wildcardResourcePatterns>
-    <annotationProcessing enabled="false" useClasspath="true" />
-  </component>
-  <component name="CopyrightManager" default="">
-    <module2copyright />
-  </component>
-  <component name="DependenciesAnalyzeManager">
-    <option name="myForwardDirection" value="false" />
-  </component>
-  <component name="DependencyValidationManager">
-    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
-  </component>
-  <component name="EclipseCompilerSettings">
-    <option name="DEBUGGING_INFO" value="true" />
-    <option name="GENERATE_NO_WARNINGS" value="true" />
-    <option name="DEPRECATION" value="false" />
-    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
-    <option name="MAXIMUM_HEAP_SIZE" value="128" />
-  </component>
-  <component name="EclipseEmbeddedCompilerSettings">
-    <option name="DEBUGGING_INFO" value="true" />
-    <option name="GENERATE_NO_WARNINGS" value="true" />
-    <option name="DEPRECATION" value="false" />
-    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
-    <option name="MAXIMUM_HEAP_SIZE" value="128" />
-  </component>
-  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
-  <component name="EntryPointsManager">
-    <entry_points />
-  </component>
-  <component name="ExportToHTMLSettings">
-    <option name="PRINT_LINE_NUMBERS" value="false" />
-    <option name="OPEN_IN_BROWSER" value="false" />
-    <option name="OUTPUT_DIRECTORY" />
-  </component>
-  <component name="IdProvider" IDEtalkID="1E46A79AE09FDDA36C7AA36A15233C1A" />
-  <component name="JavacSettings">
-    <option name="DEBUGGING_INFO" value="true" />
-    <option name="GENERATE_NO_WARNINGS" value="false" />
-    <option name="DEPRECATION" value="true" />
-    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
-    <option name="MAXIMUM_HEAP_SIZE" value="128" />
-  </component>
-  <component name="JavadocGenerationManager">
-    <option name="OUTPUT_DIRECTORY" />
-    <option name="OPTION_SCOPE" value="protected" />
-    <option name="OPTION_HIERARCHY" value="true" />
-    <option name="OPTION_NAVIGATOR" value="true" />
-    <option name="OPTION_INDEX" value="true" />
-    <option name="OPTION_SEPARATE_INDEX" value="true" />
-    <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
-    <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
-    <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
-    <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
-    <option name="OPTION_DEPRECATED_LIST" value="true" />
-    <option name="OTHER_OPTIONS" value="" />
-    <option name="HEAP_SIZE" />
-    <option name="LOCALE" />
-    <option name="OPEN_IN_BROWSER" value="true" />
-  </component>
-  <component name="JikesSettings">
-    <option name="JIKES_PATH" value="" />
-    <option name="DEBUGGING_INFO" value="true" />
-    <option name="DEPRECATION" value="true" />
-    <option name="GENERATE_NO_WARNINGS" value="false" />
-    <option name="IS_EMACS_ERRORS_MODE" value="true" />
-    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
-  </component>
-  <component name="LogConsolePreferences">
-    <option name="FILTER_ERRORS" value="false" />
-    <option name="FILTER_WARNINGS" value="false" />
-    <option name="FILTER_INFO" value="true" />
-    <option name="CUSTOM_FILTER" />
-  </component>
-  <component name="Maven Reloaded">
-    <option name="config">
-      <value>
-        <option name="pluginEnabled" value="false" />
-        <option name="offlineModeEnabled" value="false" />
-        <option name="updateClasspathsEnabled" value="true" />
-        <option name="sortDependenciesEnabled" value="false" />
-        <option name="removeDuplicateDependenciesEnabled" value="false" />
-        <option name="respondToPomChangesEnabled" value="true" />
-        <option name="manageSourceRootsEnabled" value="true" />
-        <option name="manageModuleInterdependenciesEnabled" value="true" />
-        <option name="downloadSourcesEnabled" value="false" />
-        <option name="downloadJavadocEnabled" value="false" />
-        <option name="generateSourcesEnabled" value="false" />
-        <option name="settingsPath" value="$PROJECT_DIR$/../../../../../.m2/settings.xml" />
-        <option name="searchFilter" value="" />
-        <option name="disabledPoms">
-          <value>
-            <collection type="java.util.TreeSet" />
-          </value>
-        </option>
-        <option name="moduleInterDependencies">
-          <value>
-            <map type="java.util.TreeMap">
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="toplevel" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="bpm-gui-war" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="bpm-rpc" />
-                    <entry type="java.lang.String" value="toplevel" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="bpm-server-core" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="bpm-rpc" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="bpm-server-integration" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="gui-profiles" />
-                    <entry type="java.lang.String" value="report-server" />
-                    <entry type="java.lang.String" value="server-integration" />
-                    <entry type="java.lang.String" value="shared-rpc" />
-                    <entry type="java.lang.String" value="workspace-api" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="bpmc-toplevel" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="bpm-rpc" />
-                    <entry type="java.lang.String" value="workspace-api" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="console-war" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="gui-profiles" />
-                    <entry type="java.lang.String" value="report-server" />
-                    <entry type="java.lang.String" value="shared-rpc" />
-                    <entry type="java.lang.String" value="workspace-api" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="gui-war" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="workspace-api" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="sam-gui" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="shared-rpc" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="server-integration" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="report-server" />
-                    <entry type="java.lang.String" value="server-integration" />
-                    <entry type="java.lang.String" value="shared-rpc" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="server-war" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="bpm-rpc" />
-                    <entry type="java.lang.String" value="console-war" />
-                    <entry type="java.lang.String" value="workspace-api" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="toplevel" />
-              </entry>
-              <entry>
-                <value>
-                  <collection type="java.util.TreeSet">
-                    <entry type="java.lang.String" value="toplevel" />
-                  </collection>
-                </value>
-                <key type="java.lang.String" value="war" />
-              </entry>
-            </map>
-          </value>
-        </option>
-        <option name="logLevel" value="1" />
-      </value>
-    </option>
-  </component>
-  <component name="Palette2">
-    <group name="Swing">
-      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
-      </item>
-      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
-      </item>
-      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
-      </item>
-      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
-        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
-      </item>
-      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
-        <initial-values>
-          <property name="text" value="Button" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
-        <initial-values>
-          <property name="text" value="RadioButton" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
-        <initial-values>
-          <property name="text" value="CheckBox" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
-        <initial-values>
-          <property name="text" value="Label" />
-        </initial-values>
-      </item>
-      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
-          <preferred-size width="150" height="-1" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
-      </item>
-      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
-          <preferred-size width="150" height="50" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
-          <preferred-size width="200" height="200" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
-          <preferred-size width="200" height="200" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
-      </item>
-      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
-      </item>
-      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
-      </item>
-      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
-      </item>
-      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
-          <preferred-size width="-1" height="20" />
-        </default-constraints>
-      </item>
-      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
-        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
-      </item>
-      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
-        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
-      </item>
-    </group>
-  </component>
-  <component name="ProjectDetails">
-    <option name="projectName" value="BPMC" />
-  </component>
-  <component name="ProjectDictionaryState">
-    <dictionary name="hbraun" />
-  </component>
-  <component name="ProjectKey">
-    <option name="state" value="https://svn.jboss.org/repos/soag/bpm-console/trunk/BPMC.ipr" />
-  </component>
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/bpmc-toplevel.iml" filepath="$PROJECT_DIR$/bpmc-toplevel.iml" />
-      <module fileurl="file://$PROJECT_DIR$/doc/doc.iml" filepath="$PROJECT_DIR$/doc/doc.iml" />
-      <module fileurl="file://$PROJECT_DIR$/gui/profiles/gui-profiles.iml" filepath="$PROJECT_DIR$/gui/profiles/gui-profiles.iml" />
-      <module fileurl="file://$PROJECT_DIR$/gui/war/gui-war.iml" filepath="$PROJECT_DIR$/gui/war/gui-war.iml" />
-      <module fileurl="file://$PROJECT_DIR$/../../report-server/trunk/report-server.iml" filepath="$PROJECT_DIR$/../../report-server/trunk/report-server.iml" />
-      <module fileurl="file://$PROJECT_DIR$/server/integration/server-integration.iml" filepath="$PROJECT_DIR$/server/integration/server-integration.iml" />
-      <module fileurl="file://$PROJECT_DIR$/server/war/server-war.iml" filepath="$PROJECT_DIR$/server/war/server-war.iml" />
-      <module fileurl="file://$PROJECT_DIR$/shared/rpc/shared-rpc.iml" filepath="$PROJECT_DIR$/shared/rpc/shared-rpc.iml" />
-      <module fileurl="file://$PROJECT_DIR$/workspace/workspace-api/workspace-api.iml" filepath="$PROJECT_DIR$/workspace/workspace-api/workspace-api.iml" />
-    </modules>
-  </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" project-jdk-type="JavaSDK">
-    <output url="file://$PROJECT_DIR$/classes" />
-  </component>
-  <component name="RmicSettings">
-    <option name="IS_EANABLED" value="false" />
-    <option name="DEBUGGING_INFO" value="true" />
-    <option name="GENERATE_NO_WARNINGS" value="false" />
-    <option name="GENERATE_IIOP_STUBS" value="false" />
-    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
-  </component>
-  <component name="SvnBranchConfigurationManager">
-    <option name="mySupportsUserInfoFilter" value="true" />
-  </component>
-  <component name="VcsDirectoryMappings">
-    <mapping directory="" vcs="svn" />
-  </component>
-  <component name="WebServicesPlugin" addRequiredLibraries="true" />
-  <component name="com.intellij.jsf.UserDefinedFacesConfigs">
-    <option name="USER_DEFINED_CONFIGS">
-      <value>
-        <list size="0" />
-      </value>
-    </option>
-  </component>
-  <component name="uidesigner-configuration">
-    <option name="INSTRUMENT_CLASSES" value="true" />
-    <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
-    <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
-  </component>
-</project>
-

Deleted: bpm-console/trunk/BPMC.iws
===================================================================
--- bpm-console/trunk/BPMC.iws	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/BPMC.iws	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,987 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ChangeBrowserSettings">
-    <option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
-    <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
-    <option name="USE_DATE_BEFORE_FILTER" value="false" />
-    <option name="USE_DATE_AFTER_FILTER" value="false" />
-    <option name="USE_CHANGE_BEFORE_FILTER" value="false" />
-    <option name="USE_CHANGE_AFTER_FILTER" value="false" />
-    <option name="DATE_BEFORE" value="" />
-    <option name="DATE_AFTER" value="" />
-    <option name="CHANGE_BEFORE" value="" />
-    <option name="CHANGE_AFTER" value="" />
-    <option name="USE_USER_FILTER" value="false" />
-    <option name="USER" value="" />
-  </component>
-  <component name="ChangeListManager" verified="true">
-    <list default="true" readonly="true" id="7686990b-7e88-4602-812a-8d5ceea5da87" name="Default" comment="">
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/gui/profiles/gui-profiles.iml" afterPath="$PROJECT_DIR$/gui/profiles/gui-profiles.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/gui/war/gui-war.iml" afterPath="$PROJECT_DIR$/gui/war/gui-war.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/server/war/server-war.iml" afterPath="$PROJECT_DIR$/server/war/server-war.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/workspace/workspace-api/workspace-api.iml" afterPath="$PROJECT_DIR$/workspace/workspace-api/workspace-api.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/BPMC.iws" afterPath="$PROJECT_DIR$/BPMC.iws" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/bpmc-toplevel.iml" afterPath="$PROJECT_DIR$/bpmc-toplevel.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/shared/rpc/shared-rpc.iml" afterPath="$PROJECT_DIR$/shared/rpc/shared-rpc.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/doc/doc.iml" afterPath="$PROJECT_DIR$/doc/doc.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/server/integration/server-integration.iml" afterPath="$PROJECT_DIR$/server/integration/server-integration.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/BPMC.ipr" afterPath="$PROJECT_DIR$/BPMC.ipr" />
-    </list>
-    <list id="eeccd30d-ae37-4d4f-9d2f-5b9ea8d9d39e" name="Failed commit: Default" comment="remove dependency on DTOParser" />
-    <option name="TRACKING_ENABLED" value="true" />
-    <option name="SHOW_DIALOG" value="false" />
-    <option name="HIGHLIGHT_CONFLICTS" value="true" />
-    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
-    <option name="LAST_RESOLUTION" value="IGNORE" />
-  </component>
-  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
-  <component name="Commander">
-    <leftPanel />
-    <rightPanel />
-    <splitter proportion="0.5" />
-  </component>
-  <component name="CompilerWorkspaceConfiguration">
-    <option name="COMPILE_IN_BACKGROUND" value="false" />
-    <option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
-    <option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
-    <option name="COMPILE_DEPENDENT_FILES" value="false" />
-    <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
-    <option name="ASSERT_NOT_NULL" value="true" />
-  </component>
-  <component name="CreatePatchCommitExecutor">
-    <option name="PATCH_PATH" value="" />
-    <option name="REVERSE_PATCH" value="false" />
-  </component>
-  <component name="Cvs2Configuration">
-    <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
-    <option name="MERGING_MODE" value="0" />
-    <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
-    <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
-    <option name="RESET_STICKY" value="false" />
-    <option name="CREATE_NEW_DIRECTORIES" value="true" />
-    <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
-    <option name="PROCESS_UNKNOWN_FILES" value="false" />
-    <option name="PROCESS_DELETED_FILES" value="false" />
-    <option name="PROCESS_IGNORED_FILES" value="false" />
-    <option name="RESERVED_EDIT" value="false" />
-    <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
-      <value>
-        <option name="BRANCH" value="" />
-        <option name="DATE" value="" />
-        <option name="USE_BRANCH" value="false" />
-        <option name="USE_DATE" value="false" />
-      </value>
-    </option>
-    <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
-      <value>
-        <option name="BRANCH" value="" />
-        <option name="DATE" value="" />
-        <option name="USE_BRANCH" value="false" />
-        <option name="USE_DATE" value="false" />
-      </value>
-    </option>
-    <option name="SHOW_CHANGES_REVISION_SETTINGS">
-      <value>
-        <option name="BRANCH" value="" />
-        <option name="DATE" value="" />
-        <option name="USE_BRANCH" value="false" />
-        <option name="USE_DATE" value="false" />
-      </value>
-    </option>
-    <option name="SHOW_OUTPUT" value="false" />
-    <option name="ADD_WATCH_INDEX" value="0" />
-    <option name="REMOVE_WATCH_INDEX" value="0" />
-    <option name="UPDATE_KEYWORD_SUBSTITUTION" />
-    <option name="MAKE_NEW_FILES_READONLY" value="false" />
-    <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
-    <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
-    <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
-    <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
-    <option name="CLEAN_COPY" value="false" />
-  </component>
-  <component name="DaemonCodeAnalyzer">
-    <disable_hints />
-  </component>
-  <component name="DebuggerManager">
-    <breakpoint_any>
-      <breakpoint>
-        <option name="NOTIFY_CAUGHT" value="true" />
-        <option name="NOTIFY_UNCAUGHT" value="true" />
-        <option name="ENABLED" value="false" />
-        <option name="LOG_ENABLED" value="false" />
-        <option name="LOG_EXPRESSION_ENABLED" value="false" />
-        <option name="SUSPEND_POLICY" value="SuspendAll" />
-        <option name="COUNT_FILTER_ENABLED" value="false" />
-        <option name="COUNT_FILTER" value="0" />
-        <option name="CONDITION_ENABLED" value="false" />
-        <option name="CLASS_FILTERS_ENABLED" value="false" />
-        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
-        <option name="CONDITION" value="" />
-        <option name="LOG_MESSAGE" value="" />
-      </breakpoint>
-      <breakpoint>
-        <option name="NOTIFY_CAUGHT" value="true" />
-        <option name="NOTIFY_UNCAUGHT" value="true" />
-        <option name="ENABLED" value="false" />
-        <option name="LOG_ENABLED" value="false" />
-        <option name="LOG_EXPRESSION_ENABLED" value="false" />
-        <option name="SUSPEND_POLICY" value="SuspendAll" />
-        <option name="COUNT_FILTER_ENABLED" value="false" />
-        <option name="COUNT_FILTER" value="0" />
-        <option name="CONDITION_ENABLED" value="false" />
-        <option name="CLASS_FILTERS_ENABLED" value="false" />
-        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
-        <option name="CONDITION" value="" />
-        <option name="LOG_MESSAGE" value="" />
-      </breakpoint>
-    </breakpoint_any>
-    <breakpoint_rules />
-    <ui_properties>
-      <property name="line_breakpoints_groupByMethods" value="false" />
-      <property name="line_breakpoints_viewId" value="TABLE" />
-      <property name="exception_breakpoints_flattenPackages" value="true" />
-      <property name="method_breakpoints_flattenPackages" value="true" />
-      <property name="field_breakpoints_flattenPackages" value="true" />
-      <property name="exception_breakpoints_groupByMethods" value="false" />
-      <property name="line_breakpoints_groupByClasses" value="true" />
-      <property name="field_breakpoints_groupByMethods" value="false" />
-      <property name="method_breakpoints_viewId" value="TABLE" />
-      <property name="line_breakpoints_flattenPackages" value="true" />
-      <property name="field_breakpoints_groupByClasses" value="true" />
-      <property name="method_breakpoints_groupByClasses" value="true" />
-      <property name="exception_breakpoints_viewId" value="TABLE" />
-      <property name="exception_breakpoints_groupByClasses" value="true" />
-      <property name="field_breakpoints_viewId" value="TABLE" />
-      <property name="method_breakpoints_groupByMethods" value="false" />
-    </ui_properties>
-  </component>
-  <component name="ErrorTreeViewConfiguration">
-    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
-    <option name="HIDE_WARNINGS" value="false" />
-  </component>
-  <component name="FavoritesManager">
-    <favorites_list name="BPMC" />
-  </component>
-  <component name="FavoritesProjectViewPane">
-    <subPane subId="BPMC">
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" />
-          <option name="myItemType" value="com.intellij.ide.favoritesTreeView.FavoritesTreeNodeDescriptor" />
-        </PATH_ELEMENT>
-      </PATH>
-    </subPane>
-  </component>
-  <component name="FileColors" enabled="false" enabledForTabs="false" />
-  <component name="FileEditorManager">
-    <leaf />
-  </component>
-  <component name="FindManager">
-    <FindUsagesManager>
-      <setting name="OPEN_NEW_TAB" value="false" />
-    </FindUsagesManager>
-  </component>
-  <component name="HierarchyBrowserManager">
-    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
-    <option name="SORT_ALPHABETICALLY" value="false" />
-    <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
-  </component>
-  <component name="InspectionManager">
-    <option name="AUTOSCROLL_TO_SOURCE" value="false" />
-    <option name="SPLITTER_PROPORTION" value="0.5" />
-    <option name="GROUP_BY_SEVERITY" value="false" />
-    <option name="FILTER_RESOLVED_ITEMS" value="true" />
-    <option name="ANALYZE_TEST_SOURCES" value="true" />
-    <option name="SHOW_DIFF_WITH_PREVIOUS_RUN" value="false" />
-    <option name="SCOPE_TYPE" value="1" />
-    <option name="CUSTOM_SCOPE_NAME" value="" />
-    <option name="SHOW_ONLY_DIFF" value="false" />
-    <option name="myCurrentProfileName" value="Default" />
-  </component>
-  <component name="ModuleEditorState">
-    <option name="LAST_EDITED_MODULE_NAME" />
-    <option name="LAST_EDITED_TAB_NAME" />
-  </component>
-  <component name="PackagesPane">
-    <subPane>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="Libraries" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewLibrariesNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="Libraries" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewLibrariesNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="javax" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="xml" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="Libraries" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewLibrariesNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="javax" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="xml" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="stream" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="Libraries" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewLibrariesNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="javax" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="xml" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="parsers" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="Libraries" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewLibrariesNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="javax" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageElementNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
-        </PATH_ELEMENT>
-      </PATH>
-    </subPane>
-  </component>
-  <component name="PerforceChangeBrowserSettings">
-    <option name="USE_CLIENT_FILTER" value="true" />
-    <option name="CLIENT" value="" />
-  </component>
-  <component name="PerforceDirect.Settings">
-    <option name="useP4CONFIG" value="true" />
-    <option name="port" value="&lt;perforce_server&gt;:1666" />
-    <option name="client" value="" />
-    <option name="user" value="" />
-    <option name="passwd" value="" />
-    <option name="showCmds" value="false" />
-    <option name="useNativeApi" value="false" />
-    <option name="pathToExec" value="p4" />
-    <option name="useCustomPathToExec" value="false" />
-    <option name="SYNC_FORCE" value="false" />
-    <option name="SYNC_RUN_RESOLVE" value="true" />
-    <option name="REVERT_UNCHANGED_FILES" value="true" />
-    <option name="CHARSET" value="none" />
-    <option name="SHOW_BRANCHES_HISTORY" value="true" />
-    <option name="ENABLED" value="true" />
-    <option name="USE_LOGIN" value="false" />
-    <option name="LOGIN_SILENTLY" value="false" />
-    <option name="INTEGRATE_RUN_RESOLVE" value="true" />
-    <option name="INTEGRATE_REVERT_UNCHANGED" value="true" />
-    <option name="SERVER_TIMEOUT" value="20000" />
-  </component>
-  <component name="ProjectInspectionProfilesVisibleTreeState">
-    <entry key="Project Default">
-      <profile-state />
-    </entry>
-  </component>
-  <component name="ProjectLevelVcsManager">
-    <OptionsSetting value="true" id="Add" />
-    <OptionsSetting value="true" id="Remove" />
-    <OptionsSetting value="true" id="Checkin" />
-    <OptionsSetting value="true" id="Checkout" />
-    <OptionsSetting value="true" id="Update" />
-    <OptionsSetting value="true" id="Status" />
-    <OptionsSetting value="true" id="Edit" />
-    <OptionsSetting value="true" id="Undo Check Out" />
-    <OptionsSetting value="true" id="Compare with SourceSafe Version" />
-    <OptionsSetting value="true" id="Get Latest Version" />
-    <ConfirmationsSetting value="0" id="Add" />
-    <ConfirmationsSetting value="0" id="Remove" />
-  </component>
-  <component name="ProjectPane">
-    <subPane>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="server-war" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="server-war" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="PsiDirectory:/Users/hbraun/dev/prj/soag/bpm-console/trunk/server/war" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
-        </PATH_ELEMENT>
-      </PATH>
-      <PATH>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="BPMC.ipr" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="bpmc-toplevel" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
-        </PATH_ELEMENT>
-        <PATH_ELEMENT>
-          <option name="myItemId" value="PsiDirectory:/Users/hbraun/dev/prj/soag/bpm-console/trunk" />
-          <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-        </PATH_ELEMENT>
-      </PATH>
-    </subPane>
-  </component>
-  <component name="ProjectReloadState">
-    <option name="STATE" value="0" />
-  </component>
-  <component name="ProjectView">
-    <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
-      <flattenPackages PackagesPane="false" />
-      <showMembers />
-      <showModules />
-      <showLibraryContents />
-      <hideEmptyPackages PackagesPane="false" ProjectPane="false" />
-      <abbreviatePackageNames />
-      <autoscrollToSource />
-      <autoscrollFromSource />
-      <sortByType />
-    </navigator>
-    <panes>
-      <pane id="PackagesPane" />
-      <pane id="Favorites" />
-      <pane id="ProjectPane">
-        <subPane>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="BPMC" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-          </PATH>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="BPMC" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="trunk" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-          </PATH>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="BPMC" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="trunk" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="gui" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-          </PATH>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="BPMC" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="trunk" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="gui" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="war" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-          </PATH>
-        </subPane>
-      </pane>
-      <pane id="Scope" />
-    </panes>
-  </component>
-  <component name="PropertiesComponent">
-    <property name="cvs_file_history_treeOrder2" value="2" />
-    <property name="cvs_file_history_treeOrder1" value="1" />
-    <property name="RunManagerConfig.showSettingsBeforeRunnig" value="false" />
-    <property name="cvs_file_history_treeOrder3" value="3" />
-    <property name="MemberChooser.sorted" value="false" />
-    <property name="recentsLimit" value="5" />
-    <property name="GoToClass.toSaveIncludeLibraries" value="false" />
-    <property name="cvs_file_history_treeWidth0" value="287" />
-    <property name="cvs_file_history_treeWidth1" value="287" />
-    <property name="cvs_file_history_treeWidth2" value="287" />
-    <property name="cvs_file_history_treeWidth3" value="287" />
-    <property name="cvs_file_history_flatWidth2" value="291" />
-    <property name="MemberChooser.showClasses" value="true" />
-    <property name="cvs_file_history_flatWidth3" value="290" />
-    <property name="cvs_file_history_treeOrder0" value="0" />
-    <property name="cvs_file_history_flatWidth0" value="291" />
-    <property name="GoToClass.includeLibraries" value="false" />
-    <property name="cvs_file_history_flatWidth1" value="291" />
-    <property name="GoToFile.includeJavaFiles" value="false" />
-    <property name="RunManagerConfig.compileBeforeRunning" value="false" />
-    <property name="cvs_file_history_flatOrder2" value="2" />
-    <property name="cvs_file_history_flatOrder3" value="3" />
-    <property name="cvs_file_history_flatOrder0" value="0" />
-    <property name="cvs_file_history_flatOrder1" value="1" />
-    <property name="MemberChooser.copyJavadoc" value="false" />
-  </component>
-  <component name="RecentsManager">
-    <key name="IntroduceConstantDialog.RECENTS_KEY">
-      <recent name="" />
-    </key>
-    <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
-      <recent name="org.jboss.bpm.report.util" />
-      <recent name="org.jboss.bpm.report.model" />
-      <recent name="org.jboss.bpm.console.server" />
-      <recent name="org.jboss.bpm.console.client" />
-      <recent name="org.jboss.bpm.console.client.sam" />
-    </key>
-  </component>
-  <component name="RunManager" selected="Remote.server">
-    <configuration default="true" type="Remote" factoryName="Remote">
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
-      <option name="SERVER_MODE" value="false" />
-      <option name="SHMEM_ADDRESS" value="javadebug" />
-      <option name="HOST" value="localhost" />
-      <option name="PORT" value="5005" />
-      <method>
-        <option name="AntTarget" enabled="false" />
-        <option name="BuildArtifacts" enabled="false" />
-        <option name="Maven.BeforeRunTask" enabled="false" />
-      </method>
-    </configuration>
-    <configuration default="true" type="Applet" factoryName="Applet">
-      <module name="" />
-      <option name="MAIN_CLASS_NAME" />
-      <option name="HTML_FILE_NAME" />
-      <option name="HTML_USED" value="false" />
-      <option name="WIDTH" value="400" />
-      <option name="HEIGHT" value="300" />
-      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
-      <option name="VM_PARAMETERS" />
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
-      <option name="ALTERNATIVE_JRE_PATH" />
-      <method>
-        <option name="AntTarget" enabled="false" />
-        <option name="BuildArtifacts" enabled="false" />
-        <option name="Make" enabled="false" />
-        <option name="Maven.BeforeRunTask" enabled="false" />
-      </method>
-    </configuration>
-    <configuration default="true" type="Application" factoryName="Application">
-      <extension name="snapshooter" />
-      <option name="MAIN_CLASS_NAME" />
-      <option name="VM_PARAMETERS" />
-      <option name="PROGRAM_PARAMETERS" />
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
-      <option name="ALTERNATIVE_JRE_PATH" />
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
-      <option name="ENV_VARIABLES" />
-      <option name="PASS_PARENT_ENVS" value="true" />
-      <module name="" />
-      <envs />
-      <method>
-        <option name="AntTarget" enabled="false" />
-        <option name="BuildArtifacts" enabled="false" />
-        <option name="Make" enabled="false" />
-        <option name="Maven.BeforeRunTask" enabled="false" />
-      </method>
-    </configuration>
-    <configuration default="true" type="JUnit" factoryName="JUnit">
-      <extension name="snapshooter" />
-      <module name="" />
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
-      <option name="ALTERNATIVE_JRE_PATH" />
-      <option name="PACKAGE_NAME" />
-      <option name="MAIN_CLASS_NAME" />
-      <option name="METHOD_NAME" />
-      <option name="TEST_OBJECT" value="class" />
-      <option name="VM_PARAMETERS" />
-      <option name="PARAMETERS" />
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
-      <option name="ENV_VARIABLES" />
-      <option name="PASS_PARENT_ENVS" value="true" />
-      <option name="TEST_SEARCH_SCOPE">
-        <value defaultName="wholeProject" />
-      </option>
-      <envs />
-      <method>
-        <option name="AntTarget" enabled="false" />
-        <option name="BuildArtifacts" enabled="false" />
-        <option name="Make" enabled="false" />
-        <option name="Maven.BeforeRunTask" enabled="false" />
-      </method>
-    </configuration>
-    <configuration default="false" name="GWT" type="Remote" factoryName="Remote">
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
-      <option name="SERVER_MODE" value="false" />
-      <option name="SHMEM_ADDRESS" value="javadebug" />
-      <option name="HOST" value="localhost" />
-      <option name="PORT" value="8000" />
-      <RunnerSettings RunnerId="Debug">
-        <option name="DEBUG_PORT" value="8000" />
-        <option name="TRANSPORT" value="0" />
-        <option name="LOCAL" value="false" />
-      </RunnerSettings>
-      <ConfigurationWrapper RunnerId="Debug" />
-      <method />
-    </configuration>
-    <configuration default="false" name="server" type="Remote" factoryName="Remote">
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
-      <option name="SERVER_MODE" value="false" />
-      <option name="SHMEM_ADDRESS" value="javadebug" />
-      <option name="HOST" value="localhost" />
-      <option name="PORT" value="8787" />
-      <RunnerSettings RunnerId="Debug">
-        <option name="DEBUG_PORT" value="8787" />
-        <option name="TRANSPORT" value="0" />
-        <option name="LOCAL" value="false" />
-      </RunnerSettings>
-      <ConfigurationWrapper RunnerId="Debug" />
-      <method />
-    </configuration>
-    <list size="2">
-      <item index="0" class="java.lang.String" itemvalue="Remote.GWT" />
-      <item index="1" class="java.lang.String" itemvalue="Remote.server" />
-    </list>
-    <configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
-      <Host>localhost</Host>
-      <Port>5050</Port>
-    </configuration>
-  </component>
-  <component name="ScopeViewComponent">
-    <subPane subId="Project">
-      <PATH>
-        <PATH_ELEMENT USER_OBJECT="Root">
-          <option name="myItemId" value="" />
-          <option name="myItemType" value="" />
-        </PATH_ELEMENT>
-      </PATH>
-    </subPane>
-  </component>
-  <component name="ShelveChangesManager" show_recycled="false" />
-  <component name="StarteamConfiguration">
-    <option name="SERVER" value="" />
-    <option name="PORT" value="49201" />
-    <option name="USER" value="" />
-    <option name="PASSWORD" value="" />
-    <option name="PROJECT" value="" />
-    <option name="VIEW" value="" />
-    <option name="ALTERNATIVE_WORKING_PATH" value="" />
-    <option name="LOCK_ON_CHECKOUT" value="false" />
-    <option name="UNLOCK_ON_CHECKIN" value="false" />
-  </component>
-  <component name="StructureViewFactory">
-    <option name="AUTOSCROLL_MODE" value="true" />
-    <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
-    <option name="ACTIVE_ACTIONS" value="SHOW_INTERFACES,ALPHA_COMPARATOR,SHOW_FIELDS" />
-  </component>
-  <component name="Struts Assistant">
-    <option name="showInputs" value="true" />
-    <option name="resources">
-      <value>
-        <option name="strutsPath" />
-        <option name="strutsHelp" />
-      </value>
-    </option>
-    <option name="selectedTaglibs" />
-    <option name="selectedTaglibs" />
-    <option name="myStrutsValidationEnabled" value="true" />
-    <option name="myTilesValidationEnabled" value="true" />
-    <option name="myValidatorValidationEnabled" value="true" />
-    <option name="myReportErrorsAsWarnings" value="true" />
-  </component>
-  <component name="SvnChangesBrowserSettings">
-    <option name="USE_AUTHOR_FIELD" value="true" />
-    <option name="AUTHOR" value="" />
-    <option name="LOCATION" value="" />
-    <option name="USE_PROJECT_SETTINGS" value="true" />
-    <option name="USE_ALTERNATE_LOCATION" value="false" />
-  </component>
-  <component name="SvnConfiguration">
-    <option name="USER" value="" />
-    <option name="PASSWORD" value="" />
-    <option name="LAST_MERGED_REVISION" />
-    <option name="UPDATE_RUN_STATUS" value="false" />
-    <option name="MERGE_DRY_RUN" value="false" />
-    <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
-    <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
-    <option name="IGNORE_SPACES_IN_MERGE" value="false" />
-    <option name="DETECT_NESTED_COPIES" value="false" />
-    <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
-    <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
-    <configuration useDefault="true">$PROJECT_DIR$/../../../../../.subversion</configuration>
-    <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
-    <supportedVersion>125</supportedVersion>
-  </component>
-  <component name="SvnFileUrlMappingImpl">
-    <option name="myMappingRoots">
-      <list>
-        <SvnCopyRootSimple>
-          <option name="myVcsRoot" value="$PROJECT_DIR$" />
-          <option name="myCopyRoot" value="$PROJECT_DIR$" />
-        </SvnCopyRootSimple>
-      </list>
-    </option>
-    <option name="myMoreRealMappingRoots">
-      <list>
-        <SvnCopyRootSimple>
-          <option name="myVcsRoot" value="$PROJECT_DIR$" />
-          <option name="myCopyRoot" value="$PROJECT_DIR$" />
-        </SvnCopyRootSimple>
-      </list>
-    </option>
-  </component>
-  <component name="TaskManager">
-    <option name="tasks">
-      <list>
-        <task id="Default" summary="Default task">
-          <option name="active" value="true" />
-          <option name="changeLists">
-            <list>
-              <ChangeListInfo id="fc4abe46-3830-4abe-8568-193fc970fbdd" name="Default" comment="" />
-            </list>
-          </option>
-          <option name="created" value="1254429082701" />
-          <option name="updated" value="1254429082701" />
-        </task>
-        <task id="LOCAL-00001" summary="Failed commit: Default">
-          <option name="changeLists">
-            <list>
-              <ChangeListInfo id="f0cad2f9-e9f4-434e-9b69-4bdf1f3d4f71" name="Failed commit: Default" comment="remove dependency on DTOParser" />
-            </list>
-          </option>
-          <option name="created" value="1254428988860" />
-          <option name="updated" value="1254428988860" />
-        </task>
-      </list>
-    </option>
-    <option name="localTasksCounter" value="2" />
-  </component>
-  <component name="TodoView" selected-index="0">
-    <todo-panel id="selected-file">
-      <are-packages-shown value="false" />
-      <are-modules-shown value="false" />
-      <flatten-packages value="false" />
-      <is-autoscroll-to-source value="true" />
-    </todo-panel>
-    <todo-panel id="all">
-      <are-packages-shown value="true" />
-      <are-modules-shown value="false" />
-      <flatten-packages value="false" />
-      <is-autoscroll-to-source value="true" />
-    </todo-panel>
-  </component>
-  <component name="ToolWindowManager">
-    <frame x="0" y="22" width="1280" height="774" extended-state="0" />
-    <editor active="true" />
-    <layout>
-      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
-      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.38073394" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.38434163" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32873562" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.22303921" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
-      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26807472" sideWeight="0.6085627" order="0" side_tool="false" content_ui="tabs" />
-      <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
-      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="13" side_tool="false" content_ui="tabs" />
-      <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="Maven" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
-      <window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
-      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24818695" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
-      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
-      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
-      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32992035" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
-      <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
-      <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="14" side_tool="false" content_ui="tabs" />
-      <window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
-    </layout>
-  </component>
-  <component name="VCS.FileViewConfiguration">
-    <option name="SELECTED_STATUSES" value="DEFAULT" />
-    <option name="SELECTED_COLUMNS" value="DEFAULT" />
-    <option name="SHOW_FILTERS" value="true" />
-    <option name="CUSTOMIZE_VIEW" value="true" />
-    <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
-  </component>
-  <component name="VcsManagerConfiguration">
-    <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
-    <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
-    <option name="PERFORM_UPDATE_IN_BACKGROUND" value="false" />
-    <option name="PERFORM_COMMIT_IN_BACKGROUND" value="false" />
-    <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
-    <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
-    <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
-    <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
-    <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="true" />
-    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
-    <option name="LAST_COMMIT_MESSAGE" value="remove dependency on DTOParser" />
-    <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
-    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
-    <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
-    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
-    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
-    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
-    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
-    <option name="ACTIVE_VCS_NAME" value="svn" />
-    <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
-    <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
-    <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
-    <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
-    <MESSAGE value="remove dependency on DTOParser" />
-  </component>
-  <component name="VssConfiguration">
-    <option name="CLIENT_PATH" value="" />
-    <option name="SRCSAFEINI_PATH" value="" />
-    <option name="USER_NAME" value="" />
-    <option name="PWD" value="" />
-    <option name="VSS_IS_INITIALIZED" value="true" />
-    <CheckoutOptions>
-      <option name="COMMENT" value="" />
-      <option name="DO_NOT_GET_LATEST_VERSION" value="false" />
-      <option name="REPLACE_WRITABLE" value="false" />
-      <option name="RECURSIVE" value="false" />
-    </CheckoutOptions>
-    <CheckinOptions>
-      <option name="COMMENT" value="" />
-      <option name="KEEP_CHECKED_OUT" value="false" />
-      <option name="RECURSIVE" value="false" />
-    </CheckinOptions>
-    <AddOptions>
-      <option name="STORE_ONLY_LATEST_VERSION" value="false" />
-      <option name="CHECK_OUT_IMMEDIATELY" value="false" />
-      <option name="FILE_TYPE" value="0" />
-    </AddOptions>
-    <UndocheckoutOptions>
-      <option name="MAKE_WRITABLE" value="false" />
-      <option name="REPLACE_LOCAL_COPY" value="0" />
-      <option name="RECURSIVE" value="false" />
-    </UndocheckoutOptions>
-    <GetOptions>
-      <option name="REPLACE_WRITABLE" value="0" />
-      <option name="MAKE_WRITABLE" value="false" />
-      <option name="ANSWER_NEGATIVELY" value="false" />
-      <option name="ANSWER_POSITIVELY" value="false" />
-      <option name="RECURSIVE" value="false" />
-      <option name="VERSION" />
-    </GetOptions>
-    <VssConfigurableExcludedFilesTag />
-  </component>
-  <component name="XDebuggerManager">
-    <breakpoint-manager />
-  </component>
-  <component name="antWorkspaceConfiguration">
-    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
-    <option name="FILTER_TARGETS" value="false" />
-  </component>
-  <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1">
-    <option name="myLastEditedConfigurable" />
-  </component>
-  <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="0.3805061,0.5" version="1">
-    <option name="myPlainMode" value="false" />
-    <option name="myLastEditedConfigurable" value="gui-war" />
-  </component>
-  <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1">
-    <option name="myLastEditedConfigurable" />
-  </component>
-  <component name="editorHistoryManager">
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportLaunchPadView.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="120" column="46" selection-start="4817" selection-end="4817" vertical-scroll-proportion="0.46529564" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/report/UpdateReportConfigAction.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="73" column="18" selection-start="2595" selection-end="2595" vertical-scroll-proportion="0.778058" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/model/JSOModel.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="118" column="40" selection-start="3620" selection-end="3620" vertical-scroll-proportion="1.2812105" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessDetailView.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="72" column="4" selection-start="2593" selection-end="2593" vertical-scroll-proportion="0.50642675" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateInstancesAction.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="71" column="60" selection-start="2781" selection-end="2781" vertical-scroll-proportion="0.7609255" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/model/JSOParser.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="68" column="4" selection-start="2572" selection-end="2572" vertical-scroll-proportion="0.51450187" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="197" column="31" selection-start="6256" selection-end="6256" vertical-scroll-proportion="0.86760926" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="46" column="6" selection-start="1992" selection-end="1992" vertical-scroll-proportion="-2.3444731" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/BootstrapAction.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="40" column="30" selection-start="1690" selection-end="1690" vertical-scroll-proportion="0.2673522" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/MainLayout.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="83" column="67" selection-start="2977" selection-end="2977" vertical-scroll-proportion="0.19151671" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/SettingsEditor.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="65" column="4" selection-start="2077" selection-end="2077" vertical-scroll-proportion="0.27377892" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/report/RenderReportAction.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="63" column="73" selection-start="2347" selection-end="2347" vertical-scroll-proportion="0.69922876" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="196" column="55" selection-start="6563" selection-end="6563" vertical-scroll-proportion="0.781491" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/pom.xml">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="14" column="13" selection-start="533" selection-end="533" vertical-scroll-proportion="0.28791773" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/pom.xml">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="59" column="50" selection-start="2204" selection-end="2204" vertical-scroll-proportion="0.80205655" />
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentDetailView.java">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-  </component>
-</project>
-

Deleted: bpm-console/trunk/bpmc-toplevel.iml
===================================================================
--- bpm-console/trunk/bpmc-toplevel.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/bpmc-toplevel.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,547 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/gui/profiles/drools/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/profiles/drools/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/profiles/jbpm/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/profiles/jbpm/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/profiles/riftsaw/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/war/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/war/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/war/src/test/java" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/gui/war/src/test/resources" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/server/integration/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/server/war/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/server/war/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/server/war/src/test/java" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/shared/rpc/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/shared/rpc/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/workspace/workspace-api/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/workspace/workspace-api/src/main/resources" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="report-server" />
-    <orderEntry type="module" module-name="gui-profiles" />
-    <orderEntry type="module" module-name="server-integration" />
-    <orderEntry type="module" module-name="workspace-api" />
-    <orderEntry type="module" module-name="shared-rpc" />
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.slf4j:slf4j-simple:jar:1.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-simple/1.5.2/slf4j-simple-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-user/1.5.3/gwt-user-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.resteasy:resteasy-jaxrs:jar:1.0.2.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/resteasy/resteasy-jaxrs/1.0.2.GA/resteasy-jaxrs-1.0.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.resteasy:resteasy-multipart-provider:jar:1.0.2.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/resteasy/resteasy-multipart-provider/1.0.2.GA/resteasy-multipart-provider-1.0.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: net.sf.ezmorph:ezmorph:jar:1.0.6:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.slf4j:slf4j-api:jar:1.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javassist:javassist:jar:3.6.0.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javassist/javassist/3.6.0.GA/javassist-3.6.0.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.resteasy:jaxrs-api:jar:1.0.2.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/resteasy/jaxrs-api/1.0.2.GA/jaxrs-api-1.0.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-logging:commons-logging:jar:1.1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: junit:junit:jar:3.8.1:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/junit/junit/3.8.1/junit-3.8.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: net.sf.json-lib:json-lib:jar:2.2.3:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/net/sf/json-lib/json-lib/2.2.3/json-lib-2.2.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.slf4j:slf4j-log4j12:jar:1.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.5.2/slf4j-log4j12-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml:jaxb-impl:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/jaxb-impl/2.1/jaxb-impl-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-fileupload:commons-fileupload:jar:1.2.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-io:commons-io:jar:1.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.annotation:jsr250-api:jar:1.0:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.ejb:ejb-api:jar:3.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-collections:commons-collections:jar:3.2:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2/commons-collections-3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.scannotation:scannotation:jar:1.0.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/scannotation/scannotation/1.0.2/scannotation-1.0.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.javaee:jboss-javaee:jar:5.0.0.GA:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:chartengineapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/chartengineapi/2.3.2/chartengineapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.emf:common:jar:2.4.0:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/emf/common/2.4.0/common-2.4.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:scriptapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/scriptapi/2.3.2/scriptapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:engineapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/engineapi/2.3.2/engineapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-codec:commons-codec:jar:1.3:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:coreapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/coreapi/2.3.2/coreapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: rhino:js:jar:1.6R2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/rhino/js/1.6R2/js-1.6R2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.emf:ecore:jar:2.4.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/emf/ecore/2.4.2/ecore-2.4.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.w3c:flute:jar:1.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/w3c/flute/1.2/flute-1.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.ibm.icu:icu4j:jar:3.8.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/ibm/icu/icu4j/3.8.1/icu4j-3.8.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:modelapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/modelapi/2.3.2/modelapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-discovery:commons-discovery:jar:0.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-discovery/commons-discovery/0.2/commons-discovery-0.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:dataadapterapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/dataadapterapi/2.3.2/dataadapterapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.emf:ecore-xmi:jar:2.4.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/emf/ecore-xmi/2.4.1/ecore-xmi-2.4.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-cli:commons-cli:jar:1.0:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.0/commons-cli-1.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.eclipse.birt:dteapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/dteapi/2.3.2/dteapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.w3c:sac:jar:1.3:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/w3c/sac/1.3/sac-1.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.lowagie:itext:jar:1.3:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/lowagie/itext/1.3/itext-1.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-dev:jar:mac:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-dnd:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic-dnd/0.1.10/gwt-mosaic-dnd-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-gwtx:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic-gwtx/0.1.10/gwt-mosaic-gwtx-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-incubator:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic-incubator/0.1.10/gwt-mosaic-incubator-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-collections:commons-collections:jar:3.2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-servlet/1.5.3/gwt-servlet-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.mvc4g:mvc4g:jar:1.0.0-jboss:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/mvc4g/mvc4g/1.0.0-jboss/mvc4g-1.0.0-jboss.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-beanutils:commons-beanutils:jar:1.7.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.code.gwt-log:gwt-log:jar:2.5.2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gwt-log/gwt-log/2.5.2/gwt-log-2.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic/0.1.10/gwt-mosaic-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-lang:commons-lang:jar:2.4:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-digester:commons-digester:jar:1.8:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-digester/commons-digester/1.8/commons-digester-1.8.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-configuration:commons-configuration:jar:1.6:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-beanutils:commons-beanutils-core:jar:1.8.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-  </component>
-</module>
-

Deleted: bpm-console/trunk/doc/doc.iml
===================================================================
--- bpm-console/trunk/doc/doc.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/doc/doc.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$" />
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>
-

Deleted: bpm-console/trunk/gui/profiles/gui-profiles.iml
===================================================================
--- bpm-console/trunk/gui/profiles/gui-profiles.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/profiles/gui-profiles.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/drools/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/drools/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/jbpm/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/jbpm/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/riftsaw/src/main/resources" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>
-

Modified: bpm-console/trunk/gui/profiles/jbpm/src/main/resources/toolset-profile.properties
===================================================================
--- bpm-console/trunk/gui/profiles/jbpm/src/main/resources/toolset-profile.properties	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/profiles/jbpm/src/main/resources/toolset-profile.properties	2010-03-18 10:32:27 UTC (rev 1008)
@@ -5,4 +5,5 @@
 org.jboss.bpm.console.client.PreferencesModule
 org.jboss.bpm.console.client.ServerStatusModule
 org.jboss.bpm.console.client.process.ProcessModule
+org.jboss.bpm.console.client.process.ProcessHistoryModule
 org.jboss.bpm.console.client.report.ReportModule
\ No newline at end of file

Deleted: bpm-console/trunk/gui/war/gui-war.iml
===================================================================
--- bpm-console/trunk/gui/war/gui-war.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/gui-war.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,214 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="report-server" />
-    <orderEntry type="module" module-name="gui-profiles" />
-    <orderEntry type="module" module-name="workspace-api" />
-    <orderEntry type="module" module-name="shared-rpc" />
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-collections:commons-collections:jar:3.2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-logging:commons-logging:jar:1.1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: junit:junit:jar:3.8.1:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/junit/junit/3.8.1/junit-3.8.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic/0.1.10/gwt-mosaic-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-lang:commons-lang:jar:2.4:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-dev:jar:mac:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-digester:commons-digester:jar:1.8:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-digester/commons-digester/1.8/commons-digester-1.8.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.mvc4g:mvc4g:jar:1.0.0-jboss:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/mvc4g/mvc4g/1.0.0-jboss/mvc4g-1.0.0-jboss.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-dnd:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic-dnd/0.1.10/gwt-mosaic-dnd-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-servlet/1.5.3/gwt-servlet-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-gwtx:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic-gwtx/0.1.10/gwt-mosaic-gwtx-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-user/1.5.3/gwt-user-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-beanutils:commons-beanutils:jar:1.7.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-configuration:commons-configuration:jar:1.6:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-beanutils:commons-beanutils-core:jar:1.8.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-incubator:jar:0.1.10:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/googlecode/gwtmosaic/gwt-mosaic-incubator/0.1.10/gwt-mosaic-incubator-0.1.10.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.code.gwt-log:gwt-log:jar:2.5.2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gwt-log/gwt-log/2.5.2/gwt-log-2.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-  </component>
-</module>
-

Modified: bpm-console/trunk/gui/war/pom.xml
===================================================================
--- bpm-console/trunk/gui/war/pom.xml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/pom.xml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -15,10 +15,7 @@
     </parent>
 
     <properties>
-        <gwt-maven.version>2.0-RC1</gwt-maven.version>
-        <mvel.version>2.0.16</mvel.version>
-        <guice.version>2.0</guice.version>
-        <slf4j.version>1.5.2</slf4j.version>
+        <gwt-maven.version>2.0-RC1</gwt-maven.version>        
     </properties>
 
     <!--  Dependencies -->
@@ -125,7 +122,7 @@
         <!-- GWT extensions -->
 
         <!-- Mosaic -->
-        <dependency>
+        <!--dependency>
             <groupId>com.googlecode.gwtmosaic</groupId>
             <artifactId>gwt-mosaic</artifactId>
             <scope>provided</scope>
@@ -145,23 +142,11 @@
 
         <dependency>
             <groupId>com.googlecode.gwtmosaic</groupId>
-            <artifactId>gwt-incubator</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>com.googlecode.gwtmosaic</groupId>
             <artifactId>gwtx</artifactId>
             <scope>provided</scope>
-        </dependency>
+        </dependency-->
 
         <dependency>
-            <groupId>com.google.code.gwt-log</groupId>
-            <artifactId>gwt-log</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
             <groupId>com.googlecode.mvc4g</groupId>
             <artifactId>mvc4g</artifactId>
             <scope>provided</scope>
@@ -228,6 +213,13 @@
             </exclusions>
             <scope>provided</scope>
         </dependency>
+
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.9</version>
+        </dependency>
+
     </dependencies>
 
     <!-- Plugins -->
@@ -388,7 +380,7 @@
                     <artifactId>gwt-console-profile-jbpm</artifactId>
                     <version>${version}</version>
                     <scope>provided</scope>
-                </dependency>               
+                </dependency>
             </dependencies>
             <properties>
                 <console.app.webcontext>jbpm-console</console.app.webcontext>

Modified: bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/HttpClient.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/HttpClient.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/HttpClient.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -252,6 +252,7 @@
 
       return (this.urlConnection.getInputStream());
     } catch (Exception e) {
+      System.out.println("Failed to open " + this.urlConnection.getURL());
       e.printStackTrace();
       return null;
     }

Modified: bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/XmlHttpProxyServlet.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/XmlHttpProxyServlet.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/jmaki/xhp/XmlHttpProxyServlet.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -53,7 +53,8 @@
   private static String testPass;
 
   private static String setCookie;
-  
+  private String configResource = null;
+
   public XmlHttpProxyServlet() {
     if (rDebug) {
       logger = getLogger();
@@ -126,6 +127,12 @@
     } else {
       xhp = new XmlHttpProxy();
     }
+
+    // config override
+    String servletName = config.getServletName();
+    String configName = config.getInitParameter("config.name");
+    configResource = configName!=null ? configName : XHP_CONFIG;
+    System.out.println("Configure "+servletName + " through "+configResource);       
   }
 
   private void getServices(HttpServletResponse res)
@@ -133,10 +140,10 @@
     InputStream is = null;
     try
     {
-      URL url = ctx.getResource(resourcesDir + XHP_CONFIG);
+      URL url = ctx.getResource(resourcesDir + configResource);
       // use classpath if not found locally.
       //if (url == null) url = XmlHttpProxyServlet.class.getResource(classpathResourcesDir + XHP_CONFIG);
-      if (url == null) url = XmlHttpProxyServlet.class.getResource(XHP_CONFIG);  // same package
+      if (url == null) url = XmlHttpProxyServlet.class.getResource(configResource);  // same package
       is = url.openStream();
     }
     catch (Exception ex)
@@ -316,10 +323,8 @@
 
             // override service url and url params
             String path = req.getRequestURI();
-            if(path.indexOf("xhp/")!=-1)
-              path = path.substring(path.indexOf("xhp/")+3, path.length());
-            else
-              path = path.substring(path.indexOf("xhp")+3, path.length());
+            String servletPath = req.getServletPath();
+            path = path.substring(path.indexOf(servletPath)+servletPath.length(), path.length());
 
             StringTokenizer tok = new StringTokenizer(path, "/");
             while(tok.hasMoreTokens())
@@ -331,7 +336,8 @@
                 sb.append("/").append(URLEncoder.encode(token));
             }
 
-            sb.append("?").append(req.getQueryString());
+            if(req.getQueryString()!=null)
+              sb.append("?").append(req.getQueryString());
 
             urlString = sb.toString();
           }
@@ -482,7 +488,7 @@
    */
   private boolean configUpdated() {
     try {
-      URL url = ctx.getResource(resourcesDir + XHP_CONFIG);
+      URL url = ctx.getResource(resourcesDir + configResource);
       URLConnection con;
       if (url == null) return false ;
       con = url.openConnection();

Modified: 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/Application.gwt.xml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/Application.gwt.xml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -13,19 +13,7 @@
     <inherits name="org.jboss.errai.common.ErraiCommon"/>
     <inherits name="org.jboss.errai.bus.ErraiBus" />
     <inherits name="org.jboss.errai.workspaces.ErraiWorkspaces" />
-
-    <!-- Add gwt-log support, default level `DEBUG` -->
-    <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
-    <set-property name="log_ConsoleLogger" value="ENABLED" />
-    <set-property name="log_DivLogger" value="DISABLED" />
-    <set-property name="log_GWTLogger" value="ENABLED" />
-    <set-property name="log_SystemLogger" value="ENABLED" />
-
-    <!-- Loggers Disabled by default -->
-    <set-property name="log_FirebugLogger" value="DISABLED" />
-    <set-property name="log_RemoteLogger" value="DISABLED" />
-    <set-property name="log_WindowLogger" value="DISABLED" />
-    
+ 
     <!-- reporting -->
     <inherits name='org.jboss.bpm.report.BPMReport' />
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/URLBuilder.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/URLBuilder.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/URLBuilder.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -21,6 +21,8 @@
  */
 package org.jboss.bpm.console.client;
 
+import java.util.List;
+
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.http.client.URL;
 import org.jboss.bpm.console.client.model.ProcessInstanceRef;
@@ -223,4 +225,30 @@
     String encodedId = URL.encode(id);
     return config.getConsoleServerUrl() + "/rs/engine/job/"+encodedId+"/execute";
   }
+  
+  public String getInstanceHistoryURL(String instanceId)
+  {
+    return config.getConsoleServerUrl() + "/rs/process/instance/history/" + instanceId;
+  }
+  
+  public String getDefinitionHistoryURL(String definitionId)
+  {
+    return config.getConsoleServerUrl() + "/rs/process/definition/history/" + definitionId;
+  }
+  
+  public String getDefinitionHistoryNodeInfoURL(String definitionId, List<String> activities)
+  {
+    StringBuffer queryString = new StringBuffer();
+    boolean isFirst = true;
+    for (String activity : activities) {
+      if (isFirst) {
+        queryString.append("activity=" + activity);
+        isFirst = false;
+      } else {
+        queryString.append("&activity=" + activity);
+      }
+    }
+    
+    return config.getConsoleServerUrl() + "/rs/process/definition/history/" + definitionId + "/nodeInfo?" + queryString.toString();
+  }
 }

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -23,8 +23,6 @@
 
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
-import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.Timer;
 import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.ChangeListener;
@@ -36,14 +34,16 @@
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.MessageBox;
 import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
 import org.gwt.mosaic.ui.client.layout.*;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
 import org.jboss.bpm.console.client.common.DataDriven;
 import org.jboss.bpm.console.client.common.LoadingOverlay;
 import org.jboss.bpm.console.client.model.DeploymentRef;
 import org.jboss.bpm.console.client.util.SimpleDateFormat;
+import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
 import org.jboss.errai.workspaces.client.api.WidgetProvider;
-import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
 import org.jboss.errai.workspaces.client.framework.Registry;
 
 import java.util.List;

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/JobListView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -23,8 +23,6 @@
 
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
-import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.Timer;
 import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.ChangeListener;
@@ -35,6 +33,8 @@
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.MessageBox;
 import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
 import org.gwt.mosaic.ui.client.layout.MosaicPanel;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -22,8 +22,10 @@
 package org.jboss.bpm.console.client.model;
 
 import com.google.gwt.json.client.*;
+
 import org.jboss.bpm.console.client.util.ConsoleLog;
 import org.jboss.bpm.console.client.util.JSONWalk;
+import org.jboss.bpm.console.client.util.JSONWalk.JSONWrapper;
 
 import java.util.ArrayList;
 import java.util.Date;
@@ -337,4 +339,39 @@
 
     return result;
   }  
+  
+  public static List<ActiveNodeInfo> parseActiveNodeInfo(String json) {
+    ConsoleLog.debug("Parse: " + json);
+
+    List<ActiveNodeInfo> activeNodeInfos = new ArrayList<ActiveNodeInfo>();
+    JSONValue root = JSONParser.parse(json);
+    //int diagramWidth = JSONWalk.on(root).next("diagramWidth").asInt();
+    //int diagramHeight = JSONWalk.on(root).next("diagramHeight").asInt();
+
+    if (root instanceof JSONArray) {
+        JSONArray array = (JSONArray) root;
+        
+        for (int i = 0; i < array.size(); i++) {
+            JSONWalk walk = JSONWalk.on(array.get(i));
+            JSONWrapper wrapper = walk.next("activeNode");
+            JSONObject activeNode = wrapper.asObject();
+        
+            int x = JSONWalk.on(activeNode).next("x").asInt();
+            int y = JSONWalk.on(activeNode).next("y").asInt();
+        
+            int width = JSONWalk.on(activeNode).next("width").asInt();
+            int height = JSONWalk.on(activeNode).next("height").asInt();
+            String name = JSONWalk.on(activeNode).next("name").asString();
+                        
+            activeNodeInfos.add(
+                new ActiveNodeInfo(
+                    -1, -1,
+                    new DiagramNodeInfo(name, x, y, width, height)
+                )
+            );
+            wrapper = walk.next("activeNode");
+        }
+      }
+    return activeNodeInfos;
+  }
 }

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/JSOParser.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/JSOParser.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/model/JSOParser.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -165,6 +165,71 @@
 
     return status;
   }
+  
+  public static List<HistoryActivityInstanceRef> parseProcessInstanceHistory(String json)
+  {
+   
+    List<HistoryActivityInstanceRef> results = new ArrayList<HistoryActivityInstanceRef>();
+    JSOModel rootModel = JSOModel.fromJson(json);
+    
+    JsArray<JSOModel> historyEntires = rootModel.getArray("historyEntires");
+    
+    for(int i=0; i<historyEntires.length(); i++)
+    {
+      JSOModel entry = historyEntires.get(i);
+      results.add(parseProcessInstanceHistory(entry));
+    }
+
+    return results;
+  }
+  
+  public static HistoryActivityInstanceRef parseProcessInstanceHistory(JSOModel rootModel)
+  {
+    HistoryActivityInstanceRef def = new HistoryActivityInstanceRef();
+
+    def.setActivityName(rootModel.get("activityName"));
+    def.setStartTime(rootModel.getDate("startTime"));
+    def.setEndTime(rootModel.getDate("endTime"));
+    def.setExecutionId(rootModel.get("executionId"));
+    def.setDuration(rootModel.getLong("duration"));
+
+    
+    return def;
+  }
+  
+  public static List<HistoryProcessInstanceRef> parseProcessDefinitionHistory(String json)
+  {
+   
+    List<HistoryProcessInstanceRef> results = new ArrayList<HistoryProcessInstanceRef>();
+    JSOModel rootModel = JSOModel.fromJson(json);
+    
+    JsArray<JSOModel> historyEntires = rootModel.getArray("historyEntires");
+    
+    for(int i=0; i<historyEntires.length(); i++)
+    {
+      JSOModel entry = historyEntires.get(i);
+      results.add(parseProcessDefinitionHistory(entry));
+    }
+
+    return results;
+  }
+  
+  public static HistoryProcessInstanceRef parseProcessDefinitionHistory(JSOModel rootModel)
+  {
+    HistoryProcessInstanceRef def = new HistoryProcessInstanceRef();
+
+    def.setProcessDefinitionId(rootModel.get("processDefinitionId"));
+    def.setProcessInstanceId(rootModel.get("processInstanceId"));
+    def.setStartTime(rootModel.getDate("startTime"));
+    def.setEndTime(rootModel.getDate("endTime"));
+    def.setEndActivityName(rootModel.get("endActivityName"));
+    def.setState(rootModel.get("state"));
+    def.setKey(rootModel.get("key"));
+    def.setDuration(rootModel.getLong("duration"));
+
+    
+    return def;
+  }
 }
 
 

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ActivityDiagramView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ActivityDiagramView.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ActivityDiagramView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -85,7 +85,8 @@
         	"<div id=\"imageContainer\" style=\"position:relative;top:-1;left:-1;\">" +
         		"<img src=\""+imageUrl+"\" style=\"position:absolute;top:0;left:0\" />";
     for (ActiveNodeInfo activeNodeInfo: activeNodeInfos) {
-    	s+= 	"<div class=\"bpm-graphView-activityImage\" style=\"position:absolute;top:"+ (activeNodeInfo.getActiveNode().getY()-8) +"px;left:"+(activeNodeInfo.getActiveNode().getX()-8)+"px;width:50px;height:50px; z-index:1000;\"></div>";
+      
+    	s+= 	"<div class=\"bpm-graphView-activityImage\" style=\"position:absolute;top:"+ (activeNodeInfo.getActiveNode().getY()-8) +"px;left:"+(activeNodeInfo.getActiveNode().getX()-8)+"px;width:50px;height:50px; z-index:1000;background-image: url(images/icons/play_red_big.png);background-repeat:no-repeat;\"></div>";
     }
     s+= 	"</div>" +
     	"</div>";

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionHistoryListView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionHistoryListView.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionHistoryListView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,347 @@
+/*
+ * 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.jboss.bpm.console.client.process;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.gwt.mosaic.ui.client.ListBox;
+import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
+import org.gwt.mosaic.ui.client.layout.BoxLayout;
+import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
+import org.gwt.mosaic.ui.client.list.DefaultListModel;
+import org.gwt.mosaic.ui.client.table.AbstractScrollTable;
+import org.jboss.bpm.console.client.common.DataDriven;
+import org.jboss.bpm.console.client.common.LoadingOverlay;
+import org.jboss.bpm.console.client.common.Model;
+import org.jboss.bpm.console.client.common.ModelCommands;
+import org.jboss.bpm.console.client.common.ModelParts;
+import org.jboss.bpm.console.client.common.PagingCallback;
+import org.jboss.bpm.console.client.common.PagingPanel;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.errai.bus.client.ErraiBus;
+import org.jboss.errai.bus.client.api.Message;
+import org.jboss.errai.bus.client.api.MessageCallback;
+import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
+import org.jboss.errai.workspaces.client.api.WidgetProvider;
+import org.jboss.errai.workspaces.client.framework.Registry;
+
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.Command;
+import com.google.gwt.user.client.DeferredCommand;
+import com.google.gwt.user.client.Timer;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.HTML;
+import com.mvc4g.client.Controller;
+import com.mvc4g.client.Event;
+import com.mvc4g.client.ViewInterface;
+
+/**
+ * Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+public class DefinitionHistoryListView implements WidgetProvider, ViewInterface, DataDriven
+{
+  public final static String ID = DefinitionHistoryListView.class.getName();
+
+  private Controller controller;
+
+  private MosaicPanel definitionList = null;
+
+  private ListBox<ProcessDefinitionRef> listBox;
+
+  private boolean isInitialized;
+
+  private List<ProcessDefinitionRef> definitions = null;
+  private PagingPanel pagingPanel;
+
+  private MosaicPanel panel;
+  
+  public void provideWidget(ProvisioningCallback callback)
+  {
+
+    panel = new MosaicPanel();
+    panel.setWidgetSpacing(0);
+    panel.setPadding(0);
+    
+    listBox = createListBox();
+    final Controller controller = Registry.get(Controller.class);
+    controller.addView(ID, this);
+
+    controller.addAction(UpdateHistoryDefinitionAction.ID, new UpdateHistoryDefinitionAction());
+    controller.addAction(UpdateHistoryInstanceAction.ID, new UpdateHistoryInstanceAction());
+    controller.addAction(LoadHistoryDiagramAction.ID, new LoadHistoryDiagramAction());
+    controller.addAction(UpdateHistoryDefinitionsAction.ID, new UpdateHistoryDefinitionsAction());
+
+
+    initialize();
+    
+    Timer t = new Timer()
+    {
+      @Override
+      public void run()
+      {
+        controller.handleEvent(
+            new Event(UpdateHistoryDefinitionsAction.ID, null)
+        );
+      }
+    };
+
+    t.schedule(500);
+
+    callback.onSuccess(panel);
+  }
+
+  public boolean isInitialized()
+  {
+    return isInitialized;
+  }
+
+  public void initialize()
+  {
+    if(!isInitialized)
+    {
+
+      definitionList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      definitionList.setPadding(0);
+      definitionList.setWidgetSpacing(0);
+
+      // toolbar
+
+      final MosaicPanel toolBox = new MosaicPanel();
+      toolBox.setPadding(0);
+      toolBox.setWidgetSpacing(0);
+      toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
+
+      // toolbar
+      final ToolBar toolBar = new ToolBar();      
+      ClickHandler clickHandler = new ClickHandler()
+      {
+        public void onClick(ClickEvent clickEvent)
+        {
+          reload();
+        }
+      };
+      
+      toolBar.add(
+          new Button("Refresh", clickHandler
+          )
+      );
+
+      toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+
+      definitionList.add(toolBox, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+    
+      definitionList.add(listBox, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
+      pagingPanel = new PagingPanel(
+          new PagingCallback()
+          {
+            public void rev()
+            {
+              renderFiltered();
+            }
+
+            public void ffw()
+            {
+              renderFiltered();
+            }
+          }
+      );
+      definitionList.add(pagingPanel,new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+
+      
+      panel.add(definitionList);
+
+      // deployments model listener
+      ErraiBus.get().subscribe(Model.SUBJECT,
+          new MessageCallback()
+      {
+        public void callback(Message message)
+        {
+          switch (ModelCommands.valueOf(message.getCommandType()))
+          {
+            case HAS_BEEN_UPDATED:
+              if(message.get(String.class, ModelParts.CLASS).equals(Model.DEPLOYMENT_MODEL))
+                reload();
+              break;
+          }
+        }
+      });
+
+      isInitialized = true;
+    }
+  }
+
+  private void reload()
+  {
+    DeferredCommand.addCommand(
+        new Command()
+        {
+          public void execute()
+          {
+            final DefaultListModel<ProcessDefinitionRef> model =
+                (DefaultListModel<ProcessDefinitionRef>) listBox.getModel();
+            model.clear();
+
+            // force loading
+            controller.handleEvent(
+                new Event(UpdateHistoryDefinitionsAction.ID, null)
+            );
+          }
+        }
+    );
+  }
+
+  private ListBox<ProcessDefinitionRef> createListBox()
+  {
+    final ListBox<ProcessDefinitionRef> listBox =
+        new ListBox<ProcessDefinitionRef>(
+            new String[] {
+                "<b>Process</b>", "v."//, "Version", "Suspended"
+            }
+        );
+    
+    listBox.setFocus(true);    
+
+    listBox.setCellRenderer(new ListBox.CellRenderer<ProcessDefinitionRef>() {
+      public void renderCell(ListBox<ProcessDefinitionRef> listBox, int row, int column,
+                             ProcessDefinitionRef item) {
+        switch (column) {
+          case 0:
+            
+            String name = item.getName();
+            String s = name.indexOf("}") > 0 ?
+                name.substring(name.lastIndexOf("}")+1, name.length()) : name;
+
+            String color= item.isSuspended() ? "#CCCCCC" : "#000000";
+            String text = "<div style=\"color:"+color+"\">"+ s +"</div>";            
+
+            listBox.setWidget(row, column, new HTML(text));
+            break;
+          case 1:
+            listBox.setText(row, column, String.valueOf(item.getVersion()));
+            break;
+          case 2:
+            listBox.setText(row, column, String.valueOf(item.isSuspended()));
+            break;
+          default:
+            throw new RuntimeException("Unexpected column size");
+        }
+      }
+    });
+
+    listBox.setMinimumColumnWidth(0, 190);
+    listBox.setColumnResizePolicy(AbstractScrollTable.ColumnResizePolicy.MULTI_CELL);
+    
+    listBox.addRowSelectionHandler(
+        new RowSelectionHandler()
+        {
+          public void onRowSelection(RowSelectionEvent rowSelectionEvent)
+          {
+            int index = listBox.getSelectedIndex();
+            if(index!=-1)
+            {
+              ProcessDefinitionRef item = listBox.getItem(index);
+                
+              // load history instances
+              controller.handleEvent(
+                  new Event(
+                      UpdateHistoryDefinitionAction.ID,
+                      item
+                  )
+              );
+                
+              
+            }
+          }
+        }
+    );
+    
+    return listBox;
+  }
+
+
+  public void setController(Controller controller)
+  {
+    this.controller = controller;
+  }
+
+  public void reset()
+  {
+    final DefaultListModel<ProcessDefinitionRef> model =
+        (DefaultListModel<ProcessDefinitionRef>) listBox.getModel();
+
+    model.clear();
+
+  }
+
+  public void update(Object... data)
+  {
+    this.definitions = (List<ProcessDefinitionRef>) data[0];
+    pagingPanel.reset();
+    renderFiltered();
+  }
+
+  public void setLoading(boolean isLoading)
+  {
+    LoadingOverlay.on(panel, isLoading);
+  }
+
+  private void renderFiltered()
+  {
+    if(this.definitions!=null)
+    {
+      reset();
+
+      final DefaultListModel<ProcessDefinitionRef> model =
+          (DefaultListModel<ProcessDefinitionRef>) listBox.getModel();      
+
+      List<ProcessDefinitionRef> tmp = new ArrayList<ProcessDefinitionRef>();
+      for(ProcessDefinitionRef def : definitions)
+      {
+        
+        tmp.add(def);
+        
+      }
+
+      for(ProcessDefinitionRef def : (List<ProcessDefinitionRef>) pagingPanel.trim(tmp) )
+        model.add(def);
+
+      if(listBox.getSelectedIndex()!=-1)
+        listBox.setItemSelected(listBox.getSelectedIndex(), false);
+
+    }
+  }
+
+  public ProcessDefinitionRef getSelection()
+  {
+    ProcessDefinitionRef selection = null;
+    if(isInitialized() && listBox.getSelectedIndex()!=-1)
+      selection = listBox.getItem( listBox.getSelectedIndex());
+    return selection;
+  }
+
+}
+

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -25,9 +25,6 @@
 import com.google.gwt.event.dom.client.ChangeHandler;
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.gen2.table.client.AbstractScrollTable;
-import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
-import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.Command;
 import com.google.gwt.user.client.DeferredCommand;
 import com.google.gwt.user.client.Timer;
@@ -38,10 +35,13 @@
 import com.mvc4g.client.ViewInterface;
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
 import org.gwt.mosaic.ui.client.layout.BoxLayout;
 import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
 import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
+import org.gwt.mosaic.ui.client.table.AbstractScrollTable;
 import org.jboss.bpm.console.client.common.*;
 import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
 import org.jboss.errai.bus.client.ErraiBus;

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/HistoryInstanceListView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/HistoryInstanceListView.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/HistoryInstanceListView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,441 @@
+/*
+ * 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.jboss.bpm.console.client.process;
+
+import com.google.gwt.event.dom.client.ClickEvent;
+import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.Label;
+import com.mvc4g.client.Controller;
+import com.mvc4g.client.Event;
+import com.mvc4g.client.ViewInterface;
+import org.gwt.mosaic.ui.client.ListBox;
+import org.gwt.mosaic.ui.client.MessageBox;
+import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
+import org.gwt.mosaic.ui.client.layout.*;
+import org.gwt.mosaic.ui.client.list.DefaultListModel;
+import org.jboss.bpm.console.client.ApplicationContext;
+import org.jboss.bpm.console.client.common.*;
+import org.jboss.bpm.console.client.model.HistoryActivityInstanceRef;
+import org.jboss.bpm.console.client.model.HistoryProcessInstanceRef;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.bpm.console.client.process.events.HistoryActivityDiagramEvent;
+import org.jboss.bpm.console.client.util.SimpleDateFormat;
+import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
+import org.jboss.errai.workspaces.client.api.WidgetProvider;
+import org.jboss.errai.workspaces.client.framework.Registry;
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+/**
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+public class HistoryInstanceListView implements WidgetProvider, ViewInterface, DataDriven
+{
+  public final static String ID = HistoryInstanceListView.class.getName();
+
+  private Controller controller;
+
+  private MosaicPanel instanceList = null;
+
+  private ListBox<HistoryProcessInstanceRef> listBoxHistory;
+
+  private ListBox<HistoryActivityInstanceRef> listBoxInstanceActivity;
+
+  private ProcessDefinitionRef currentDefinition;
+
+  private boolean isInitialized;
+
+  private List<HistoryProcessInstanceRef> cachedInstances = null;
+
+  private List<HistoryActivityInstanceRef> cachedInstancesActivity = null;
+
+  private List<String> executedActivities = null;
+
+  private SimpleDateFormat dateFormat = new SimpleDateFormat();
+
+  private ApplicationContext appContext;
+
+  private PagingPanel pagingPanel;
+
+  MosaicPanel panel;
+
+  private Button diagramBtn;
+
+  private WidgetWindowPanel diagramWindowPanel;
+
+  private ActivityDiagramView diagramView;
+
+  public void provideWidget(ProvisioningCallback callback)
+  {
+
+    this.appContext = Registry.get(ApplicationContext.class);
+    
+    panel = new MosaicPanel();
+    panel.setPadding(0);
+
+    Registry.get(Controller.class).addView(ID, this);
+    initialize();
+
+    callback.onSuccess(panel);
+  }
+
+  public boolean isInitialized()
+  {
+    return isInitialized;
+  }
+
+  public void initialize()
+  {
+    if(!isInitialized)
+    {
+      instanceList = new MosaicPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+      instanceList.setPadding(0);
+      instanceList.setWidgetSpacing(0);
+
+      // create history list box elements
+      listBoxHistory = createHistoryListBox();
+      // create list of activities executed for currently selected history process instance
+      this.listBoxInstanceActivity = createHistoryActivitiesListBox();
+
+      // toolbar
+      final MosaicPanel toolBox = new MosaicPanel();
+
+      toolBox.setPadding(0);
+      toolBox.setWidgetSpacing(5);
+      toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
+
+      final ToolBar toolBar = new ToolBar();
+      toolBar.add(
+          new Button("Refresh", new ClickHandler() {
+
+            public void onClick(ClickEvent clickEvent)
+            {
+
+              controller.handleEvent(
+                  new Event(
+                      UpdateHistoryDefinitionAction.ID,
+                      getCurrentDefinition()
+                  )
+              );
+            }
+          }
+          )
+      );
+
+      diagramBtn = new Button("Diagram", new ClickHandler()
+      {
+        public void onClick(ClickEvent clickEvent)
+        {
+          String diagramUrl = currentDefinition.getDiagramUrl();
+          if (currentDefinition != null && executedActivities != null) {
+            HistoryActivityDiagramEvent eventData = new HistoryActivityDiagramEvent(currentDefinition, executedActivities);
+            if(diagramUrl !=null && !diagramUrl.equals(""))
+            {
+              createDiagramWindow();
+              controller.handleEvent(
+                  new Event(LoadHistoryDiagramAction.ID, eventData)
+              );
+
+            }
+            else
+            {
+              MessageBox.alert("Incomplete deployment", "No diagram associated with process");
+            }
+          }
+        }
+      }
+      );
+
+
+
+      // terminate works on any BPM Engine
+      toolBar.add(diagramBtn);
+      diagramBtn.setEnabled(false);
+
+      toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+
+
+      instanceList.add(toolBox, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+      instanceList.add(listBoxHistory, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
+
+      pagingPanel = new PagingPanel(
+          new PagingCallback()
+          {
+            public void rev()
+            {
+              renderUpdate();
+            }
+
+            public void ffw()
+            {
+              renderUpdate();
+            }
+          }
+      );
+      instanceList.add(pagingPanel, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+      instanceList.add(listBoxInstanceActivity, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
+
+
+      // cached data?
+      if(this.cachedInstances!=null)
+        bindData(this.cachedInstances);
+
+      // layout
+      MosaicPanel layout = new MosaicPanel(new BorderLayout());
+      layout.setPadding(0);
+      layout.add(instanceList, new BorderLayoutData(BorderLayout.Region.CENTER));
+
+
+      panel.add(layout);
+
+      isInitialized = true;
+
+      this.executedActivities = new ArrayList<String>();
+
+    }
+  }
+
+  public HistoryProcessInstanceRef getSelection()
+  {
+    HistoryProcessInstanceRef selection = null;
+    if(listBoxHistory.getSelectedIndex()!=-1)
+      selection = listBoxHistory.getItem( listBoxHistory.getSelectedIndex());
+    return selection;
+  }
+
+  public ProcessDefinitionRef getCurrentDefinition()
+  {
+    return this.currentDefinition;
+  }
+
+  public void setController(Controller controller)
+  {
+    this.controller = controller;
+
+    this.diagramView = new ActivityDiagramView();
+
+    controller.addView(ActivityDiagramView.ID, diagramView);
+  }
+
+  public void reset()
+  {
+    this.currentDefinition = null;
+    this.cachedInstances = new ArrayList<HistoryProcessInstanceRef>();
+    renderUpdate();
+
+    diagramBtn.setEnabled(false);
+  }
+
+  public void update(Object... data)
+  {
+    if (data[0] instanceof ProcessDefinitionRef) {
+      // fill in list box for finished process instances for current definition
+      this.currentDefinition = (ProcessDefinitionRef)data[0];
+      this.cachedInstances = (List<HistoryProcessInstanceRef>)data[1];
+
+      //if(isInitialized()) pagingPanel.reset();
+      renderUpdate();
+
+      //clear activity list box
+      final DefaultListModel<HistoryActivityInstanceRef> model =
+          (DefaultListModel<HistoryActivityInstanceRef>) listBoxInstanceActivity.getModel();
+
+      model.clear();
+      diagramBtn.setEnabled(false);
+    }
+    else
+    {
+      // fill in list box of activities executed for currently selected process instance
+      this.cachedInstancesActivity = (List<HistoryActivityInstanceRef>) data[0];
+
+      renderHistoryActivityList();
+    }
+  }
+
+  public void setLoading(boolean isLoading)
+  {
+    LoadingOverlay.on(instanceList, isLoading);
+  }
+
+  private void renderUpdate()
+  {
+    if(isInitialized())
+    {
+      bindData(this.cachedInstances);
+
+
+    }
+  }
+
+  private void bindData(List<HistoryProcessInstanceRef> instances)
+  {
+    final DefaultListModel<HistoryProcessInstanceRef> model =
+        (DefaultListModel<HistoryProcessInstanceRef>) listBoxHistory.getModel();
+    model.clear();
+
+    List<HistoryProcessInstanceRef> list = pagingPanel.trim(instances);
+    for(HistoryProcessInstanceRef inst : list)
+    {
+      model.add(inst);
+    }
+
+    // layout again
+    panel.invalidate();
+  }
+
+  private void renderHistoryActivityList()
+  {
+
+    if(this.cachedInstancesActivity!=null)
+    {
+
+      final DefaultListModel<HistoryActivityInstanceRef> model =
+          (DefaultListModel<HistoryActivityInstanceRef>) listBoxInstanceActivity.getModel();
+
+      model.clear();
+      this.executedActivities.clear();
+
+      for(HistoryActivityInstanceRef def : cachedInstancesActivity)
+      {
+
+        model.add(def);
+        this.executedActivities.add(def.getActivityName());
+
+      }
+
+      if(listBoxInstanceActivity.getSelectedIndex()!=-1)
+        listBoxInstanceActivity.setItemSelected(listBoxInstanceActivity.getSelectedIndex(), false);
+
+    }
+  }
+
+
+  protected ListBox<HistoryProcessInstanceRef> createHistoryListBox() {
+    listBoxHistory = new ListBox<HistoryProcessInstanceRef>(new String[] { "<b>Instance</b>", "State", "Start Date", "End Date", "Duration" });
+
+    listBoxHistory.setCellRenderer(new ListBox.CellRenderer<HistoryProcessInstanceRef>() {
+
+      public void renderCell(ListBox<HistoryProcessInstanceRef> listBox, int row, int column, HistoryProcessInstanceRef item) {
+        switch (column) {
+          case 0:
+            listBox.setText(row, column, item.getProcessInstanceId());
+            break;
+          case 1:
+            listBox.setText(row, column, item.getState().toString());
+            break;
+          case 2:
+            String d = item.getStartTime() != null ? dateFormat.format(item.getStartTime()) : "";
+            listBox.setText(row, column, d);
+            break;
+          case 3:
+            String de = item.getEndTime() != null ? dateFormat.format(item.getEndTime()) : "";
+            listBox.setText(row, column, de);
+            break;
+          case 4:
+            listBox.setText(row, column, String.valueOf(item.getDuration()));
+            break;
+          default:
+            throw new RuntimeException("Unexpected column size");
+        }
+      }
+    });
+
+    listBoxHistory.addRowSelectionHandler(new RowSelectionHandler() {
+
+      public void onRowSelection(RowSelectionEvent rowSelectionEvent) {
+        int index = listBoxHistory.getSelectedIndex();
+        if (index != -1) {
+          HistoryProcessInstanceRef item = listBoxHistory.getItem(index);
+
+          // update details
+          controller.handleEvent(new Event(UpdateHistoryInstanceAction.ID,  item.getProcessInstanceId()));
+
+          diagramBtn.setEnabled(true);
+        }
+      }
+    });
+
+    return listBoxHistory;
+  }
+
+  private ListBox<HistoryActivityInstanceRef> createHistoryActivitiesListBox()
+  {
+    final ListBox<HistoryActivityInstanceRef> listBox =
+        new ListBox<HistoryActivityInstanceRef>(
+            new String[] {
+                "ActivityName", "StartTime", "EndTime", "Duration"
+            }
+        );
+    
+    listBox.setCellRenderer(new ListBox.CellRenderer<HistoryActivityInstanceRef>() {
+      public void renderCell(ListBox<HistoryActivityInstanceRef> listBox, int row, int column,
+                             HistoryActivityInstanceRef item) {
+        switch (column) {
+          case 0:
+            listBox.setText(row, column, item.getActivityName());
+            break;
+          case 1:
+            listBox.setText(row, column, String.valueOf(item.getStartTime()));
+            break;
+          case 2:
+            listBox.setText(row, column, String.valueOf(item.getEndTime()));
+            break;
+          case 3:
+            listBox.setText(row, column, String.valueOf(item.getDuration()));
+            break;
+          default:
+            throw new RuntimeException("Unexpected column size");
+        }
+      }
+    });
+
+
+
+    return listBox;
+  }
+
+  private void createDiagramWindow()
+  {
+
+    MosaicPanel layout = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+    layout.setStyleName("bpm-window-layout");
+    layout.setPadding(5);
+
+    Label header = new Label("Instance: ");
+    header.setStyleName("bpm-label-header");
+    layout.add(header, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+
+    layout.add(diagramView, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
+
+    diagramWindowPanel = new WidgetWindowPanel(
+        "Process Instance Activity",
+        layout, true
+    );
+
+  }
+}
+

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDataView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -21,7 +21,6 @@
  */
 package org.jboss.bpm.console.client.process;
 
-import com.google.gwt.gen2.table.client.AbstractScrollTable;
 import com.google.gwt.xml.client.Document;
 import com.google.gwt.xml.client.NamedNodeMap;
 import com.google.gwt.xml.client.Node;
@@ -30,6 +29,7 @@
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.layout.MosaicPanel;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
+import org.gwt.mosaic.ui.client.table.AbstractScrollTable;
 import org.jboss.bpm.console.client.ApplicationContext;
 import org.jboss.bpm.console.client.LazyPanel;
 import org.jboss.bpm.console.client.util.ConsoleLog;

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -23,16 +23,15 @@
 
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
-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.Button;
-import com.google.gwt.user.client.ui.HTML;
 import com.mvc4g.client.Controller;
 import com.mvc4g.client.Event;
 import com.mvc4g.client.ViewInterface;
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.MessageBox;
 import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
 import org.gwt.mosaic.ui.client.layout.*;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
 import org.jboss.bpm.console.client.ApplicationContext;

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/JSONTree.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/JSONTree.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/JSONTree.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -27,8 +27,6 @@
 import com.google.gwt.user.client.ui.ScrollPanel;
 import com.google.gwt.user.client.ui.Tree;
 import com.google.gwt.user.client.ui.TreeItem;
-import com.google.gwt.widgetideas.client.FastTree;
-import com.google.gwt.widgetideas.client.FastTreeItem;
 import org.jboss.bpm.console.client.util.ConsoleLog;
 
 public class JSONTree extends ScrollPanel

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadActivityDiagramAction.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadActivityDiagramAction.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadActivityDiagramAction.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -21,25 +21,18 @@
  */
 package org.jboss.bpm.console.client.process;
 
-import com.google.gwt.http.client.RequestBuilder;
-import com.google.gwt.http.client.Response;
-import com.google.gwt.json.client.JSONArray;
-import com.google.gwt.json.client.JSONObject;
-import com.google.gwt.json.client.JSONParser;
-import com.google.gwt.json.client.JSONValue;
-import com.mvc4g.client.Controller;
+import java.util.List;
+
 import org.jboss.bpm.console.client.URLBuilder;
 import org.jboss.bpm.console.client.common.AbstractRESTAction;
 import org.jboss.bpm.console.client.model.ActiveNodeInfo;
-import org.jboss.bpm.console.client.model.DiagramNodeInfo;
+import org.jboss.bpm.console.client.model.DTOParser;
 import org.jboss.bpm.console.client.model.ProcessInstanceRef;
 import org.jboss.bpm.console.client.process.events.ActivityDiagramResultEvent;
-import org.jboss.bpm.console.client.util.ConsoleLog;
-import org.jboss.bpm.console.client.util.JSONWalk;
-import org.jboss.bpm.console.client.util.JSONWalk.JSONWrapper;
 
-import java.util.ArrayList;
-import java.util.List;
+import com.google.gwt.http.client.RequestBuilder;
+import com.google.gwt.http.client.Response;
+import com.mvc4g.client.Controller;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
@@ -69,45 +62,10 @@
   {
     ProcessInstanceRef inst = (ProcessInstanceRef)event;
 
-    ConsoleLog.debug("Parse: " + response.getText());
-
-    //TODO: move to DTO Parser
-    JSONValue root = JSONParser.parse(response.getText());
-    //int diagramWidth = JSONWalk.on(root).next("diagramWidth").asInt();
-    //int diagramHeight = JSONWalk.on(root).next("diagramHeight").asInt();
-
-    if (root instanceof JSONArray) {
-    	JSONArray array = (JSONArray) root;
-    	List<ActiveNodeInfo> activeNodeInfos = new ArrayList<ActiveNodeInfo>();
-	    for (int i = 0; i < array.size(); i++) {
-	    	JSONWalk walk = JSONWalk.on(array.get(i));
-		    JSONWrapper wrapper = walk.next("activeNode");
-		    JSONObject activeNode = wrapper.asObject();
-		
-		    int x = JSONWalk.on(activeNode).next("x").asInt();
-		    int y = JSONWalk.on(activeNode).next("y").asInt();
-		
-		    int width = JSONWalk.on(activeNode).next("width").asInt();
-		    int height = JSONWalk.on(activeNode).next("height").asInt();
-		    String name = JSONWalk.on(activeNode).next("name").asString();
-						
-		    activeNodeInfos.add(
-		        new ActiveNodeInfo(
-		            -1, -1,
-		            new DiagramNodeInfo(name, x, y, width, height)
-		        )
-	        );
-		    wrapper = walk.next("activeNode");
-	    }
-	
-	    // update view
-	    ActivityDiagramView view = (ActivityDiagramView) controller.getView(ActivityDiagramView.ID);
-	    view.update(
-	        new ActivityDiagramResultEvent(
-	            URLBuilder.getInstance().getProcessImageURL(inst.getDefinitionId()),
-	            activeNodeInfos
-	        )
-	    );
+    List<ActiveNodeInfo> activeNodeInfos = DTOParser.parseActiveNodeInfo(response.getText());
+    // update view
+    ActivityDiagramView view = (ActivityDiagramView) controller.getView(ActivityDiagramView.ID);
+    view.update(new ActivityDiagramResultEvent(URLBuilder.getInstance().getProcessImageURL(inst.getDefinitionId()), activeNodeInfos));
     }
-  }
+  
 }

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadHistoryDiagramAction.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadHistoryDiagramAction.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/LoadHistoryDiagramAction.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,80 @@
+/*
+ * 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.jboss.bpm.console.client.process;
+
+import java.util.List;
+
+import org.jboss.bpm.console.client.URLBuilder;
+import org.jboss.bpm.console.client.common.AbstractRESTAction;
+import org.jboss.bpm.console.client.model.ActiveNodeInfo;
+import org.jboss.bpm.console.client.model.DTOParser;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.bpm.console.client.process.events.ActivityDiagramResultEvent;
+import org.jboss.bpm.console.client.process.events.HistoryActivityDiagramEvent;
+
+import com.google.gwt.http.client.RequestBuilder;
+import com.google.gwt.http.client.Response;
+import com.mvc4g.client.Controller;
+
+
+/**
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com> 
+ */
+public class LoadHistoryDiagramAction extends AbstractRESTAction
+{
+  public final static String ID = LoadHistoryDiagramAction.class.getName();
+
+  public String getId()
+  {
+    return ID;
+  }
+
+  public String getUrl(Object event)
+  {
+    ProcessDefinitionRef inst =  ((HistoryActivityDiagramEvent) event).getDefinition();
+    return URLBuilder.getInstance().getDefinitionHistoryNodeInfoURL(inst.getId(), ((HistoryActivityDiagramEvent) event).getExecutedActivities());
+  }
+
+  public RequestBuilder.Method getRequestMethod()
+  {
+    return RequestBuilder.GET;
+  }
+
+  public void handleSuccessfulResponse(
+      final Controller controller, final Object event, Response response)
+  {
+    ProcessDefinitionRef inst = ((HistoryActivityDiagramEvent) event).getDefinition();
+
+    List<ActiveNodeInfo> activeNodeInfos = DTOParser.parseActiveNodeInfo(response.getText());
+    
+    // update view
+    ActivityDiagramView view = (ActivityDiagramView) controller.getView(ActivityDiagramView.ID);
+    view.update(
+        new ActivityDiagramResultEvent(
+            URLBuilder.getInstance().getProcessImageURL(inst.getId()),
+            activeNodeInfos
+        )
+    );
+    
+  }
+
+}

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/MergedProcessHistoryView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/MergedProcessHistoryView.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/MergedProcessHistoryView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,70 @@
+package org.jboss.bpm.console.client.process;
+
+import org.gwt.mosaic.ui.client.layout.ColumnLayout;
+import org.gwt.mosaic.ui.client.layout.ColumnLayoutData;
+import org.gwt.mosaic.ui.client.layout.MosaicPanel;
+import org.jboss.bpm.console.client.util.ConsoleLog;
+import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
+import org.jboss.errai.workspaces.client.api.WidgetProvider;
+import org.jboss.errai.workspaces.client.framework.Registry;
+
+import com.google.gwt.user.client.ui.Widget;
+import com.mvc4g.client.Controller;
+
+
+/**
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+public class MergedProcessHistoryView  implements WidgetProvider
+{
+  MosaicPanel panel;
+
+  DefinitionHistoryListView definitionView;
+  HistoryInstanceListView instanceView;
+
+  public void provideWidget(ProvisioningCallback callback)
+  {
+    Controller controller = Registry.get(Controller.class);
+    
+    panel = new MosaicPanel();
+    panel.setPadding(0);    
+    
+    definitionView = new DefinitionHistoryListView();
+    instanceView = new HistoryInstanceListView();
+
+    final MosaicPanel splitPanel = new MosaicPanel(new ColumnLayout());
+    splitPanel.setPadding(0);
+
+    definitionView.provideWidget(new ProvisioningCallback()
+    {
+      public void onSuccess(Widget instance)
+      {
+        splitPanel.add(instance, new ColumnLayoutData("250 px"));
+      }
+
+      public void onUnavailable()
+      {
+        ConsoleLog.error("Failed to load DefinitionListView.class");
+      }
+    });
+
+    instanceView.provideWidget(
+        new ProvisioningCallback()
+        {
+          public void onSuccess(Widget instance)
+          {
+            splitPanel.add(instance);
+          }
+
+          public void onUnavailable()
+          {
+            ConsoleLog.error("Failed to load DefinitionListView.class");
+          }
+        }
+    );
+
+    panel.add(splitPanel);
+    
+    callback.onSuccess(panel);
+  }
+}

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessHistoryModule.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessHistoryModule.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessHistoryModule.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,47 @@
+package org.jboss.bpm.console.client.process;
+
+import org.jboss.bpm.console.client.util.ConsoleLog;
+import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
+import org.jboss.errai.workspaces.client.api.WidgetProvider;
+import org.jboss.errai.workspaces.client.api.annotations.LoadTool;
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.core.client.RunAsyncCallback;
+
+
+/**
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+ at LoadTool(name = "Process History", group = "Processes", icon = "processIcon", priority = 2)
+public class ProcessHistoryModule implements WidgetProvider
+{
+  static MergedProcessHistoryView instance = null;
+
+  public void provideWidget(final ProvisioningCallback callback)
+  {
+    ProcessHistoryModule.createInstance(callback);
+  }
+
+  public static void createInstance(final ProvisioningCallback callback)
+  {
+     GWT.runAsync(
+        new RunAsyncCallback()
+        {
+          public void onFailure(Throwable err)
+          {
+            ConsoleLog.error("Failed to load tool", err);
+          }
+
+          public void onSuccess()
+          {
+            if (instance == null) {
+              instance = new MergedProcessHistoryView();
+            }
+            instance.provideWidget(callback);
+          }
+        }
+
+    );
+
+  }
+}

Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessModule.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessModule.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessModule.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -28,7 +28,7 @@
 import org.jboss.errai.workspaces.client.api.ProvisioningCallback;
 import org.jboss.errai.workspaces.client.api.annotations.LoadTool;
 
- at LoadTool(name = "Process Overview", group = "Processes", icon = "processIcon")
+ at LoadTool(name = "Process Overview", group = "Processes", icon = "processIcon", priority = 1)
 public class ProcessModule implements WidgetProvider
 {
   static MergedProcessView instance = null;

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionAction.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionAction.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionAction.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,97 @@
+/*
+ * 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.jboss.bpm.console.client.process;
+
+import java.util.List;
+
+import com.mvc4g.client.ActionInterface;
+import org.jboss.bpm.console.client.URLBuilder;
+import org.jboss.bpm.console.client.common.AbstractRESTAction;
+import org.jboss.bpm.console.client.model.HistoryProcessInstanceRef;
+import org.jboss.bpm.console.client.model.JSOParser;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.bpm.console.client.util.ConsoleLog;
+
+import com.google.gwt.http.client.RequestBuilder;
+import com.google.gwt.http.client.Response;
+import com.google.gwt.http.client.RequestBuilder.Method;
+import com.mvc4g.client.Controller;
+import org.jboss.errai.bus.client.ErraiBus;
+import org.jboss.errai.bus.client.api.Message;
+import org.jboss.errai.bus.client.api.MessageCallback;
+import org.jboss.errai.bus.client.api.base.MessageBuilder;
+import org.jboss.errai.bus.client.framework.MessageBus;
+import org.jboss.errai.bus.client.protocols.MessageParts;
+
+
+/**
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+public class UpdateHistoryDefinitionAction implements ActionInterface
+{
+
+  public final static String ID = UpdateHistoryDefinitionAction.class.getName();
+
+  private MessageBus bus = ErraiBus.get();
+
+  private Controller controller;
+
+  public UpdateHistoryDefinitionAction()
+  {
+    bus.subscribe(ID, new MessageCallback()
+    {
+      public void callback(final Message message)
+      {
+        // Currently selected process definition
+        DefinitionHistoryListView definitionList = (DefinitionHistoryListView)
+            controller.getView(DefinitionHistoryListView.ID);
+        ProcessDefinitionRef selectedDefinition = definitionList.getSelection();
+        assert selectedDefinition!=null;
+
+        HistoryInstanceListView view = (HistoryInstanceListView)
+            controller.getView(HistoryInstanceListView.ID);
+
+        if(view!=null) // may not be initialized (lazy)
+        {          
+          List<HistoryProcessInstanceRef> results = message.get(List.class, "INSTANCE_LIST");
+          view.update(selectedDefinition, results);          
+        }
+      }
+    });
+  }
+
+  public void execute(Controller controller, Object o)
+  {
+    this.controller = controller;
+
+    ProcessDefinitionRef def = (ProcessDefinitionRef)o;
+
+    MessageBuilder.createMessage()
+        .toSubject("JBPM_HISTORY_SERVICE")
+        .command("GET_FINISHED_PROCESS_INSTANCES")
+        .with(MessageParts.ReplyTo, ID)
+        .with("PROCESS_DEFINITION_ID", def.getId())
+        .noErrorHandling()
+        .sendNowWith(bus);
+  }
+
+}

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionsAction.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionsAction.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryDefinitionsAction.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,82 @@
+/*
+ * 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.jboss.bpm.console.client.process;
+
+import com.google.gwt.http.client.RequestBuilder;
+import com.google.gwt.http.client.Response;
+import com.mvc4g.client.Controller;
+import org.jboss.bpm.console.client.URLBuilder;
+import org.jboss.bpm.console.client.common.AbstractRESTAction;
+import org.jboss.bpm.console.client.common.DataDriven;
+import org.jboss.bpm.console.client.model.JSOParser;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.bpm.console.client.util.ConsoleLog;
+
+import java.util.List;
+
+/**
+ * Loads a process definition list for a history instances
+ * and updates {@link org.jboss.bpm.console.client.process.DefinitionHistoryListView}
+ *
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+public class UpdateHistoryDefinitionsAction extends AbstractRESTAction
+{
+  public final static String ID = UpdateHistoryDefinitionsAction.class.getName();
+
+  public String getId()
+  {
+    return ID;
+  }
+  
+  public String getUrl(Object event)
+  {    
+    return URLBuilder.getInstance().getProcessDefinitionsURL();
+  }
+
+  public RequestBuilder.Method getRequestMethod()
+  {
+    return RequestBuilder.GET;
+  }
+
+  @Override
+  protected DataDriven getDataDriven(Controller controller)
+  {
+    return (DefinitionHistoryListView) controller.getView(DefinitionHistoryListView.ID);
+  }
+
+  public void handleSuccessfulResponse(final Controller controller, final Object event, Response response)
+  {
+    long start = System.currentTimeMillis();
+
+    DefinitionHistoryListView view = (DefinitionHistoryListView) controller.getView(DefinitionHistoryListView.ID);
+    if(view!=null) // may not be initialized (lazy)
+    {
+      //JSONValue json = JSONParser.parse(response.getText());
+      List<ProcessDefinitionRef> definitions =
+          JSOParser.parseProcessDefinitions(response.getText());
+      view.update(definitions);
+      ConsoleLog.info("Loaded " + definitions.size() + " process definitions in " +(System.currentTimeMillis()-start)+" ms");
+
+    }
+  }
+}
\ No newline at end of file

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryInstanceAction.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryInstanceAction.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateHistoryInstanceAction.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,114 @@
+/*
+ * 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.jboss.bpm.console.client.process;
+
+import java.util.List;
+
+import com.mvc4g.client.ActionInterface;
+import org.jboss.bpm.console.client.URLBuilder;
+import org.jboss.bpm.console.client.common.AbstractRESTAction;
+import org.jboss.bpm.console.client.model.HistoryActivityInstanceRef;
+import org.jboss.bpm.console.client.model.HistoryProcessInstanceRef;
+import org.jboss.bpm.console.client.model.JSOParser;
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+import org.jboss.bpm.console.client.util.ConsoleLog;
+
+import com.google.gwt.http.client.RequestBuilder;
+import com.google.gwt.http.client.Response;
+import com.google.gwt.http.client.RequestBuilder.Method;
+import com.mvc4g.client.Controller;
+import org.jboss.errai.bus.client.ErraiBus;
+import org.jboss.errai.bus.client.api.Message;
+import org.jboss.errai.bus.client.api.MessageCallback;
+import org.jboss.errai.bus.client.api.base.MessageBuilder;
+import org.jboss.errai.bus.client.framework.MessageBus;
+import org.jboss.errai.bus.client.protocols.MessageParts;
+
+
+/**
+ * @author Maciej Swiderski <swiderski.maciej at gmail.com>
+ */
+public class UpdateHistoryInstanceAction implements ActionInterface
+{
+
+  public final static String ID = UpdateHistoryInstanceAction.class.getName();
+
+  private MessageBus bus = ErraiBus.get();
+
+  private Controller controller;
+  
+  public UpdateHistoryInstanceAction()
+  {
+     bus.subscribe(ID, new MessageCallback()
+    {
+      public void callback(final Message message)
+      {
+        HistoryInstanceListView view = (HistoryInstanceListView)
+            controller.getView(HistoryInstanceListView.ID);
+
+        if(view!=null) // may not be initialized (lazy)
+        {          
+          List<HistoryActivityInstanceRef> records = (List<HistoryActivityInstanceRef>)
+              message.get(List.class, "HISTORY_RECORDS");
+          view.update(records);
+        }
+      }
+    });
+  }
+
+  public void execute(Controller controller, Object o)
+  {
+    this.controller = controller;
+
+    String instanceId = (String)o;
+
+    MessageBuilder.createMessage()
+        .toSubject("JBPM_HISTORY_SERVICE")
+        .command("GET_PROCESS_INSTANCE_HISTORY")
+        .with(MessageParts.ReplyTo, ID)
+        .with("PROCESS_INSTANCE_ID", instanceId)
+        .noErrorHandling()
+        .sendNowWith(bus);
+  }
+
+  /*
+ public void handleSuccessfulResponse(Controller controller, Object event, Response response) {
+   long start = System.currentTimeMillis();
+
+   HistoryInstanceListView view = (HistoryInstanceListView) controller.getView(HistoryInstanceListView.ID);
+
+   if(view!=null) // may not be initialized (lazy)
+   {
+
+     //JSONValue json = JSONParser.parse(response.getText());
+     List<HistoryActivityInstanceRef> definitions =
+         JSOParser.parseProcessInstanceHistory(response.getText());
+
+     view.update(definitions);
+
+     ConsoleLog.info("Loaded " + definitions.size() + " process instance history entries in " +(System.currentTimeMillis()-start)+" ms");
+
+   }
+
+ } */
+
+}

Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/events/HistoryActivityDiagramEvent.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/events/HistoryActivityDiagramEvent.java	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/events/HistoryActivityDiagramEvent.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,51 @@
+/*
+ * 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.jboss.bpm.console.client.process.events;
+
+import java.util.List;
+
+import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public class HistoryActivityDiagramEvent
+{
+  private ProcessDefinitionRef definition;
+  private List<String> executedActivities;
+
+  public HistoryActivityDiagramEvent(ProcessDefinitionRef definition, List<String> executedActivities)
+  {
+    this.definition = definition;
+    this.executedActivities = executedActivities;
+  }
+
+  public ProcessDefinitionRef getDefinition()
+  {
+    return definition;
+  }
+
+  public List<String> getExecutedActivities()
+  {
+    return executedActivities;
+  }
+}

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/AssignedTasksView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -23,8 +23,6 @@
 
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
-import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.Timer;
 import com.google.gwt.user.client.ui.Button;
 import com.mvc4g.client.Controller;
@@ -32,6 +30,8 @@
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.MessageBox;
 import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
 import org.gwt.mosaic.ui.client.layout.*;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
 import org.jboss.bpm.console.client.ApplicationContext;

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-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/task/OpenTasksView.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -23,8 +23,6 @@
 
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
-import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
 import com.google.gwt.user.client.Timer;
 import com.google.gwt.user.client.ui.Button;
 import com.mvc4g.client.Controller;
@@ -32,6 +30,8 @@
 import org.gwt.mosaic.ui.client.ListBox;
 import org.gwt.mosaic.ui.client.MessageBox;
 import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.event.RowSelectionEvent;
+import org.gwt.mosaic.ui.client.event.RowSelectionHandler;
 import org.gwt.mosaic.ui.client.layout.*;
 import org.gwt.mosaic.ui.client.list.DefaultListModel;
 import org.jboss.bpm.console.client.ApplicationContext;

Added: bpm-console/trunk/gui/war/src/main/resources/jmaki/xhp/errai-proxy.json
===================================================================
--- bpm-console/trunk/gui/war/src/main/resources/jmaki/xhp/errai-proxy.json	                        (rev 0)
+++ bpm-console/trunk/gui/war/src/main/resources/jmaki/xhp/errai-proxy.json	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,10 @@
+{"xhp": {
+    "version": "1.1",
+    "services": [
+        {"id": "default",
+         "url":"http://127.0.0.1:8080/jbpm-console/in.erraiBus",
+         "passthrough":true
+        },
+    ]
+  }
+}
\ No newline at end of file

Modified: bpm-console/trunk/gui/war/war/WEB-INF/web.xml
===================================================================
--- bpm-console/trunk/gui/war/war/WEB-INF/web.xml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/gui/war/war/WEB-INF/web.xml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -12,6 +12,17 @@
     </servlet>
 
     <servlet>
+        <servlet-name>erraiProxy</servlet-name>
+        <description>Errai Proxy</description>
+        <servlet-class>jmaki.xhp.XmlHttpProxyServlet</servlet-class>
+        <init-param>
+            <param-name>config.name</param-name>
+            <param-value>errai-proxy.json</param-value>
+        </init-param>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet>
         <servlet-name>ErraiServlet</servlet-name>
         <servlet-class>org.jboss.errai.bus.server.servlet.DefaultBlockingServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
@@ -22,10 +33,14 @@
         <url-pattern>*.erraiBus</url-pattern>
     </servlet-mapping>
 
-
-    <servlet-mapping>
+     <servlet-mapping>
         <servlet-name>xmlProxy</servlet-name>
         <url-pattern>/app/xhp/*</url-pattern>
     </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>erraiProxy</servlet-name>
+        <url-pattern>/app/proxy/*</url-pattern>
+    </servlet-mapping>
 
 </web-app>
\ No newline at end of file

Modified: bpm-console/trunk/pom.xml
===================================================================
--- bpm-console/trunk/pom.xml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/pom.xml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -42,19 +42,22 @@
         <gson.version>1.2.2</gson.version>
         <gwt.version>2.0.0</gwt.version>
 
-        <gwt.maven>1.2.0-11137</gwt.maven>
-        <gwt-log.version>3.0.0</gwt-log.version>
+        <gwt.maven>1.2.0-11137</gwt.maven>       
         <jaf.version>1.1</jaf.version>
         <javax.ejb.version>3.0</javax.ejb.version>
         <javax.jaxb.version>2.1</javax.jaxb.version>
         <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>
+        <!--mosaic.version>0.4.0-rc4</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.0</errai.version>
+
+        <errai.version>1.1-SNAPSHOT</errai.version>
+        <mvel.version>2.0.17-SNAPSHOT</mvel.version>
+        <guice.version>2.0</guice.version>
+        <slf4j.version>1.5.2</slf4j.version>
     </properties>
 
     <modules>        
@@ -99,14 +102,8 @@
                 <groupId>com.google.code.gson</groupId>
                 <artifactId>gson</artifactId>
                 <version>${gson.version}</version>
-            </dependency>
+            </dependency>         
             <dependency>
-                <groupId>com.google.code.gwt-log</groupId>
-                <artifactId>gwt-log</artifactId>
-                <version>${gwt-log.version}</version>
-            </dependency>
-
-            <dependency>
                 <groupId>com.googlecode.mvc4g</groupId>
                 <artifactId>mvc4g</artifactId>
                 <version>${mvc4g.version}</version>
@@ -114,7 +111,7 @@
 
 
             <!-- Mosaic -->
-            <dependency>
+            <!--dependency>
                 <groupId>com.googlecode.gwtmosaic</groupId>
                 <artifactId>gwt-mosaic</artifactId>
                 <version>${mosaic.version}</version>
@@ -132,14 +129,9 @@
 
             <dependency>
                 <groupId>com.googlecode.gwtmosaic</groupId>
-                <artifactId>gwt-incubator</artifactId>
-                <version>${mosaic.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>com.googlecode.gwtmosaic</groupId>
                 <artifactId>gwtx</artifactId>
                 <version>${mosaic.version}</version>
-            </dependency>
+            </dependency-->
 
             <!-- Other -->
             <dependency>

Deleted: bpm-console/trunk/server/integration/server-integration.iml
===================================================================
--- bpm-console/trunk/server/integration/server-integration.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/server/integration/server-integration.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="shared-rpc" exported="" />
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-logging:commons-logging:jar:1.1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.ejb:ejb-api:jar:3.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.javaee:jboss-javaee:jar:5.0.0.GA:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/javaee/jboss-javaee/5.0.0.GA/jboss-javaee-5.0.0.GA-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-  </component>
-</module>
-

Modified: bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java
===================================================================
--- bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/integration/ProcessManagement.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -21,14 +21,14 @@
  */
 package org.jboss.bpm.console.server.integration;
 
+import java.util.List;
+import java.util.Map;
+
+import org.jboss.bpm.console.client.model.HistoryActivityInstanceRef;
+import org.jboss.bpm.console.client.model.HistoryProcessInstanceRef;
 import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
 import org.jboss.bpm.console.client.model.ProcessInstanceRef;
-import org.jboss.bpm.console.client.model.ProcessInstanceRef.STATE;
 
-import java.util.List;
-import java.util.Map;
-import java.io.InputStream;
-
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  * @author Thomas.Diesler at jboss.com
@@ -60,5 +60,9 @@
   void setProcessState(String instanceId, ProcessInstanceRef.STATE nextState);
 
   void signalExecution(String executionId, String signal);
+  
+  List<HistoryActivityInstanceRef> getProcessInstanceHistory(String procesInstanceId);
+  
+  List<HistoryProcessInstanceRef> getFinishedProcessInstances(String definitionId);
 
 }

Modified: bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/plugin/GraphViewerPlugin.java
===================================================================
--- bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/plugin/GraphViewerPlugin.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/server/integration/src/main/java/org/jboss/bpm/console/server/plugin/GraphViewerPlugin.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -47,4 +47,13 @@
    * Can be null, in case no diagram is associated with the process   
    */
   URL getDiagramURL(String id);
+  
+  /**
+   * Collects node information (such as coordinates) for given processDefinitionId and selected activities.
+   * Both arguments must be specified.
+   * @param processDefinitionId process definition id which nodes information should be retrieved for
+   * @param activities list of activity names treated as a filter
+   * @return list of found node information. Can be empty list if no definition was found
+   */
+  List<ActiveNodeInfo> getNodeInfoForActivities(String processDefinitionId, List<String> activities);
 }

Deleted: bpm-console/trunk/server/war/server-war.iml
===================================================================
--- bpm-console/trunk/server/war/server-war.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/server/war/server-war.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,424 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="report-server" />
-    <orderEntry type="module" module-name="server-integration" />
-    <orderEntry type="module" module-name="shared-rpc" />
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.slf4j:slf4j-simple:jar:1.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-simple/1.5.2/slf4j-simple-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: junit:junit:jar:3.8.1:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/junit/junit/3.8.1/junit-3.8.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-logging:commons-logging:jar:1.1.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: net.sf.json-lib:json-lib:jar:2.2.3:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/net/sf/json-lib/json-lib/2.2.3/json-lib-2.2.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-user/1.5.3/gwt-user-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.xml:jaxb-impl:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/jaxb-impl/2.1/jaxb-impl-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-beanutils:commons-beanutils:jar:1.7.0:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-fileupload:commons-fileupload:jar:1.2.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-io:commons-io:jar:1.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.jboss.resteasy:resteasy-jaxrs:jar:1.0.2.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/resteasy/resteasy-jaxrs/1.0.2.GA/resteasy-jaxrs-1.0.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.annotation:jsr250-api:jar:1.0:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.jboss.resteasy:resteasy-multipart-provider:jar:1.0.2.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/resteasy/resteasy-multipart-provider/1.0.2.GA/resteasy-multipart-provider-1.0.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: net.sf.ezmorph:ezmorph:jar:1.0.6:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-lang:commons-lang:jar:2.4:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.ejb:ejb-api:jar:3.0:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.slf4j:slf4j-api:jar:1.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.gwt:gwt-servlet:jar:1.5.3:runtime">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-servlet/1.5.3/gwt-servlet-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javassist:javassist:jar:3.6.0.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javassist/javassist/3.6.0.GA/javassist-3.6.0.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-collections:commons-collections:jar:3.2:test">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2/commons-collections-3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.jboss.resteasy:jaxrs-api:jar:1.0.2.GA:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/jboss/resteasy/jaxrs-api/1.0.2.GA/jaxrs-api-1.0.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.scannotation:scannotation:jar:1.0.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/scannotation/scannotation/1.0.2/scannotation-1.0.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.slf4j:slf4j-log4j12:jar:1.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.5.2/slf4j-log4j12-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:modelapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/modelapi/2.3.2/modelapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-discovery:commons-discovery:jar:0.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-discovery/commons-discovery/0.2/commons-discovery-0.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:dataadapterapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/dataadapterapi/2.3.2/dataadapterapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:chartengineapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/chartengineapi/2.3.2/chartengineapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.emf:common:jar:2.4.0:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/emf/common/2.4.0/common-2.4.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.emf:ecore-xmi:jar:2.4.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/emf/ecore-xmi/2.4.1/ecore-xmi-2.4.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-cli:commons-cli:jar:1.0:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.0/commons-cli-1.0.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:scriptapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/scriptapi/2.3.2/scriptapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:engineapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/engineapi/2.3.2/engineapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:dteapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/dteapi/2.3.2/dteapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: commons-codec:commons-codec:jar:1.3:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.w3c:sac:jar:1.3:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/w3c/sac/1.3/sac-1.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.birt:coreapi:jar:2.3.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/birt/coreapi/2.3.2/coreapi-2.3.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: rhino:js:jar:1.6R2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/rhino/js/1.6R2/js-1.6R2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.lowagie:itext:jar:1.3:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/lowagie/itext/1.3/itext-1.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.eclipse.emf:ecore:jar:2.4.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/eclipse/emf/ecore/2.4.2/ecore-2.4.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: org.w3c:flute:jar:1.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/org/w3c/flute/1.2/flute-1.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: com.ibm.icu:icu4j:jar:3.8.1:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/ibm/icu/icu4j/3.8.1/icu4j-3.8.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-  </component>
-</module>
-

Modified: bpm-console/trunk/server/war/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java
===================================================================
--- bpm-console/trunk/server/war/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/server/war/src/main/java/org/jboss/bpm/console/server/ProcessMgmtFacade.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -40,6 +40,7 @@
 import javax.ws.rs.core.Context;
 import javax.ws.rs.core.Response;
 import java.net.URL;
+import java.util.Arrays;
 import java.util.List;
 import java.util.Map;
 
@@ -329,7 +330,54 @@
     );
 
   }
+  
+  @GET
+  @Path("instance/history/{id}")
+  @Produces("application/json")
+  public Response getInstanceHistoryJSON(
+          @PathParam("id")
+          String id)
+  {
+    List<HistoryActivityInstanceRef> historyEntries = getProcessManagement().getProcessInstanceHistory(id);
+    
+    return createJsonResponse(new HistoryActivityInstanceRefWrapper(historyEntries));
+    
+  }
+  
+  @GET
+  @Path("definition/history/{id}")
+  @Produces("application/json")
+  public Response getFinishedProcessInstancesJSON(
+          @PathParam("id")
+          String id)
+  {
+    List<HistoryProcessInstanceRef> historyEntries = getProcessManagement().getFinishedProcessInstances(id);
+    
+    return createJsonResponse(new HistoryProcessInstanceRefWrapper(historyEntries));
 
+  }
+  
+  @GET
+  @Path("definition/history/{id}/nodeInfo")
+  @Produces("application/json")
+  public Response getNodeInfoForActivities(
+      @PathParam("id")
+      String id, @QueryParam("activity") String[] activities)
+  {
+
+    GraphViewerPlugin plugin = getGraphViewerPlugin();
+    if(plugin !=null)
+    {
+      List<ActiveNodeInfo> info = plugin.getNodeInfoForActivities(id, Arrays.asList(activities));
+      return createJsonResponse(info);
+    }
+
+    throw new RuntimeException(
+        GraphViewerPlugin.class.getName()+ " not available."
+    );
+
+  }
+
   private Response createJsonResponse(Object wrapper)
   {
     Gson gson = GsonFactory.createInstance();

Modified: bpm-console/trunk/shared/rpc/pom.xml
===================================================================
--- bpm-console/trunk/shared/rpc/pom.xml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/shared/rpc/pom.xml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -2,44 +2,54 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-   <modelVersion>4.0.0</modelVersion>
-   <name>JBoss BPM - Console::Shared::RPC</name>
-   <groupId>org.jboss.bpm</groupId>
-   <artifactId>gwt-console-rpc</artifactId>
-   <packaging>jar</packaging>
+    <modelVersion>4.0.0</modelVersion>
+    <name>JBoss BPM - Console::Shared::RPC</name>
+    <groupId>org.jboss.bpm</groupId>
+    <artifactId>gwt-console-rpc</artifactId>
+    <packaging>jar</packaging>
 
-   <!-- Parent -->
-   <parent>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-shared</artifactId>
-      <version>2.0.2-SNAPSHOT</version>
-      <relativePath>../pom.xml</relativePath>
-   </parent>
+    <!-- Parent -->
+    <parent>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console-shared</artifactId>
+        <version>2.0.2-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
 
-   <dependencies>      
-      <dependency>
-         <groupId>com.google.gwt</groupId>
-         <artifactId>gwt-user</artifactId>
-         <version>${gwt.version}</version>
-         <scope>provided</scope>
-      </dependency>
-      <dependency>
-         <groupId>com.google.code.gson</groupId>
-         <artifactId>gson</artifactId>
-      </dependency>
-      <dependency>
-         <groupId>javax.xml.bind</groupId>
-         <artifactId>jaxb-api</artifactId>
-         <scope>provided</scope>
-      </dependency>     
-   </dependencies>
+    <dependencies>
+        <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-user</artifactId>
+            <version>${gwt.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
 
-   <build>
-      <!--  Include SOURCE in output artifact for GWT (GWT libraries must include source) -->
-      <!--resources>
-         <resource>
-            <directory>src/main/java</directory>
-         </resource>
-      </resources-->
-   </build>
+        <dependency>
+            <groupId>org.jboss.errai</groupId>
+            <artifactId>errai-common</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jboss.errai</groupId>
+            <artifactId>errai-bus</artifactId>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <!--  Include SOURCE in output artifact for GWT (GWT libraries must include source) -->
+        <!--resources>
+           <resource>
+              <directory>src/main/java</directory>
+           </resource>
+        </resources-->
+    </build>
 </project>

Deleted: bpm-console/trunk/shared/rpc/shared-rpc.iml
===================================================================
--- bpm-console/trunk/shared/rpc/shared-rpc.iml	2010-03-12 15:44:56 UTC (rev 1007)
+++ bpm-console/trunk/shared/rpc/shared-rpc.iml	2010-03-18 10:32:27 UTC (rev 1008)
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module relativePaths="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.3:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/com/google/gwt/gwt-user/1.5.3/gwt-user-1.5.3.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
-        <CLASSES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-          <root url="jar://$MAVEN_REPOSITORY$/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-  </component>
-</module>
-

Added: bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRef.java
===================================================================
--- bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRef.java	                        (rev 0)
+++ bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRef.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,62 @@
+package org.jboss.bpm.console.client.model;
+
+import org.jboss.errai.bus.server.annotations.ExposeEntity;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+ at XmlRootElement(name = "historyProcessInstance")
+ at ExposeEntity
+public class HistoryActivityInstanceRef implements Serializable
+{
+
+  private String activityName;
+  private Date startTime;
+  private Date endTime;
+  private String executionId;
+  private long duration;
+  
+  public String getActivityName() {
+    return activityName;
+  }
+  
+  public void setActivityName(String activityName) {
+    this.activityName = activityName;
+  }
+  
+  public Date getStartTime() {
+    return startTime;
+  }
+  
+  public void setStartTime(Date startTime) {
+    this.startTime = startTime;
+  }
+  
+  public Date getEndTime() {
+    return endTime;
+  }
+  
+  public void setEndTime(Date endTime) {
+    this.endTime = endTime;
+  }
+  
+  public String getExecutionId() {
+    return executionId;
+  }
+  
+  public void setExecutionId(String executionId) {
+    this.executionId = executionId;
+  }
+  
+  public long getDuration() {
+    return duration;
+  }
+  
+  public void setDuration(long duration) {
+    this.duration = duration;
+  }
+  
+  
+}

Added: bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRefWrapper.java
===================================================================
--- bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRefWrapper.java	                        (rev 0)
+++ bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRefWrapper.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,37 @@
+package org.jboss.bpm.console.client.model;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+
+ at XmlRootElement(name = "wrapper")
+public class HistoryActivityInstanceRefWrapper {
+  List<HistoryActivityInstanceRef> historyEntires;
+
+  public HistoryActivityInstanceRefWrapper()
+  {
+  }
+
+  public HistoryActivityInstanceRefWrapper(List<HistoryActivityInstanceRef> historyEntires)
+  {
+     this.historyEntires = historyEntires;
+  }
+
+  @XmlElement
+  public List<HistoryActivityInstanceRef> getDefinitions()
+  {
+     return historyEntires;
+  }
+
+  @XmlElement(name = "totalCount")
+  public int getTotalCount()
+  {
+     return historyEntires.size();
+  }
+
+  public void setDefinitions(List<HistoryActivityInstanceRef> historyEntires)
+  {
+     this.historyEntires = historyEntires;
+  }
+}

Added: bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRef.java
===================================================================
--- bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRef.java	                        (rev 0)
+++ bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRef.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,90 @@
+package org.jboss.bpm.console.client.model;
+
+import org.jboss.errai.bus.server.annotations.ExposeEntity;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+ at XmlRootElement(name = "historyProcessInstance")
+ at ExposeEntity
+public class HistoryProcessInstanceRef implements Serializable
+{
+
+  
+  private String processInstanceId;
+  private String processDefinitionId;
+  private String key;
+  private String state;
+  private String endActivityName;
+  private Date startTime;
+  private Date endTime;
+  private long duration;
+  
+  public String getProcessInstanceId() {
+    return processInstanceId;
+  }
+  
+  public void setProcessInstanceId(String processInstanceId) {
+    this.processInstanceId = processInstanceId;
+  }
+  
+  public String getProcessDefinitionId() {
+    return processDefinitionId;
+  }
+  
+  public void setProcessDefinitionId(String processDefinitionId) {
+    this.processDefinitionId = processDefinitionId;
+  }
+  
+  public String getKey() {
+    return key;
+  }
+  
+  public void setKey(String key) {
+    this.key = key;
+  }
+  
+  public String getState() {
+    return state;
+  }
+  
+  public void setState(String state) {
+    this.state = state;
+  }
+  
+  public String getEndActivityName() {
+    return endActivityName;
+  }
+  
+  public void setEndActivityName(String endActivityName) {
+    this.endActivityName = endActivityName;
+  }
+  
+  public Date getStartTime() {
+    return startTime;
+  }
+  
+  public void setStartTime(Date startTime) {
+    this.startTime = startTime;
+  }
+  
+  public Date getEndTime() {
+    return endTime;
+  }
+  
+  public void setEndTime(Date endTime) {
+    this.endTime = endTime;
+  }
+  
+  public long getDuration() {
+    return duration;
+  }
+  
+  public void setDuration(long duration) {
+    this.duration = duration;
+  }
+  
+  
+}

Added: bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRefWrapper.java
===================================================================
--- bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRefWrapper.java	                        (rev 0)
+++ bpm-console/trunk/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRefWrapper.java	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1,38 @@
+package org.jboss.bpm.console.client.model;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+
+ at XmlRootElement(name = "wrapper")
+public class HistoryProcessInstanceRefWrapper {
+  List<HistoryProcessInstanceRef> historyEntires;
+
+  public HistoryProcessInstanceRefWrapper()
+  {
+  }
+
+  public HistoryProcessInstanceRefWrapper(List<HistoryProcessInstanceRef> historyEntires)
+  {
+     this.historyEntires = historyEntires;
+  }
+
+  @XmlElement
+  public List<HistoryProcessInstanceRef> getDefinitions()
+  {
+     return historyEntires;
+  }
+
+  @XmlElement(name = "totalCount")
+  public int getTotalCount()
+  {
+     return historyEntires.size();
+  }
+
+  public void setDefinitions(List<HistoryProcessInstanceRef> historyEntires)
+  {
+     this.historyEntires = historyEntires;
+  }
+
+}

Added: bpm-console/trunk/shared/rpc/src/main/resources/ErraiApp.properties
===================================================================
--- bpm-console/trunk/shared/rpc/src/main/resources/ErraiApp.properties	                        (rev 0)
+++ bpm-console/trunk/shared/rpc/src/main/resources/ErraiApp.properties	2010-03-18 10:32:27 UTC (rev 1008)
@@ -0,0 +1 @@
+# errai marker file used for auto discovery
\ No newline at end of file



More information about the overlord-commits mailing list