use of org.intellij.images.options.EditorOptions in project intellij-community by JetBrains.
the class EditorOptionsImpl method equals.
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof EditorOptions)) {
return false;
}
EditorOptions otherOptions = (EditorOptions) obj;
GridOptions gridOptions = otherOptions.getGridOptions();
TransparencyChessboardOptions chessboardOptions = otherOptions.getTransparencyChessboardOptions();
ZoomOptions zoomOptions = otherOptions.getZoomOptions();
return gridOptions != null && gridOptions.equals(getGridOptions()) && chessboardOptions != null && chessboardOptions.equals(getTransparencyChessboardOptions()) && zoomOptions != null && zoomOptions.equals(getZoomOptions());
}
use of org.intellij.images.options.EditorOptions 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