public class ClassOption<T> extends BasicOption<Class<? extends T>> implements PreferenceableOption<Class<? extends T>>
PreferenceableOption interface for class OCL options.
When persisted as a preference, the representation is a Java-class name.
e.g. "org.eclipse.uml2.uml.Association".PreferenceableOption.Listener, PreferenceableOption.PreferenceableOption2<T>| Constructor and Description |
|---|
ClassOption(String pluginId,
String key,
Class<? extends T> defaultValue,
Class<? extends T> classType) |
| 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.
|
getDefaultValue, getKey, getPluginId, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultValue, getKey, getPluginIdpublic Class<? extends T> getValueOf(String string)
PreferenceableOptiongetValueOf in interface PreferenceableOption<Class<? extends T>>Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.