public class DefaultHierarchicalTreeLayerConfiguration extends Object implements IConfiguration
HierarchicalTreeLayer. Adds default
styling and default bindings.HierarchicalTreeLayer| Modifier and Type | Field and Description |
|---|---|
org.eclipse.swt.graphics.Color |
evenRowBgColor |
org.eclipse.swt.graphics.Color |
levelHeaderColor |
org.eclipse.swt.graphics.Color |
levelHeaderSelectedColor |
org.eclipse.swt.graphics.Color |
oddRowBgColor |
protected HierarchicalTreeLayer |
treeLayer |
| Constructor and Description |
|---|
DefaultHierarchicalTreeLayerConfiguration(HierarchicalTreeLayer treeLayer)
The
HierarchicalTreeLayer which should be configured by this
configuration. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureEditableRules(IConfigRegistry configRegistry)
Configures the editable rules for the level header column cells and the
collapsed childs.
|
void |
configureLayer(ILayer layer) |
void |
configureRegistry(IConfigRegistry configRegistry)
Configure NatTable's
IConfigRegistry upon receiving this call
back. |
void |
configureUiBindings(UiBindingRegistry uiBindingRegistry)
Configure NatTable's
IConfigRegistry upon receiving this call
back A mechanism to customize key/mouse bindings. |
protected HierarchicalTreeLayer treeLayer
public org.eclipse.swt.graphics.Color evenRowBgColor
public org.eclipse.swt.graphics.Color oddRowBgColor
public org.eclipse.swt.graphics.Color levelHeaderColor
public org.eclipse.swt.graphics.Color levelHeaderSelectedColor
public DefaultHierarchicalTreeLayerConfiguration(HierarchicalTreeLayer treeLayer)
HierarchicalTreeLayer which should be configured by this
configuration.public void configureLayer(ILayer layer)
configureLayer in interface IConfigurationpublic void configureRegistry(IConfigRegistry configRegistry)
IConfigurationIConfigRegistry upon receiving this call
back. A mechanism to plug-in custom ICellPainter,
IDataValidator etc.configureRegistry in interface IConfigurationconfigRegistry - The IConfigRegistry instance to register configuration
values to.protected void configureEditableRules(IConfigRegistry configRegistry)
configRegistry - The IConfigRegistry to which the configurations should
be applied.public void configureUiBindings(UiBindingRegistry uiBindingRegistry)
IConfigurationIConfigRegistry upon receiving this call
back A mechanism to customize key/mouse bindings.configureUiBindings in interface IConfigurationuiBindingRegistry - The UiBindingRegistry instance to register ui bindings
to.Copyright © 2019. All rights reserved.