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 handle TickUpdateCommands on selected cells.
  • Constructor Details

    • TickUpdateCommandHandler

      public TickUpdateCommandHandler(SelectionLayer selectionLayer)
      Parameters:
      selectionLayer - The SelectionLayer 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 - The SelectionLayer needed to retrieve the selected cells on which the tick update should be processed.
      upperLayer - The layer on top of the given SelectionLayer to which the selection should be converted to. Can be null which causes the resulting selected cells to be related to the SelectionLayer.
      Since:
      1.6
  • Method Details