summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}
}
}