diff options
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/TextEditorPropertyAction.java')
-rw-r--r-- | bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/TextEditorPropertyAction.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/TextEditorPropertyAction.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/TextEditorPropertyAction.java index 2d4b97189..2ae3c4127 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/TextEditorPropertyAction.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/TextEditorPropertyAction.java @@ -45,6 +45,7 @@ public class TextEditorPropertyAction extends Action implements IPropertyChangeL return viewers; } + @Override public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(getPreferenceKey())) { synchronizeWithPreference(); @@ -66,6 +67,7 @@ public class TextEditorPropertyAction extends Action implements IPropertyChangeL return preferenceKey; } + @Override public void run() { toggleState(isChecked()); if (store != null) |