summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-04-04 08:18:39 (EDT)
committer Stephan Born2012-04-24 10:13:52 (EDT)
commitac16e765fe782583b525764f9eb9adb524073112 (patch)
treeee7e0da4d58bd30580848fd8c1777f5e07728086
parent5f86fb2b8f073846653933cbaf6f195c4b3fd659 (diff)
downloadorg.eclipse.stardust.ide-ac16e765fe782583b525764f9eb9adb524073112.zip
org.eclipse.stardust.ide-ac16e765fe782583b525764f9eb9adb524073112.tar.gz
org.eclipse.stardust.ide-ac16e765fe782583b525764f9eb9adb524073112.tar.bz2
Jira-ID: CRNT-23740
"Visibility Public" checkbox should be added for all data types and participants which can be shared across models (Refactored code to avoid code duplication) git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@55289 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/IdentifiablePropertyPage.java2
-rw-r--r--modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/RoleGeneralPropertyPage.java5
2 files changed, 4 insertions, 3 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/IdentifiablePropertyPage.java b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/IdentifiablePropertyPage.java
index 1f16389..e00ce60 100644
--- a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/IdentifiablePropertyPage.java
+++ b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/IdentifiablePropertyPage.java
@@ -167,7 +167,7 @@ public class IdentifiablePropertyPage extends AbstractModelElementPropertyPage
protected void contributeExtraControls(Composite composite)
{
publicCheckBox = FormBuilder.createCheckBox(composite,
- Diagram_Messages.CHECKBOX_Visibility);
+ Diagram_Messages.CHECKBOX_Visibility, 2);
publicCheckBox.addSelectionListener(new SelectionAdapter()
{
diff --git a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/RoleGeneralPropertyPage.java b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/RoleGeneralPropertyPage.java
index 2bcd8db..fcafc01 100644
--- a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/RoleGeneralPropertyPage.java
+++ b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/RoleGeneralPropertyPage.java
@@ -69,10 +69,11 @@ public class RoleGeneralPropertyPage extends IdentifiablePropertyPage
}
public void contributeExtraControls(Composite composite)
- {
+ {
+ super.contributeExtraControls(composite);
FormBuilder.createLabel(composite, Diagram_Messages.LB_Cardinality);
cardinalityText = FormBuilder.createText(composite);
- cardinalityText.addVerifyListener(VerifierFactory.intVerifier);
+ cardinalityText.addVerifyListener(VerifierFactory.intVerifier);
}
}