Class SelectionMode
java.lang.Object
com.nomagic.magicdraw.ui.dialogs.selection.SelectionMode
Describes element selection mode. Element selection can support single/multiple selection modes.
The multiple selection mode allows to initialize selection in single mode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SelectionModeMultiple selection mode (with initial multiple selection).static final SelectionModeMultiple selection mode with initial single selection mode.static final SelectionModeSingle selection mode. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck initial selection mode.booleanCheck selection mode.
-
Field Details
-
SINGLE_MODE
Single selection mode. -
MULTIPLE_MODE
Multiple selection mode (with initial multiple selection). -
MULTIPLE_MODE_SINGLE_INITIAL
Multiple selection mode with initial single selection mode.
-
-
Method Details
-
isSingleMode
public boolean isSingleMode()Check selection mode.- Returns:
- true - single selection mode, false - multiple selection mode.
-
isInitialSingleMode
public boolean isInitialSingleMode()Check initial selection mode. IfisSingleMode()returns true, this method also returns true. Only multiple selection mode supports multiple initial selection mode.- Returns:
- true - single selection mode, false - multiple selection mode.
-