diff --git a/runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Preferences.java b/runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Preferences.java index 96c2146c057..bc9bff88185 100644 --- a/runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Preferences.java +++ b/runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Preferences.java @@ -212,6 +212,7 @@ public static class PropertyChangeEvent extends EventObject { * @param newValue the new value of the property, or * null if none */ + @Deprecated protected PropertyChangeEvent(Object source, String property, Object oldValue, Object newValue) { super(source); @@ -233,6 +234,7 @@ protected PropertyChangeEvent(Object source, String property, Object oldValue, O * * @return the name of the property that changed */ + @Deprecated public String getProperty() { return propertyName; } @@ -243,6 +245,7 @@ public String getProperty() { * @return the new value, or null if not known * or not relevant */ + @Deprecated public Object getNewValue() { return newValue; } @@ -253,6 +256,7 @@ public Object getNewValue() { * @return the old value, or null if not known * or not relevant */ + @Deprecated public Object getOldValue() { return oldValue; } @@ -296,6 +300,7 @@ public interface IPropertyChangeListener extends EventListener { * @param event the property change event object describing which * property changed and how */ + @Deprecated public void propertyChange(Preferences.PropertyChangeEvent event); }