Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrschnekenbu2013-02-28 14:22:07 +0000
committerrschnekenbu2013-02-28 14:22:07 +0000
commit87aa387d2e7a8a332a2ae29708401cf76b62083f (patch)
tree025ce2fb5071a8d9c7952915454abffa44c2c11a /plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org
parent4c304ea3fd077700568c1869975943905b4e6b33 (diff)
downloadorg.eclipse.papyrus-87aa387d2e7a8a332a2ae29708401cf76b62083f.tar.gz
org.eclipse.papyrus-87aa387d2e7a8a332a2ae29708401cf76b62083f.tar.xz
org.eclipse.papyrus-87aa387d2e7a8a332a2ae29708401cf76b62083f.zip
394916: [SysML] NestedConnectorEnd stereotype has an incomplete path
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394916
Diffstat (limited to 'plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org')
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/utils/ConnectorUtils.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/utils/ConnectorUtils.java b/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/utils/ConnectorUtils.java
index fcab0abb30d..07eccefa704 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/utils/ConnectorUtils.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/utils/ConnectorUtils.java
@@ -130,6 +130,14 @@ public class ConnectorUtils extends org.eclipse.papyrus.uml.service.types.utils.
}
}
+ // if end is a port, and the list is not empty, add the property from the check view in the list
+ if(!nestedPropertyPath.isEmpty() && checkedEnd.getElement() instanceof Port) {
+ Property partWithPort = getPartWithPort(checkedEnd, oppositeEnd);
+ if(partWithPort !=null) {
+ nestedPropertyPath.add(partWithPort);
+ }
+ }
+
return nestedPropertyPath;
}

Back to the top