Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2018-06-28 08:12:00 +0000
committerNicolas FAUVERGUE2018-07-02 08:06:35 +0000
commit3f37c91cb336d4c73bc1c89a2f8f689a5eee6c87 (patch)
tree5f3b7473b85421c5a9b4d6a481ad6f8fb3f38adf /plugins
parent8c6bf063c15aec23c3e18e33ceb7834762304f94 (diff)
downloadorg.eclipse.papyrus-3f37c91cb336d4c73bc1c89a2f8f689a5eee6c87.tar.gz
org.eclipse.papyrus-3f37c91cb336d4c73bc1c89a2f8f689a5eee6c87.tar.xz
org.eclipse.papyrus-3f37c91cb336d4c73bc1c89a2f8f689a5eee6c87.zip
Bug 536394: [SequenceDiagram] Allow the movement of message under others
Remove the movement restriction at the bottom of the moved message. Change-Id: I906c5c923ec4a7f3646d4b1724892e64bae62d17 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/util/SelectMessagesEditPartTracker.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/util/SelectMessagesEditPartTracker.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/util/SelectMessagesEditPartTracker.java
index aea60ec01e7..cfccdbf25cf 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/util/SelectMessagesEditPartTracker.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/util/SelectMessagesEditPartTracker.java
@@ -134,11 +134,6 @@ public class SelectMessagesEditPartTracker extends SelectSeveralLinksEditPartTra
if (MinDistancetop > (currentSelectedConnectionPosition.y - currentConnectionPosition.y)) {
MinDistancetop = (currentSelectedConnectionPosition.y - currentConnectionPosition.y);
}
- } else {
- // selected Message is above the currentConnection
- if (MinDistancebottom > (currentConnectionPosition.y - currentSelectedConnectionPosition.y)) {
- MinDistancebottom = (currentConnectionPosition.y - currentSelectedConnectionPosition.y);
- }
}
}

Back to the top