summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-04-25 07:08:46 (EDT)
committer Stephan Born2012-04-27 11:29:13 (EDT)
commit89c1192ef9185dc85c3a25db40ec52f055457e5c (patch)
tree5a898a25a0a786458704877783a449cf734b8d20
parent7db57721b23f49644a00a59a9a0fc332191383af (diff)
downloadorg.eclipse.stardust.ide-89c1192ef9185dc85c3a25db40ec52f055457e5c.zip
org.eclipse.stardust.ide-89c1192ef9185dc85c3a25db40ec52f055457e5c.tar.gz
org.eclipse.stardust.ide-89c1192ef9185dc85c3a25db40ec52f055457e5c.tar.bz2
Jira-ID: CRNT-24621
"Visibility Public" checkbox should be added for conditional performer as well git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@55798 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--modeling/org.eclipse.stardust.modeling.repository.common/src/org/eclipse/stardust/modeling/repository/common/ConnectionManager.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.repository.common/src/org/eclipse/stardust/modeling/repository/common/ConnectionManager.java b/modeling/org.eclipse.stardust.modeling.repository.common/src/org/eclipse/stardust/modeling/repository/common/ConnectionManager.java
index 31f88fb..028dc3b 100644
--- a/modeling/org.eclipse.stardust.modeling.repository.common/src/org/eclipse/stardust/modeling/repository/common/ConnectionManager.java
+++ b/modeling/org.eclipse.stardust.modeling.repository.common/src/org/eclipse/stardust/modeling/repository/common/ConnectionManager.java
@@ -102,6 +102,17 @@ public class ConnectionManager implements IConnectionManager
return false;
}
}
+ if (eObjectdescriptor.getEObject() instanceof ConditionalPerformerType)
+ {
+ ConditionalPerformerType conPerfType = eObjectdescriptor.getEObject();
+ AttributeType visibility = AttributeUtil.getAttribute(
+ (IExtensibleElement) conPerfType,
+ PredefinedConstants.MODELELEMENT_VISIBILITY);
+ if (visibility != null && "Private".equals(visibility.getValue())) //$NON-NLS-1$
+ {
+ return false;
+ }
+ }
if (eObjectdescriptor.getEObject() instanceof DataType)
{
DataType dataType = eObjectdescriptor.getEObject();