public class EditSelectionCommand extends AbstractContextFreeCommand
Constructor and Description |
---|
EditSelectionCommand(org.eclipse.swt.widgets.Composite parent,
IConfigRegistry configRegistry) |
EditSelectionCommand(org.eclipse.swt.widgets.Composite parent,
IConfigRegistry configRegistry,
Character character) |
Modifier and Type | Method and Description |
---|---|
Character |
getCharacter() |
IConfigRegistry |
getConfigRegistry() |
org.eclipse.swt.widgets.Composite |
getParent() |
cloneCommand, convertToTargetLayer
public EditSelectionCommand(org.eclipse.swt.widgets.Composite parent, IConfigRegistry configRegistry)
parent
- The parent Composite, needed for the creation of the editor control.configRegistry
- The IConfigRegistry
containing the configuration of the
current NatTable instance the command should be executed for.
This is necessary because the edit controllers in the current architecture
are not aware of the instance they are running in.public EditSelectionCommand(org.eclipse.swt.widgets.Composite parent, IConfigRegistry configRegistry, Character character)
parent
- The parent Composite, needed for the creation of the editor control.configRegistry
- The IConfigRegistry
containing the configuration of the
current NatTable instance the command should be executed for.
This is necessary because the edit controllers in the current architecture
are not aware of the instance they are running in.character
- The Character represented by the key that was typed in case this command
should be executed because of typing a letter or digit key. Can be null
if this command should be executed because of a pressed control key (like F2) or a
programmatical execution.public IConfigRegistry getConfigRegistry()
IConfigRegistry
containing the configuration of the current NatTable
instance the command should be executed for.public Character getCharacter()
null
if this command should be executed because of a pressed control key (like F2) or a
programmatical execution.public org.eclipse.swt.widgets.Composite getParent()
Copyright © 2013. All Rights Reserved.