public class ClassPreference<T> extends Preference<Class<? extends T>>
PreferenceableOption.Listener, PreferenceableOption.PreferenceableOption2<T>
Modifier and Type | Field and Description |
---|---|
Class<?> |
type |
defaultValue, key, pluginId
Constructor and Description |
---|
ClassPreference(String pluginId,
String key,
Class<? extends T> defaultValue,
Class<? extends T> type) |
Modifier and Type | Method and Description |
---|---|
Class<? extends T> |
getValueOf(String string)
Returns an option value from a String typically obtained from an Eclipse Preference file.
|
addListener, fireChanged, getDefaultValue, getKey, getPluginId, getPreferredValue, removeListener, setDefaultValue, toString
public final Class<?> type
public Class<? extends T> getValueOf(String string)
PreferenceableOption
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.