Class DefaultHierarchicalTreeLayerConfiguration
java.lang.Object
org.eclipse.nebula.widgets.nattable.hierarchical.config.DefaultHierarchicalTreeLayerConfiguration
- All Implemented Interfaces:
IConfiguration
The default configuration for the
HierarchicalTreeLayer. Adds default
styling and default bindings.- Since:
- 1.6
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.eclipse.swt.graphics.Colororg.eclipse.swt.graphics.Colororg.eclipse.swt.graphics.Colororg.eclipse.swt.graphics.Colorprotected HierarchicalTreeLayer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureEditableRules(IConfigRegistry configRegistry) Configures the editable rules for the level header column cells and the collapsed childs.voidconfigureLayer(ILayer layer) Perform configurations on the provided layer.voidconfigureRegistry(IConfigRegistry configRegistry) Configure NatTable'sIConfigRegistryupon receiving this callback.voidconfigureUiBindings(UiBindingRegistry uiBindingRegistry) Configure NatTable'sUiBindingRegistryupon receiving this callback.
-
Field Details
-
treeLayer
-
evenRowBgColor
public org.eclipse.swt.graphics.Color evenRowBgColor -
oddRowBgColor
public org.eclipse.swt.graphics.Color oddRowBgColor -
levelHeaderColor
public org.eclipse.swt.graphics.Color levelHeaderColor -
levelHeaderSelectedColor
public org.eclipse.swt.graphics.Color levelHeaderSelectedColor
-
-
Constructor Details
-
DefaultHierarchicalTreeLayerConfiguration
TheHierarchicalTreeLayerwhich should be configured by this configuration.
-
-
Method Details
-
configureLayer
Description copied from interface:IConfigurationPerform configurations on the provided layer.- Specified by:
configureLayerin interfaceIConfiguration- Parameters:
layer- TheILayerto configure.
-
configureRegistry
Description copied from interface:IConfigurationConfigure NatTable'sIConfigRegistryupon receiving this callback. A mechanism to plug-in customICellPainter,IDataValidatoretc.- Specified by:
configureRegistryin interfaceIConfiguration- Parameters:
configRegistry- TheIConfigRegistryinstance to register configuration values to.
-
configureEditableRules
Configures the editable rules for the level header column cells and the collapsed childs.- Parameters:
configRegistry- TheIConfigRegistryto which the configurations should be applied.
-
configureUiBindings
Description copied from interface:IConfigurationConfigure NatTable'sUiBindingRegistryupon receiving this callback. A mechanism to customize key/mouse bindings.- Specified by:
configureUiBindingsin interfaceIConfiguration- Parameters:
uiBindingRegistry- TheUiBindingRegistryinstance to register ui bindings to.
-