Package org.eclipse.xtext.preferences
Interface ITypedPreferenceValues
-
- All Superinterfaces:
IPreferenceValues
- All Known Implementing Classes:
MapBasedPreferenceValues
,TypedPreferenceValues
public interface ITypedPreferenceValues extends IPreferenceValues
A strongly typed API to access preferences.- Since:
- 2.26
- See Also:
TypedPreferenceKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getPreference(TypedPreferenceKey<T> key)
-
Methods inherited from interface org.eclipse.xtext.preferences.IPreferenceValues
getPreference
-
-
-
-
Method Detail
-
getPreference
<T> T getPreference(TypedPreferenceKey<T> key)
- Returns:
- the currently active value for the given preference or its default value, if no current value was explicitly defined.
- See Also:
PreferenceKey.getDefaultValue()
-
-