Modifier and Type | Method and Description |
---|---|
static <T> T |
OCLCommon.getPreference(PreferenceableOption<T> option,
org.eclipse.core.runtime.preferences.IScopeContext[] contexts)
Return the preference value for
|
static <T> void |
OCLCommon.installListener(PreferenceableOption<T> option)
Install an IPreferenceChangeListener so that option.fireChanged() is notified of any change in the Eclipse preference.
|
Modifier and Type | Class and Description |
---|---|
class |
VirtualDelegateMapping
VirtualDelegateMapping provides the preference option to support mapping of the virtual delegate URI
OCLConstants.OCL_DELEGATE_URI (http://www.eclipse.org/emf/2002/Ecore/OCL) to a physical delegate URI such as
http://www.eclipse.org/emf/2002/Ecore/OCL/LPG or http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot. |
Modifier and Type | Class and Description |
---|---|
class |
BooleanPreference
A configurable preference with a Boolean value.
|
class |
ClassPreference<T>
A configurable preference with a Class value.
|
class |
EnumerationPreference<T extends java.lang.Enum<T>>
A configurable preference with an Enumeration value.
|
class |
Preference<T>
Abstract implementation of a configurable preference option.
|
class |
StringPreference
A configurable preference with a String value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AnnotatedPreferenceInitializer.putPreference(PreferenceableOption<?> preference) |
Modifier and Type | Interface and Description |
---|---|
static interface |
PreferenceableOption.PreferenceableOption2<T>
The extended PreferenceableOption identifies a configurable behavior suitable for use in a Preference
or Property Page.
|
Constructor and Description |
---|
AbstractProjectPreferencePage.MyComboFieldEditor(PreferenceableOption<?> preference,
java.lang.String labelText,
java.lang.String[][] entryNamesAndValues,
org.eclipse.swt.widgets.Composite parent) |
Modifier and Type | Class and Description |
---|---|
class |
BooleanOption
Implementation of the
PreferenceableOption interface for boolean OCL options. |
class |
ClassOption<T>
Implementation of the
PreferenceableOption interface for class OCL options. |
class |
ObjectOption<T>
Implementation of the
PreferenceableOption interface for object OCL options. |
class |
ProblemOption
Options for problem-reporting in parsing OCL constraints.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
OCLDelegateDomain.PivotOnlyVirtualDelegateMapping |
Modifier and Type | Class and Description |
---|---|
class |
BasicOption<T>
Abstract implementation of a configurable option that can also be a preference.
|
class |
EnumeratedOption<T extends java.lang.Enum<T>>
Implementation of the
PreferenceableOption interface for enum OCL options. |