Class KeyEditAction
- 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 anEditSelectionCommand
. 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 Summary
Constructors Constructor Description KeyEditAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Character
convertCharToCharacterObject(org.eclipse.swt.events.KeyEvent event)
void
run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
-
-
-
Method Detail
-
run
public void run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
- Specified by:
run
in interfaceIKeyAction
-
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.
-
-