Skip to content
Snippets Groups Projects
Commit 9b707786 authored by Johannes Eder's avatar Johannes Eder
Browse files

changed multi select to ctrl+left click

parent a589edc7
No related branches found
No related tags found
1 merge request!983967
......@@ -377,8 +377,8 @@ public class DiagramViewer {
}
/** Interprets the effect of shift-clicking the given {@link IMVCBundle}. */
public void handleShiftSelectionOf(IMVCBundle sel) {
viewerManager.handleShiftSelectionOf(sel);
public void handleCtrlSelectionOf(IMVCBundle sel) {
viewerManager.handleCtrlSelectionOf(sel);
}
/**
......
......@@ -605,7 +605,7 @@ import org.fortiss.tooling.common.ui.javafx.lwfxef.visual.IVisualFactory;
}
/** Performs shift selection of the given bundle. */
public void handleShiftSelectionOf(IMVCBundle sel) {
public void handleCtrlSelectionOf(IMVCBundle sel) {
if(primarySelectedBundle == sel || secondarySelectedBundles.contains(sel)) {
removeSelectedMVCBundle(sel);
} else {
......
......@@ -75,8 +75,8 @@ public abstract class ControllerBase extends MVCBundlePartBase implements IContr
if(!selectOnClick()) {
return null;
}
if(event.isShiftDown()) {
getViewer().handleShiftSelectionOf(getMVCBundle());
if(event.isControlDown()) {
getViewer().handleCtrlSelectionOf(getMVCBundle());
} else {
getViewer().setSingleSelectedMVCBundle(getMVCBundle());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment