Class HierarchicalTreeExpandAllCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.hierarchical.command.HierarchicalTreeExpandAllCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<TreeExpandAllCommand>
public class HierarchicalTreeExpandAllCommandHandler
extends Object
implements ILayerCommandHandler<TreeExpandAllCommand>
Command handler for the TreeExpandAllCommand.
Will search over the whole tree structure in the associated TreeLayer to identify expandable nodes and expand them one after the other.
- Since:
- 1.6
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
doCommand
(ILayer targetLayer, TreeExpandAllCommand command)
-
Constructor Details
-
HierarchicalTreeExpandAllCommandHandler
- Parameters:
treeLayer
- The HierarchicalTreeLayer to which this command handler should be connected.
-
-
Method Details
-
doCommand
- Specified by:
doCommand
in interfaceILayerCommandHandler<TreeExpandAllCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<TreeExpandAllCommand>
-