use of org.intellij.images.options.Options in project intellij-community by JetBrains.
the class ImagesConfigurable method propertyChange.
public void propertyChange(PropertyChangeEvent evt) {
Options options = OptionsManager.getInstance().getOptions();
Options uiOptions = myComponent.getOptions();
setModified(!options.equals(uiOptions));
}
use of org.intellij.images.options.Options in project intellij-community by JetBrains.
the class ImagesConfigurable method disposeUIResources.
public void disposeUIResources() {
if (myComponent != null) {
Options options = OptionsManager.getInstance().getOptions();
options.removePropertyChangeListener(this);
myComponent.getOptions().removePropertyChangeListener(this);
myComponent = null;
}
}
use of org.intellij.images.options.Options in project intellij-community by JetBrains.
the class OptionsImpl method equals.
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof Options)) {
return false;
}
Options otherOptions = (Options) obj;
EditorOptions editorOptions = otherOptions.getEditorOptions();
ExternalEditorOptions externalEditorOptions = otherOptions.getExternalEditorOptions();
return editorOptions != null && editorOptions.equals(getEditorOptions()) && externalEditorOptions != null && externalEditorOptions.equals(getExternalEditorOptions());
}
Aggregations