public class EditCellCommand extends AbstractContextFreeCommand
Constructor and Description |
---|
EditCellCommand(org.eclipse.swt.widgets.Composite parent,
IConfigRegistry configRegistry,
ILayerCell cell) |
Modifier and Type | Method and Description |
---|---|
ILayerCell |
getCell() |
IConfigRegistry |
getConfigRegistry() |
org.eclipse.swt.widgets.Composite |
getParent() |
cloneCommand, convertToTargetLayer
public EditCellCommand(org.eclipse.swt.widgets.Composite parent, IConfigRegistry configRegistry, ILayerCell cell)
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.cell
- The cell that should be put into the edit mode.public IConfigRegistry getConfigRegistry()
IConfigRegistry
containing the configuration of the current NatTable
instance the command should be executed for.public org.eclipse.swt.widgets.Composite getParent()
public ILayerCell getCell()
Copyright © 2013. All Rights Reserved.