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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoCommand(ILayer targetLayer, TreeCollapseAllCommand command)
-
Constructor Details
-
TreeCollapseAllCommandHandler
- Parameters:
treeLayer- The TreeLayer 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>
-