[overlord-commits] Overlord SVN: r843 - in bpm-console/trunk: gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console and 6 other directories.
overlord-commits at lists.jboss.org
overlord-commits at lists.jboss.org
Tue Oct 20 10:11:53 EDT 2009
Author: heiko.braun at jboss.com
Date: 2009-10-20 10:11:52 -0400 (Tue, 20 Oct 2009)
New Revision: 843
Added:
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ws.png
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditor.java
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditorNavigation.java
Modified:
bpm-console/trunk/BPMC.iws
bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/public/console.config.js
bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/public/riftsaw_logo.png
bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/workspace.cfg
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ConsoleIconBundle.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/InstanceDetailView.java
bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java
bpm-console/trunk/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/ConsoleConfig.java
Log:
More fine grained feature control for BPEL cases
Modified: bpm-console/trunk/BPMC.iws
===================================================================
--- bpm-console/trunk/BPMC.iws 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/BPMC.iws 2009-10-20 14:11:52 UTC (rev 843)
@@ -118,7 +118,7 @@
<option name="CONDITION" value="" />
<option name="LOG_MESSAGE" value="" />
</breakpoint>
- <breakpoint url="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java" line="247" class="org.jboss.bpm.console.client.process.DefinitionListView" package="org.jboss.bpm.console.client.process">
+ <breakpoint url="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java" line="245" class="org.jboss.bpm.console.client.process.DefinitionListView" package="org.jboss.bpm.console.client.process">
<option name="ENABLED" value="true" />
<option name="SUSPEND_POLICY" value="SuspendAll" />
<option name="LOG_ENABLED" value="false" />
@@ -131,6 +131,19 @@
<option name="CONDITION" value="" />
<option name="LOG_MESSAGE" value="" />
</breakpoint>
+ <breakpoint url="file://$PROJECT_DIR$/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/ConsoleConfig.java" line="92" class="org.jboss.bpm.console.client.ConsoleConfig" package="org.jboss.bpm.console.client">
+ <option name="ENABLED" value="true" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <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>
</line_breakpoints>
<breakpoint_any>
<breakpoint>
@@ -204,35 +217,15 @@
<component name="FileColors" enabled="false" enabledForTabs="false" />
<component name="FileEditorManager">
<leaf>
- <file leaf-file-name="DTOParser.java" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java">
+ <file leaf-file-name="workspace.cfg" pinned="false" current="true" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/workspace.cfg">
<provider selected="true" editor-type-id="text-editor">
- <state line="221" column="38" selection-start="7138" selection-end="7138" vertical-scroll-proportion="0.21530479">
+ <state line="2" column="1" selection-start="98" selection-end="98" vertical-scroll-proportion="0.03809524">
<folding />
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="InstanceDetailView.java" pinned="false" current="true" current-in-tab="true">
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="230" column="68" selection-start="7533" selection-end="7533" vertical-scroll-proportion="0.21530479">
- <folding>
- <element signature="class#3371:4100" expanded="false" />
- </folding>
- </state>
- </provider>
- </entry>
- </file>
- <file leaf-file-name="ProcessInstanceRef.java" pinned="false" current="false" current-in-tab="false">
- <entry file="file://$PROJECT_DIR$/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ProcessInstanceRef.java">
- <provider selected="true" editor-type-id="text-editor">
- <state line="276" column="29" selection-start="6624" selection-end="6624" vertical-scroll-proportion="0.33333334">
- <folding />
- </state>
- </provider>
- </entry>
- </file>
</leaf>
</component>
<component name="FindManager">
@@ -365,10 +358,56 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
- <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/drools" />
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw" />
<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="gui-profiles" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src/main" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources/org" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources/org/jboss" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
</subPane>
</component>
<component name="ProjectReloadState">
@@ -657,16 +696,16 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
- <frame x="330" y="54" width="1294" height="933" extended-state="0" />
+ <frame x="395" y="38" width="1263" height="987" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
<window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="7" />
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.31405622" order="0" />
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3958641" order="1" />
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.27710843" order="1" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32207578" order="0" />
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3955056" order="1" />
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.27701056" order="1" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32992035" order="8" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="6" />
<window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
@@ -678,7 +717,7 @@
<window_info id="Maven" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24937028" order="2" />
<window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39450687" order="4" />
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.39438203" order="4" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="0" />
<window_info id="IDEtalk Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32873562" order="8" />
@@ -773,113 +812,114 @@
<option name="myLastEditedConfigurable" />
</component>
<component name="editorHistoryManager">
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/resources/org/jboss/bpm/console/public/Application.html">
+ <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="24" column="35" selection-start="817" selection-end="817" vertical-scroll-proportion="0.028268551">
+ <state line="221" column="15" selection-start="7541" selection-end="7600" vertical-scroll-proportion="0.40727273">
<folding />
</state>
</provider>
- <provider editor-type-id="HtmlPreview">
- <state />
- </provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/Application.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="50" column="45" selection-start="1916" selection-end="1916" vertical-scroll-proportion="0.50558215">
- <folding />
+ <state line="120" column="23" selection-start="4309" selection-end="4309" vertical-scroll-proportion="0.31030303">
+ <folding>
+ <element signature="class#3501:4230" expanded="false" />
+ </folding>
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/util/ConsoleLog.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessEditor.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="45" column="54" selection-start="1741" selection-end="1741" vertical-scroll-proportion="0.6379585">
- <folding />
+ <state line="154" column="19" selection-start="4889" selection-end="5086" vertical-scroll-proportion="0.8060606">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/common/PropertyGrid.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessEditorNavigation.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="41" column="19" selection-start="1530" selection-end="1530" vertical-scroll-proportion="0.025518341">
+ <state line="32" column="6" selection-start="0" selection-end="2110" vertical-scroll-proportion="0.15238096">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/pom.xml">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ConsoleIconBundle.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="387" column="28" selection-start="11828" selection-end="11828" vertical-scroll-proportion="0.44444445">
+ <state line="129" column="54" selection-start="3203" selection-end="3203" vertical-scroll-proportion="0.8060606">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/profiles/drools/src/main/resources/org/jboss/bpm/console/workspace.cfg">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportEditor.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">
+ <state line="113" column="30" selection-start="2039" selection-end="3958" vertical-scroll-proportion="0.34060606">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/MainLayout.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/report/ReportView.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="96" column="58" selection-start="3305" selection-end="3305" vertical-scroll-proportion="0.28498727">
+ <state line="116" column="32" selection-start="3874" selection-end="3874" vertical-scroll-proportion="0.7090909">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/engine/UpdateDeploymentsAction.java">
+ <entry file="jar:///Users/hbraun/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-mac.jar!/org/apache/catalina/util/ServerInfo.class">
<provider selected="true" editor-type-id="text-editor">
- <state line="86" column="29" selection-start="3011" selection-end="3011" vertical-scroll-proportion="0.77608144">
+ <state line="7" column="57" selection-start="224" selection-end="224" vertical-scroll-proportion="0.114285715">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/UpdateDefinitionsAction.java">
+ <entry file="file://$PROJECT_DIR$/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/ConsoleConfig.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="71" column="10" selection-start="2669" selection-end="2669" vertical-scroll-proportion="0.77172506">
+ <state line="105" column="0" selection-start="3176" selection-end="3176" vertical-scroll-proportion="0.18787879">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/LoadingStatusAction.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditorNavigation.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="30" column="13" selection-start="1248" selection-end="1248" vertical-scroll-proportion="0.16284987">
+ <state line="32" column="6" selection-start="1380" selection-end="1380" vertical-scroll-proportion="0.15238096">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/BootstrapAction.java">
+ <entry file="file://$PROJECT_DIR$/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ServerStatus.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="68" column="53" selection-start="2408" selection-end="2408" vertical-scroll-proportion="0.48119324">
+ <state line="29" column="13" selection-start="1197" selection-end="1197" vertical-scroll-proportion="0.15238096">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/WorkspaceLauncher.java">
+ <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="26" column="17" selection-start="1143" selection-end="1143" vertical-scroll-proportion="0.122137405">
+ <state line="170" column="4" selection-start="5644" selection-end="5644" vertical-scroll-proportion="0.4060606">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/model/DTOParser.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditor.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="221" column="38" selection-start="7138" selection-end="7138" vertical-scroll-proportion="0.21530479">
- <folding />
+ <state line="62" column="68" selection-start="2357" selection-end="2357" vertical-scroll-proportion="0.8">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ProcessInstanceRef.java">
+ <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="276" column="29" selection-start="6624" selection-end="6624" vertical-scroll-proportion="0.33333334">
+ <state line="108" column="69" selection-start="3516" selection-end="3516" vertical-scroll-proportion="0.72380954">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java">
+ <entry file="file://$PROJECT_DIR$/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/workspace.cfg">
<provider selected="true" editor-type-id="text-editor">
- <state line="230" column="68" selection-start="7533" selection-end="7533" vertical-scroll-proportion="0.21530479">
- <folding>
- <element signature="class#3371:4100" expanded="false" />
- </folding>
+ <state line="2" column="1" selection-start="98" selection-end="98" vertical-scroll-proportion="0.03809524">
+ <folding />
</state>
</provider>
</entry>
Modified: bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/public/console.config.js
===================================================================
--- bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/public/console.config.js 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/public/console.config.js 2009-10-20 14:11:52 UTC (rev 843)
@@ -1,5 +1,5 @@
var consoleConfig = {
- profileName: "BPEL Console",
+ profileName: "BPEL Console", // don't change
logo: "riftsaw_logo.png",
serverWebContext: "/gwt-console-server",
defaultEditor: "org.jboss.bpm.console.client.process.ProcessEditor",
Modified: bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/public/riftsaw_logo.png
===================================================================
(Binary files differ)
Modified: bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/workspace.cfg
===================================================================
--- bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/workspace.cfg 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/gui/profiles/riftsaw/src/main/resources/org/jboss/bpm/console/workspace.cfg 2009-10-20 14:11:52 UTC (rev 843)
@@ -1,5 +1,6 @@
#org.jboss.bpm.console.client.task.TaskEditor
org.jboss.bpm.console.client.process.ProcessEditor
+#org.jboss.bpm.console.client.ws.WebServiceEditor
#org.jboss.bpm.console.client.report.ReportEditor
#org.jboss.bpm.console.client.engine.EngineEditor
org.jboss.bpm.console.client.SettingsEditor
\ No newline at end of file
Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ConsoleIconBundle.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ConsoleIconBundle.java 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ConsoleIconBundle.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -128,4 +128,9 @@
* @gwt.resource jobs.png
*/
AbstractImagePrototype jobsIcon();
+
+ /**
+ * @gwt.resource ws.png
+ */
+ AbstractImagePrototype webserviceIcon();
}
Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ws.png
===================================================================
(Binary files differ)
Property changes on: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/icons/ws.png
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
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 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/DefinitionListView.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -164,24 +164,22 @@
final ListBox<ProcessDefinitionRef> listBox =
new ListBox<ProcessDefinitionRef>(
new String[] {
- "Process ID", "Version", "Name", "Suspended"}
- );
+ "Name", "Version", "Suspended"
+ }
+ );
-
+
listBox.setCellRenderer(new ListBox.CellRenderer<ProcessDefinitionRef>() {
public void renderCell(ListBox<ProcessDefinitionRef> listBox, int row, int column,
ProcessDefinitionRef item) {
switch (column) {
case 0:
- listBox.setText(row, column, item.getId());
+ listBox.setText(row, column, item.getName());
break;
case 1:
listBox.setText(row, column, String.valueOf(item.getVersion()));
break;
case 2:
- listBox.setText(row, column, item.getName());
- break;
- case 3:
listBox.setText(row, column, String.valueOf(item.isSuspended()));
break;
default:
Modified: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceDetailView.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -73,11 +73,14 @@
private SimpleDateFormat dateFormat = new SimpleDateFormat();
private ProcessDefinitionRef currentDefintion;
+ private boolean isRiftsawInstance;
+
public InstanceDetailView(final ApplicationContext appContext)
{
super("Instance details");
this.appContext = appContext;
-
+ isRiftsawInstance = appContext.getConfig().getProfileName().equals("BPEL Console");
+
super.setStyleName("bpm-detail-panel");
super.setLayout(new BoxLayout(BoxLayout.Orientation.HORIZONTAL));
@@ -113,6 +116,7 @@
}
}
);
+ diagramBtn.setVisible(!isRiftsawInstance);
diagramBtn.setEnabled(false);
buttonPanel.add(diagramBtn);
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 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/process/InstanceListView.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -70,6 +70,8 @@
private IFrameWindowPanel iframeWindow = null;
+ private boolean isRiftsawInstance;
+
public InstanceListView(ApplicationContext appContext)
{
super();
@@ -78,6 +80,9 @@
ConsoleIconBundle icons = GWT.create(ConsoleIconBundle.class);
setTitle("Process Instances");
setIcon(icons.instanceIcon());
+
+ // riftsaw?
+ isRiftsawInstance = appContext.getConfig().getProfileName().equals("BPEL Console");
}
public boolean isInitialized()
@@ -212,6 +217,9 @@
}
}
)
+ {{
+ setVisible(!isRiftsawInstance);
+ }}
);
toolBar.addSeparator();
@@ -293,6 +301,9 @@
}
}
)
+ {{
+ setVisible(!isRiftsawInstance);
+ }}
);
toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/EmbeddedWSView.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -0,0 +1,147 @@
+/*
+ * 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.ws;
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.DOM;
+import com.google.gwt.user.client.ui.Button;
+import com.google.gwt.user.client.ui.ClickListener;
+import com.google.gwt.user.client.ui.Frame;
+import com.google.gwt.user.client.ui.Widget;
+import com.mvc4g.client.Controller;
+import org.gwt.mosaic.ui.client.ToolBar;
+import org.gwt.mosaic.ui.client.layout.BoxLayout;
+import org.gwt.mosaic.ui.client.layout.BoxLayoutData;
+import org.gwt.mosaic.ui.client.layout.LayoutPanel;
+import org.jboss.bpm.console.client.ApplicationContext;
+import org.jboss.bpm.console.client.common.AbstractView;
+import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
+
+import java.util.Date;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public class EmbeddedWSView extends AbstractView
+{
+ public final static String ID = EmbeddedWSView.class.getName();
+
+ private Controller controller;
+ private boolean isInitialized;
+ private ApplicationContext appContext;
+ private LayoutPanel layout;
+ private Frame frame;
+
+ private String remoteUrl;
+
+ public EmbeddedWSView(ApplicationContext appContext)
+ {
+ super();
+ this.appContext = appContext;
+ ConsoleIconBundle icons = GWT.create(ConsoleIconBundle.class);
+
+ remoteUrl ="http://localhost:8080/jbossws/services";
+
+ setTitle(remoteUrl);
+ setIcon(icons.webserviceIcon());
+
+ }
+
+ public boolean isInitialized()
+ {
+ return isInitialized;
+ }
+
+ public void initialize()
+ {
+ if(!isInitialized)
+ {
+
+ // layout
+ layout = new LayoutPanel( new BoxLayout(BoxLayout.Orientation.VERTICAL));
+ layout.setPadding(0);
+ layout.setWidgetSpacing(0);
+
+ // report frame
+ frame = new Frame();
+ DOM.setStyleAttribute(frame.getElement(), "border", "none");
+
+ // toolbar
+ final LayoutPanel toolBox = new LayoutPanel();
+ toolBox.setPadding(0);
+ toolBox.setWidgetSpacing(5);
+ //toolBox.setLayout(new BoxLayout(BoxLayout.Orientation.VERTICAL));
+
+ final ToolBar toolBar = new ToolBar();
+ toolBar.add(createMenuBtn());
+ toolBox.add(toolBar, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+
+
+ // assembly
+ layout.add(toolBox, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
+ layout.add(frame, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
+
+ this.add(layout);
+
+ // load contents
+ setFrameUrl(remoteUrl);
+
+ this.isInitialized = true;
+ }
+ }
+
+
+ public void onClick(Widget widget)
+ {
+ System.out.println(widget);
+ }
+
+
+ private Widget createMenuBtn()
+ {
+ return new Button("Referesh",
+ new ClickListener()
+ {
+ public void onClick(Widget widget)
+ {
+ setFrameUrl(remoteUrl);
+ }
+ }
+ );
+ }
+
+ public void setController(Controller controller)
+ {
+ this.controller = controller;
+ }
+
+ private void setFrameUrl(String url)
+ {
+ // https://jira.jboss.org/jira/browse/JBPM-2244
+ frame.getElement().setId(
+ String.valueOf( new Date().getTime())
+ );
+
+ frame.setUrl(url);
+
+ }
+}
Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditor.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditor.java (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditor.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -0,0 +1,128 @@
+/*
+ * 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.ws;
+
+import org.jboss.bpm.console.client.Editor;
+import org.jboss.bpm.console.client.MenuSection;
+import org.jboss.bpm.console.client.ApplicationContext;
+import org.jboss.bpm.console.client.LazyPanel;
+import org.jboss.bpm.console.client.common.AbstractView;
+import org.jboss.bpm.console.client.icons.ConsoleIconBundle;
+import org.gwt.mosaic.ui.client.DecoratedTabLayoutPanel;
+import org.gwt.mosaic.ui.client.layout.BorderLayoutData;
+import org.gwt.mosaic.ui.client.layout.BorderLayout;
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.ui.TabListener;
+import com.google.gwt.user.client.ui.SourcesTabEvents;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public class WebServiceEditor extends Editor
+{
+
+ public final static String ID = WebServiceEditor.class.getName();
+
+ private DecoratedTabLayoutPanel tabPanel;
+
+ public WebServiceEditor(ApplicationContext appContext)
+ {
+ super(appContext);
+ }
+
+ public void initialize()
+ {
+ if(!isInitialized())
+ {
+ tabPanel = new DecoratedTabLayoutPanel();
+ tabPanel.setPadding(5);
+ tabPanel.addTabListener(
+ new TabListener()
+ {
+ public boolean onBeforeTabSelected(SourcesTabEvents sourcesTabEvents, int i)
+ {
+ boolean showTab = true;
+
+ if(i!=0)
+ {
+
+ }
+
+ return showTab;
+ }
+
+ public void onTabSelected(SourcesTabEvents sourcesTabEvents, int i)
+ {
+ LazyPanel lazyPanel = (LazyPanel) tabPanel.getWidget(i);
+ if(!lazyPanel.isInitialized())
+ {
+ lazyPanel.initialize();
+ appContext.refreshView(); // TODO: hack around rendering problems
+ }
+ }
+ }
+ );
+
+ this.add(tabPanel, new BorderLayoutData(BorderLayout.Region.CENTER));
+
+ // create and register views
+ registerView(EmbeddedWSView.ID, new EmbeddedWSView(appContext));
+
+ // display tab, needs to visible for correct rendering
+ tabPanel.selectTab(0);
+
+ appContext.refreshView();
+ this.isInitialized = true;
+ }
+ }
+
+ private void registerView(String id, AbstractView view)
+ {
+ // register view with controller
+ super.controller.addView(id, view);
+
+ // add to tab layout
+ this.tabPanel.add(view, view.getIconTitle(), true);
+ }
+
+
+ public String getEditorId()
+ {
+ return ID;
+ }
+
+ public String getTitle()
+ {
+ return "Web Service Endpoints";
+ }
+
+ public MenuSection provideMenuSection()
+ {
+ ConsoleIconBundle icons = GWT.create(ConsoleIconBundle.class);
+
+ return new MenuSection(
+ "Web Services",
+ icons.webserviceIcon(),
+ new WebServiceEditorNavigation(appContext)
+ );
+ }
+}
Added: bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditorNavigation.java
===================================================================
--- bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditorNavigation.java (rev 0)
+++ bpm-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/ws/WebServiceEditorNavigation.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -0,0 +1,63 @@
+/*
+ * 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.ws;
+
+import com.google.gwt.user.client.ui.Tree;
+import com.google.gwt.user.client.ui.TreeItem;
+import com.google.gwt.user.client.ui.TreeListener;
+import org.jboss.bpm.console.client.ApplicationContext;
+import org.jboss.bpm.console.client.Workspace;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+class WebServiceEditorNavigation extends Tree
+{
+
+ public WebServiceEditorNavigation(final ApplicationContext appContext)
+ {
+ super.setTitle("Web Services");
+
+ TreeItem root = addItem("Endpoints");
+ final String serverUrl = appContext.getConfig().getConsoleServerUrl();
+ TreeItem definitions = root.addItem(serverUrl);
+
+ addTreeListener(
+ new TreeListener()
+ {
+ public void onTreeItemSelected(TreeItem treeItem)
+ {
+ if(serverUrl.equals(treeItem.getText()))
+ {
+ Workspace workspace = appContext.getWorkpace();
+ workspace.showEditor(WebServiceEditor.ID);
+ }
+ }
+
+ public void onTreeItemStateChanged(TreeItem treeItem)
+ {
+
+ }
+ }
+ );
+ }
+}
Modified: bpm-console/trunk/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/ConsoleConfig.java
===================================================================
--- bpm-console/trunk/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/ConsoleConfig.java 2009-10-20 10:39:26 UTC (rev 842)
+++ bpm-console/trunk/workspace/workspace-api/src/main/java/org/jboss/bpm/console/client/ConsoleConfig.java 2009-10-20 14:11:52 UTC (rev 843)
@@ -24,6 +24,8 @@
import com.google.gwt.i18n.client.Dictionary;
import com.google.gwt.core.client.GWT;
+import java.util.List;
+
/**
* Initialize console config from host page (<code>Application.html</code>) variable:
* <pre>
@@ -51,7 +53,7 @@
private String consoleServerUrl;
private String defaultEditor;
-
+
public ConsoleConfig(String proxyUrl)
{
Dictionary theme = Dictionary.getDictionary("consoleConfig");
@@ -81,8 +83,29 @@
{
consoleServerUrl = proxyUrl;
}
+
+ // features
+
}
+ public String getHost()
+ {
+ String host = null;
+ if(!GWT.isScript()) // development with proxy
+ {
+ host = consoleServerUrl;
+ }
+ else
+ {
+ String baseUrl = GWT.getModuleBaseURL();
+ host = baseUrl.substring(
+ 0, baseUrl.indexOf("org.jboss.bpm.console.Application")
+ );
+ }
+
+ return host;
+ }
+
public String getProfileName()
{
return profileName;
More information about the overlord-commits
mailing list