VR
- The visual root node of the UI toolkit, e.g. javafx.scene.Node in
case of JavaFX.public class ClearHoverFocusSelectionOperation<VR> extends ReverseUndoCompositeOperation
ClearHoverFocusSelectionOperation
can be used to clear the
HoverModel
, FocusModel
, and SelectionModel
within an
IViewer
.Constructor and Description |
---|
ClearHoverFocusSelectionOperation(IViewer<VR> viewer)
Creates a new
ClearHoverFocusSelectionOperation for the given
IViewer . |
Modifier and Type | Method and Description |
---|---|
protected ChangeFocusOperation<VR> |
getChangeFocusOperation(IViewer<VR> viewer)
|
protected ChangeHoverOperation<VR> |
getChangeHoverOperation(IViewer<VR> viewer)
|
protected ChangeSelectionOperation<VR> |
getChangeSelectionOperation(IViewer<VR> viewer)
|
undo
add, addAll, addContext, canExecute, canRedo, canUndo, combine, execute, getOperations, isEmpty, redo, remove, unwrap
dispose, getContexts, getLabel, hasContext, removeContext, setLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getContexts, getLabel, hasContext, removeContext
public ClearHoverFocusSelectionOperation(IViewer<VR> viewer)
ClearHoverFocusSelectionOperation
for the given
IViewer
.viewer
- The IViewer
of which the HoverModel
,
FocusModel
, and SelectionModel
are cleared.protected ChangeFocusOperation<VR> getChangeFocusOperation(IViewer<VR> viewer)
viewer
- The IViewer
of which the FocusModel
is
cleared.ChangeFocusOperation
to clear the FocusModel
of
the given IViewer
.protected ChangeHoverOperation<VR> getChangeHoverOperation(IViewer<VR> viewer)
viewer
- The IViewer
of which the HoverModel
is
cleared.ChangeHoverOperation
to clear the HoverModel
of
the given IViewer
.protected ChangeSelectionOperation<VR> getChangeSelectionOperation(IViewer<VR> viewer)
viewer
- The IViewer
of which the SelectionModel
is
cleared.ChangeSelectionOperation
to clear the
SelectionModel
of the given IViewer
.Copyright (c) 2014 itemis AG and others. All rights reserved.