org.eclipse.nebula.widgets.nattable.edit.command
Class EditSelectionCommandHandler

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<EditSelectionCommand>
      extended by org.eclipse.nebula.widgets.nattable.edit.command.EditSelectionCommandHandler
All Implemented Interfaces:
ILayerCommandHandler<EditSelectionCommand>

public class EditSelectionCommandHandler
extends AbstractLayerCommandHandler<EditSelectionCommand>

Command handler for handling EditSelectionCommands. Will first check if all selected cells are editable and if they have the same editor configured. Will call the EditController for activation of the edit mode if these checks succeed.


Constructor Summary
EditSelectionCommandHandler(SelectionLayer selectionLayer)
           
 
Method Summary
 boolean doCommand(EditSelectionCommand command)
           
 Class<EditSelectionCommand> getCommandClass()
           
 
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditSelectionCommandHandler

public EditSelectionCommandHandler(SelectionLayer selectionLayer)
Method Detail

getCommandClass

public Class<EditSelectionCommand> getCommandClass()

doCommand

public boolean doCommand(EditSelectionCommand command)
Specified by:
doCommand in class AbstractLayerCommandHandler<EditSelectionCommand>


Copyright © 2014. All rights reserved.