Class StructuralRefreshCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.StructuralRefreshCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<StructuralRefreshCommand>
public class StructuralRefreshCommandHandler
extends Object
implements ILayerCommandHandler<StructuralRefreshCommand>
Command handler for handling
StructuralRefreshCommands. Simply fires
a StructuralRefreshEvent.
Needed to be able to refresh all layers by simply calling a command on the
NatTable instance itself (Remember that events are fired bottom up the layer
stack while commands are propagated top down).
To refresh all layers by calling a StructuralRefreshCommand on the
NatTable instance, the StructuralRefreshCommandHandler should be
registered against the DataLayer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoCommand(ILayer targetLayer, StructuralRefreshCommand command)
-
Constructor Details
-
StructuralRefreshCommandHandler
public StructuralRefreshCommandHandler()
-
-
Method Details
-
getCommandClass
- Specified by:
getCommandClassin interfaceILayerCommandHandler<StructuralRefreshCommand>
-
doCommand
- Specified by:
doCommandin interfaceILayerCommandHandler<StructuralRefreshCommand>- Parameters:
targetLayer- the target layercommand- the command- Returns:
- true if the command has been handled, false otherwise
-