public interface ISelectionManager
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the current selection.
|
boolean |
deselect(ISelectionSupport element)
Allows to deselect a
IDesignElement object. |
Collection<ISelectionSupport> |
getSelection()
Gets the selected design elements.
|
ISelectionSupport |
getSingleSelection()
Gets the first element of the selection.
|
boolean |
isMultiSelect()
Checks if a multiple selection is allowed.
|
boolean |
select(ISelectionSupport element)
Allows to select a
IDesignElement object. |
void |
setMultiSelect(boolean multiSelect)
Sets multiple selection
|
boolean isMultiSelect()
void setMultiSelect(boolean multiSelect)
multiSelect
- : if true, the selection is multiple, single otherwiseCollection<ISelectionSupport> getSelection()
ISelectionSupport
objects.ISelectionSupport getSingleSelection()
ISelectionSupport
object.boolean select(ISelectionSupport element)
IDesignElement
object.element
- The design element as a ISelectionSupport
object.boolean deselect(ISelectionSupport element)
IDesignElement
object.element
- The design element as a ISelectionSupport
object.void clear()
Copyright © 2022 Visiativ. All rights reserved.