use of org.eclipse.nebula.widgets.nattable.style.theme.ThemeManager in project nebula.widgets.nattable by eclipse.
the class NatTable method getConfigRegistry.
/**
* @return {@link IConfigRegistry} used to hold the configuration bindings
* by Layer, DisplayMode and Config labels.
*/
public IConfigRegistry getConfigRegistry() {
if (this.configRegistry == null) {
this.configRegistry = new ConfigRegistry();
this.themeManager = new ThemeManager(this.configRegistry);
}
return this.configRegistry;
}
use of org.eclipse.nebula.widgets.nattable.style.theme.ThemeManager in project nebula.widgets.nattable by eclipse.
the class NatTable method setConfigRegistry.
public void setConfigRegistry(IConfigRegistry configRegistry) {
if (this.autoconfigure) {
// $NON-NLS-1$
throw new IllegalStateException("May only set config registry post construction if autoconfigure is turned off");
}
this.configRegistry = configRegistry;
this.themeManager = new ThemeManager(configRegistry);
}
Aggregations