fire renderersChanged event on applying settings in main configurable dialog

This commit is contained in:
Eugene Zhuravlev
2011-05-26 17:06:10 +02:00
parent f53097787d
commit 8d61f83fd4
2 changed files with 3 additions and 7 deletions
@@ -195,6 +195,8 @@ public class DebuggerDataViewsConfigurable implements SearchableConfigurable {
myAutoTooltip.save();
myArrayRendererConfigurable.apply();
rendererSettings.fireRenderersChanged();
}
public void reset() {
@@ -36,10 +36,8 @@ public class ViewsGeneralSettings implements PersistentStateComponent<Element> {
public boolean SHOW_OBJECTID = true;
public boolean HIDE_NULL_ARRAY_ELEMENTS = true;
public boolean AUTOSCROLL_TO_NEW_LOCALS = true;
private final NodeRendererSettings myNodeRendererSettings;
public ViewsGeneralSettings(NodeRendererSettings instance) {
myNodeRendererSettings = instance;
public ViewsGeneralSettings() {
}
public static ViewsGeneralSettings getInstance() {
@@ -66,10 +64,6 @@ public class ViewsGeneralSettings implements PersistentStateComponent<Element> {
return element;
}
void fireRendererSettingsChanged() {
myNodeRendererSettings.fireRenderersChanged();
}
public boolean equals(Object object) {
if(!(object instanceof ViewsGeneralSettings)) return false;
ViewsGeneralSettings generalSettings = ((ViewsGeneralSettings) object);