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(java.lang.String key,
java.lang.Object oldValue,
java.lang.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, getValueOfvoid addListener(@NonNull
PreferenceableOption.Listener listener)
listener - void fireChanged(@NonNull
java.lang.String key,
@Nullable
java.lang.Object oldValue,
@Nullable
java.lang.Object newValue)
key - oldValue - newValue - @Nullable T getPreferredValue()
void removeListener(@NonNull
PreferenceableOption.Listener listener)
listener -