From fc4d70b4519a68b48611348470af3e98911ef561 Mon Sep 17 00:00:00 2001 From: Johannes Eder <eder@fortiss.org> Date: Thu, 26 Mar 2020 16:37:52 +0100 Subject: [PATCH] removed multi select from link * not neccessary and avoids confusion due to the fact that ctrl+click creates a bendpoint on links Issue-Ref: 3967 Issue-Url: https://af3-developer.fortiss.org/issues/3967 Signed-off-by: Johannes Eder <eder@fortiss.org> --- .../javafx/lwfxef/controller/base/LinkControllerBase.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/controller/base/LinkControllerBase.java b/org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/controller/base/LinkControllerBase.java index c22321002..3032dae49 100644 --- a/org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/controller/base/LinkControllerBase.java +++ b/org.fortiss.tooling.common.ui/src/org/fortiss/tooling/common/ui/javafx/lwfxef/controller/base/LinkControllerBase.java @@ -131,11 +131,7 @@ public abstract class LinkControllerBase extends MVCBundlePartBase implements IC DiagramCoordinate snappedLocation = features.snapToCenter(diagramLocation); return () -> createBendPointAt(currentBendPointIndex, snappedLocation); } - if(event.isShiftDown()) { - viewer.handleShiftSelectionOf(getMVCBundle()); - } else { - viewer.setSingleSelectedMVCBundle(getMVCBundle()); - } + viewer.setSingleSelectedMVCBundle(getMVCBundle()); return null; } -- GitLab