java.lang.Object
org.eclipse.nebula.widgets.nattable.edit.action.KeyEditAction
All Implemented Interfaces:
IKeyAction

public class KeyEditAction extends Object implements IKeyAction
Action that will execute an EditSelectionCommand. The cell(s) to edit are determined using the SelectionLayer. Therefore this action will only work if a SelectionLayer is in the NatTable layer composition.
  • Constructor Details

    • KeyEditAction

      public KeyEditAction()
  • Method Details

    • run

      public void run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
      Specified by:
      run in interface IKeyAction
    • convertCharToCharacterObject

      protected Character convertCharToCharacterObject(org.eclipse.swt.events.KeyEvent event)
      Parameters:
      event - The KeyEvent that triggered the execution of this KeyEditAction.
      Returns:
      The Character represented by the key that was typed in case it was a letter or digit key, or null if it was a control (like F2) or other key.