T
- The type of the items in the ISelectionModel
.public class SelectionEventArgs<T extends IModelItem> extends InputModeEventArgs
ISelectionModel
.EMPTY
Constructor and Description |
---|
SelectionEventArgs(IInputModeContext context,
ISelectionModel<T> selection)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ISelectionModel<T> |
getSelection()
Gets the selection these event arguments refer to.
|
getContext
public SelectionEventArgs(IInputModeContext context, ISelectionModel<T> selection)
context
- The context the event with these event args is dispatched.selection
- The selection that is modified.public final ISelectionModel<T> getSelection()