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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTreeExpandCollapseKeyAction(SelectionLayer selectionLayer) Create aTreeExpandCollapseKeyActionconfigured with the givenSelectionLayer. -
Method Summary
-
Field Details
-
selectionLayer
-
-
Constructor Details
-
TreeExpandCollapseKeyAction
Create aTreeExpandCollapseKeyActionconfigured with the givenSelectionLayer.- Parameters:
selectionLayer- the action will be run based on the selection anchor of the givenSelectionLayer.
-
-
Method Details
-
run
- Specified by:
runin interfaceIKeyAction
-