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:
HierarchicalTreeLayer
,TreeExpandAllCommand
-
-
Constructor Summary
Constructors Constructor Description HierarchicalTreeExpandAllCommandHandler(HierarchicalTreeLayer treeLayer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doCommand(ILayer targetLayer, TreeExpandAllCommand command)
Class<TreeExpandAllCommand>
getCommandClass()
-
-
-
Constructor Detail
-
HierarchicalTreeExpandAllCommandHandler
public HierarchicalTreeExpandAllCommandHandler(HierarchicalTreeLayer treeLayer)
- Parameters:
treeLayer
- The HierarchicalTreeLayer to which this command handler should be connected.
-
-
Method Detail
-
doCommand
public boolean doCommand(ILayer targetLayer, TreeExpandAllCommand command)
- Specified by:
doCommand
in interfaceILayerCommandHandler<TreeExpandAllCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
public Class<TreeExpandAllCommand> getCommandClass()
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<TreeExpandAllCommand>
-
-