Class TreeExpandAllCommandHandler
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.tree.command.TreeExpandAllCommandHandler
-
- All Implemented Interfaces:
ILayerCommandHandler<TreeExpandAllCommand>
public class TreeExpandAllCommandHandler 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.
- See Also:
TreeLayer
,TreeExpandAllCommand
-
-
Constructor Summary
Constructors Constructor Description TreeExpandAllCommandHandler(TreeLayer 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
-
TreeExpandAllCommandHandler
public TreeExpandAllCommandHandler(TreeLayer treeLayer)
- Parameters:
treeLayer
- The TreeLayer 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>
-
-