Class FillHandleConfiguration
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.config.AbstractLayerConfiguration<NatTable>
-
- org.eclipse.nebula.widgets.nattable.fillhandle.config.FillHandleConfiguration
-
- All Implemented Interfaces:
IConfiguration
public class FillHandleConfiguration extends AbstractLayerConfiguration<NatTable>
Default configuration for fill handle functionality. Registers the corresponding painter, command handler and ui bindings.- Since:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description protected InternalCellClipboardclipboardprotected FillHandleLayerPainterpainterprotected SelectionLayerselectionLayer
-
Constructor Summary
Constructors Constructor Description FillHandleConfiguration(SelectionLayer selectionLayer)Create the FillHandleConfiguration for a NatTable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureTypedLayer(NatTable natTable)voidconfigureUiBindings(UiBindingRegistry uiBindingRegistry)Configure NatTable'sUiBindingRegistryupon receiving this callback.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.config.AbstractLayerConfiguration
configureLayer, configureRegistry
-
-
-
-
Field Detail
-
selectionLayer
protected SelectionLayer selectionLayer
-
painter
protected FillHandleLayerPainter painter
-
clipboard
protected InternalCellClipboard clipboard
-
-
Constructor Detail
-
FillHandleConfiguration
public FillHandleConfiguration(SelectionLayer selectionLayer)
Create the FillHandleConfiguration for a NatTable.- Parameters:
selectionLayer- TheSelectionLayerneeded to determine the current selection on which the fill handle will be rendered. Can not benull.
-
-
Method Detail
-
configureTypedLayer
public void configureTypedLayer(NatTable natTable)
- Specified by:
configureTypedLayerin classAbstractLayerConfiguration<NatTable>
-
configureUiBindings
public void configureUiBindings(UiBindingRegistry uiBindingRegistry)
Description copied from interface:IConfigurationConfigure NatTable'sUiBindingRegistryupon receiving this callback. A mechanism to customize key/mouse bindings.- Specified by:
configureUiBindingsin interfaceIConfiguration- Overrides:
configureUiBindingsin classAbstractLayerConfiguration<NatTable>- Parameters:
uiBindingRegistry- TheUiBindingRegistryinstance to register ui bindings to.
-
-