public class EnumeratedOption<T extends Enum<T>> extends BasicOption<T>
PreferenceableOption interface for enum OCL options.PreferenceableOption.Listener, PreferenceableOption.PreferenceableOption2<T>| Constructor and Description |
|---|
EnumeratedOption(String pluginId,
String key,
T defaultValue,
Class<T> enumType) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getEnumType() |
T |
getValueOf(String string)
Returns an option value from a String typically obtained from an Eclipse Preference file.
|
getDefaultValue, getKey, getPluginIdpublic T getValueOf(String string)
PreferenceableOptionCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.