Class TreeCollapseAllCommandHandler
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.tree.command.TreeCollapseAllCommandHandler
-
- All Implemented Interfaces:
ILayerCommandHandler<TreeCollapseAllCommand>
public class TreeCollapseAllCommandHandler extends Object implements ILayerCommandHandler<TreeCollapseAllCommand>
Command handler for the TreeCollapseAllCommand.Will search over the whole tree structure in the associated TreeLayer to identify collapsible nodes and collapse them one after the other.
- See Also:
TreeLayer
,TreeCollapseAllCommand
-
-
Constructor Summary
Constructors Constructor Description TreeCollapseAllCommandHandler(TreeLayer treeLayer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doCommand(ILayer targetLayer, TreeCollapseAllCommand command)
Class<TreeCollapseAllCommand>
getCommandClass()
-
-
-
Constructor Detail
-
TreeCollapseAllCommandHandler
public TreeCollapseAllCommandHandler(TreeLayer treeLayer)
- Parameters:
treeLayer
- The TreeLayer to which this command handler should be connected.
-
-
Method Detail
-
doCommand
public boolean doCommand(ILayer targetLayer, TreeCollapseAllCommand command)
- Specified by:
doCommand
in interfaceILayerCommandHandler<TreeCollapseAllCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
public Class<TreeCollapseAllCommand> getCommandClass()
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<TreeCollapseAllCommand>
-
-