summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2013-04-03 11:19:44 (EDT)
committer Sven Rottstock2013-04-03 11:19:44 (EDT)
commit7ac54e63a6f86401b0e40e352c707c32fc72488d (patch)
tree12775047dec97a070b94953e77398fd42d545e70
parent666737c1e485ba4fcc10aa934204833c15b3727e (diff)
downloadorg.eclipse.stardust.ui.web-7ac54e63a6f86401b0e40e352c707c32fc72488d.zip
org.eclipse.stardust.ui.web-7ac54e63a6f86401b0e40e352c707c32fc72488d.tar.gz
org.eclipse.stardust.ui.web-7ac54e63a6f86401b0e40e352c707c32fc72488d.tar.bz2
Jira-ID: CRNT-28457
Web based modeler: Models created in eclipse having "Implements" process interface reset to "Provides" Interface and cannot be changed manually git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@64065 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java
index 5096fb9..a734527 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java
@@ -264,6 +264,12 @@ public abstract class ModelElementMarshaller implements ModelMarshaller
processJson.addProperty(ModelerConstants.PROCESS_INTERFACE_TYPE_PROPERTY,
ModelerConstants.PROVIDES_PROCESS_INTERFACE_KEY);
+ if (processDefinition.getExternalRef() != null)
+ {
+ processJson.addProperty(ModelerConstants.PROCESS_INTERFACE_TYPE_PROPERTY,
+ ModelerConstants.IMPLEMENTS_PROCESS_INTERFACE_KEY);
+ }
+
JsonArray formalParametersJson = new JsonArray();
processJson.add(ModelerConstants.FORMAL_PARAMETERS_PROPERTY,