Class VisualRefreshCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<VisualRefreshCommand>
public class VisualRefreshCommandHandler
extends Object
implements ILayerCommandHandler<VisualRefreshCommand>
Command handler for handling
VisualRefreshCommands. Simply fires a
VisualRefreshEvent.
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 VisualRefreshCommand on the
NatTable instance, the VisualRefreshCommandHandler should be
registered against the DataLayer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoCommand(ILayer targetLayer, VisualRefreshCommand command)
-
Constructor Details
-
VisualRefreshCommandHandler
public VisualRefreshCommandHandler()
-
-
Method Details
-
getCommandClass
- Specified by:
getCommandClassin interfaceILayerCommandHandler<VisualRefreshCommand>
-
doCommand
- Specified by:
doCommandin interfaceILayerCommandHandler<VisualRefreshCommand>- Parameters:
targetLayer- the target layercommand- the command- Returns:
- true if the command has been handled, false otherwise
-