Class TreeExpandCollapseKeyAction
java.lang.Object
org.eclipse.nebula.widgets.nattable.tree.action.TreeExpandCollapseKeyAction
- All Implemented Interfaces:
IKeyAction
This action toggles the state of a tree node (expanded <-> collapsed)
located at the current selection anchor position. It has the same effect as
TreeExpandCollapseAction
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionTreeExpandCollapseKeyAction
(SelectionLayer selectionLayer) Create aTreeExpandCollapseKeyAction
configured with the givenSelectionLayer
. -
Method Summary
-
Field Details
-
selectionLayer
-
-
Constructor Details
-
TreeExpandCollapseKeyAction
Create aTreeExpandCollapseKeyAction
configured with the givenSelectionLayer
.- Parameters:
selectionLayer
- the action will be run based on the selection anchor of the givenSelectionLayer
.
-
-
Method Details
-
run
- Specified by:
run
in interfaceIKeyAction
-