Class TickUpdateCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<TickUpdateCommand>
org.eclipse.nebula.widgets.nattable.tickupdate.command.TickUpdateCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<TickUpdateCommand>
The command handler that will handle
TickUpdateCommand
s on selected
cells.-
Constructor Summary
ConstructorDescriptionTickUpdateCommandHandler
(SelectionLayer selectionLayer) TickUpdateCommandHandler
(SelectionLayer selectionLayer, IUniqueIndexLayer upperLayer) Creates a command handler that performs the edit checks based on the given upper layer. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
Constructor Details
-
TickUpdateCommandHandler
- Parameters:
selectionLayer
- TheSelectionLayer
needed to retrieve the selected cells on which the tick update should be processed.
-
TickUpdateCommandHandler
Creates a command handler that performs the edit checks based on the given upper layer. Needed for example if the upper layer adds information that is needed for checks, e.g. a tree layer.- Parameters:
selectionLayer
- TheSelectionLayer
needed to retrieve the selected cells on which the tick update should be processed.upperLayer
- The layer on top of the givenSelectionLayer
to which the selection should be converted to. Can benull
which causes the resulting selected cells to be related to theSelectionLayer
.- Since:
- 1.6
-
-
Method Details
-
doCommand
- Specified by:
doCommand
in classAbstractLayerCommandHandler<TickUpdateCommand>
-
getCommandClass
-