Class HierarchicalTreeCollapseAllCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.hierarchical.command.HierarchicalTreeCollapseAllCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<TreeCollapseAllCommand>
public class HierarchicalTreeCollapseAllCommandHandler
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.
- Since:
- 1.6
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoCommand(ILayer targetLayer, TreeCollapseAllCommand command)
-
Constructor Details
-
HierarchicalTreeCollapseAllCommandHandler
- Parameters:
treeLayer- The HierarchicalTreeLayer to which this command handler should be connected.
-
-
Method Details
-
doCommand
- Specified by:
doCommandin interfaceILayerCommandHandler<TreeCollapseAllCommand>- Parameters:
targetLayer- the target layercommand- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
- Specified by:
getCommandClassin interfaceILayerCommandHandler<TreeCollapseAllCommand>
-