public static interface PreferenceableOption.PreferenceableOption2<T> extends PreferenceableOption<T>
PreferenceableOption.Listener, PreferenceableOption.PreferenceableOption2<T>
Modifier and Type | Method and Description |
---|---|
void |
addListener(PreferenceableOption.Listener listener)
Add a listener to be notified of changes.
|
void |
fireChanged(String key,
Object oldValue,
Object newValue)
Call-back notification that the Eclipse preference identified by a key, has changed from
oldValue to new Value.
|
T |
getPreferredValue()
Get the preferred value of this option.
|
void |
removeListener(PreferenceableOption.Listener listener)
Remove a listener to be notified of changes.
|
getDefaultValue, getKey, getPluginId, getValueOf
void addListener(PreferenceableOption.Listener listener)
listener
- void fireChanged(String key, Object oldValue, Object newValue)
key
- oldValue
- newValue
- T getPreferredValue()
void removeListener(PreferenceableOption.Listener listener)
listener
- Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.