Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2014-01-30 06:42:39 -0500
committervlorenzo2014-01-30 06:42:39 -0500
commitc850305a4860b009d54142cc76562fd2fde20829 (patch)
tree8f3806780996b9421c01662805f28e909eabee35
parentfc442a158e6c6f088ebe04b3f713722e3b1f3269 (diff)
downloadorg.eclipse.papyrus-c850305a4860b009d54142cc76562fd2fde20829.tar.gz
org.eclipse.papyrus-c850305a4860b009d54142cc76562fd2fde20829.tar.xz
org.eclipse.papyrus-c850305a4860b009d54142cc76562fd2fde20829.zip
418586: [Connector] [UML] [SysML] [CompositeStructureDiagram] Problems
with UML/SysML Connector https://bugs.eclipse.org/bugs/show_bug.cgi?id=418586
-rw-r--r--plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/command/ConnectorReorientSemanticCommand.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/command/ConnectorReorientSemanticCommand.java b/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/command/ConnectorReorientSemanticCommand.java
index 2034a61fa5c..73f5a73ca0b 100644
--- a/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/command/ConnectorReorientSemanticCommand.java
+++ b/plugins/uml/org.eclipse.papyrus.uml.service.types/src/org/eclipse/papyrus/uml/service/types/command/ConnectorReorientSemanticCommand.java
@@ -147,9 +147,12 @@ public class ConnectorReorientSemanticCommand extends EditElementCommand {
if(newRole != null && oppositeRole != null) {
//the 2 roles must be not be equals
- if(newRole == oppositeRole) {
+ /*
+ if(newRole == oppositeRole) { // ALG: This is wrong for a connector connecting the same port of two different parts!
return false;
}
+ */
+
//UML Standart, p.181 : [3] The ConnectableElements attached as roles to each ConnectorEnd owned by a Connector must be roles

Back to the top