public interface IEclipsePreference<T>
T is the type of the preference.
Supports automatic conversion of string-based preference values returned by IEclipsePreferences API to
corresponding domain objects and vice versa.
Compared with the default property mechanism, this interface adds the support for a default value that is used when the given property is not set.
A class implementing this interface gets and set the preference value by using the Eclipse preferences mechanism.
Preferences,
IEclipsePreferences,
ProjectScope,
InstanceScope| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultValueAsString()
Returns the default value for the preference.
|
java.lang.String |
getKey()
Returns the key of the preference.
|
java.lang.String |
getQualifier()
Returns the qualifier of the preference.
|
java.lang.String getQualifier()
java.lang.String getKey()
java.lang.String getDefaultValueAsString()
String, whatever the type of the preference is.