public static final class IEclipsePreferences.PreferenceChangeEvent extends EventObject
IEclipsePreferences.IPreferenceChangeListener,
Serialized Formsource| Constructor and Description |
|---|
IEclipsePreferences.PreferenceChangeEvent(Object node,
String key,
Object oldValue,
Object newValue)
Constructor for a new preference change event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Return the key of the preference which was changed.
|
Object |
getNewValue()
Return the new value for the preference encoded as a
String, or null if the
preference was removed. |
Preferences |
getNode()
Return the preference node on which the change occurred.
|
Object |
getOldValue()
Return the old value for the preference encoded as a
String, or null if the
preference was removed or if it cannot be determined. |
getSource, toStringpublic IEclipsePreferences.PreferenceChangeEvent(Object node, String key, Object oldValue, Object newValue)
null. The old and new preference
values must be either a String or null.node - the node on which the change occurredkey - the preference keyoldValue - the old preference value, as a String
or nullnewValue - the new preference value, as a String
or nullpublic Preferences getNode()
null.public String getKey()
null.public Object getNewValue()
String, or null if the
preference was removed.nullpublic Object getOldValue()
String, or null if the
preference was removed or if it cannot be determined.nullGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.