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>
public class TickUpdateCommandHandler extends AbstractLayerCommandHandler<TickUpdateCommand>
The command handler that will handleTickUpdateCommand
s on selected cells.
-
-
Constructor Summary
Constructors Constructor Description TickUpdateCommandHandler(SelectionLayer selectionLayer)
TickUpdateCommandHandler(SelectionLayer selectionLayer, IUniqueIndexLayer upperLayer)
Creates a command handler that performs the edit checks based on the given upper layer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doCommand(TickUpdateCommand command)
Class<TickUpdateCommand>
getCommandClass()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
-
-
-
Constructor Detail
-
TickUpdateCommandHandler
public TickUpdateCommandHandler(SelectionLayer selectionLayer)
- Parameters:
selectionLayer
- TheSelectionLayer
needed to retrieve the selected cells on which the tick update should be processed.
-
TickUpdateCommandHandler
public TickUpdateCommandHandler(SelectionLayer selectionLayer, IUniqueIndexLayer upperLayer)
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 Detail
-
doCommand
public boolean doCommand(TickUpdateCommand command)
- Specified by:
doCommand
in classAbstractLayerCommandHandler<TickUpdateCommand>
-
getCommandClass
public Class<TickUpdateCommand> getCommandClass()
-
-