Class DefaultEditBindings
java.lang.Object
org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration
org.eclipse.nebula.widgets.nattable.edit.config.DefaultEditBindings
- All Implemented Interfaces:
IConfiguration
Default configuration for edit related bindings. Adds bindings that support
opening cell editors via keypress and mouse click.
By default GridRegion.BODY is used for the matchers to evaluate if an
editor should be activated. By doing this only the editing in the body layer
stack of a grid is enabled.
Note: For typical ICellEditors there is no special registering
necessary like it was previous to 1.0.0. Only ICellEditors that
return false for ICellEditor.activateAtAnyPosition()
need to register a custom IMouseEventMatcher to determine whether to
activate the editor or not, regarding the correct position. This is for
example necessary for the CheckboxCellEditor that is configured with
the corresponding CheckBoxPainter, so the editor is only activated if
the checkbox item is clicked, not any other position in the cell.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureUiBindings(UiBindingRegistry uiBindingRegistry) Configure NatTable'sUiBindingRegistryupon receiving this callback.Methods inherited from class org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration
configureLayer, configureRegistry
-
Constructor Details
-
DefaultEditBindings
public DefaultEditBindings()
-
-
Method Details
-
configureUiBindings
Description copied from interface:IConfigurationConfigure NatTable'sUiBindingRegistryupon receiving this callback. A mechanism to customize key/mouse bindings.- Parameters:
uiBindingRegistry- TheUiBindingRegistryinstance to register ui bindings to.
-