summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-04-12 04:01:47 (EDT)
committerStephan Born2012-04-24 10:14:00 (EDT)
commit9210463ea30fcb82c15cd558d3d62ba40582fa44 (patch)
tree3365a1b05bae5a76467ddd351738efc5dd8fd564
parentbfea4de36561d93ed9b39c1e9e079f93b666d522 (diff)
downloadorg.eclipse.stardust.ide-9210463ea30fcb82c15cd558d3d62ba40582fa44.zip
org.eclipse.stardust.ide-9210463ea30fcb82c15cd558d3d62ba40582fa44.tar.gz
org.eclipse.stardust.ide-9210463ea30fcb82c15cd558d3d62ba40582fa44.tar.bz2
Jira-ID: CRNT-23343
Changing formal parameter for process interface, doesn't refresh properly and gives warning in implementer model git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@55439 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ModelElementsOutlineSynchronizer.java10
-rw-r--r--modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java3
2 files changed, 12 insertions, 1 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ModelElementsOutlineSynchronizer.java b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ModelElementsOutlineSynchronizer.java
index 3a4e44c..33907a6 100644
--- a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ModelElementsOutlineSynchronizer.java
+++ b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ModelElementsOutlineSynchronizer.java
@@ -228,4 +228,14 @@ public class ModelElementsOutlineSynchronizer
provider.removeNode(provider.getParentNodeId() + "." + id); //$NON-NLS-1$
provider.updateVisuals();
}
+
+ public boolean isInit()
+ {
+ return isInit;
+ }
+
+ public void setInit(boolean isInit)
+ {
+ this.isInit = isInit;
+ }
} \ No newline at end of file
diff --git a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java
index 61e4e08..f24a03c 100644
--- a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java
+++ b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java
@@ -193,6 +193,7 @@ public class ProcessInterfacePropertyPage extends AbstractModelElementPropertyPa
private void updateOutline()
{
+ outlineSynchronizer.setInit(false);
if (isProviding)
{
outlineSynchronizer.init(formalParameters);
@@ -459,7 +460,7 @@ public class ProcessInterfacePropertyPage extends AbstractModelElementPropertyPa
parameterMappings.setMappedData(mappingType.getParameter(), null);
}
process.setFormalParameterMappings(parameterMappings);
-
+ updateOutline();
}
}
}