public class KeyEditAction extends Object implements IKeyAction
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 and Description |
---|
KeyEditAction() |
Modifier and Type | Method and Description |
---|---|
protected Character |
convertCharToCharacterObject(org.eclipse.swt.events.KeyEvent event) |
void |
run(NatTable natTable,
org.eclipse.swt.events.KeyEvent event) |
public void run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
run
in interface IKeyAction
protected Character convertCharToCharacterObject(org.eclipse.swt.events.KeyEvent event)
event
- The KeyEvent that triggered the execution of this
KeyEditAction.null
if it
was a control (like F2) or other key.Copyright © 2013. All Rights Reserved.