Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2014-01-30 06:42:39 -0500
committervlorenzo2014-01-30 07:36:28 -0500
commite232ae82899f533e103388dd475fc33eded27890 (patch)
treeb72c476c4b673e3a56f1e2fdb49a6bcfca742f38 /plugins
parent1c2d8b85f61f80d2f134bbe5f5066c799f2d3d54 (diff)
downloadorg.eclipse.papyrus-e232ae82899f533e103388dd475fc33eded27890.tar.gz
org.eclipse.papyrus-e232ae82899f533e103388dd475fc33eded27890.tar.xz
org.eclipse.papyrus-e232ae82899f533e103388dd475fc33eded27890.zip
418586: [Connector] [UML] [SysML] [CompositeStructureDiagram] Problems
with UML/SysML Connector https://bugs.eclipse.org/bugs/show_bug.cgi?id=418586
Diffstat (limited to 'plugins')
-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