org.eclipse.nebula.widgets.nattable.tree.command
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.
- Author:
- Dirk Fauth
- See Also:
TreeLayer
,
TreeExpandAllCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeExpandAllCommandHandler
public TreeExpandAllCommandHandler(TreeLayer treeLayer)
- Parameters:
treeLayer
- The TreeLayer to which this command handler should be
connected.
doCommand
public boolean doCommand(ILayer targetLayer,
TreeExpandAllCommand command)
- Specified by:
doCommand
in interface ILayerCommandHandler<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 interface ILayerCommandHandler<TreeExpandAllCommand>
Copyright © 2015. All rights reserved.