|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.ui.util.EMFStorePreferenceHelper
public final class EMFStorePreferenceHelper
Simplifies setting and getting of preference key/value pairs.
Method Summary | |
---|---|
static String |
getPreference(String key,
String defaultValue)
Retrieves a preference value for a specific key. |
static void |
setPreference(String key,
String value)
Set the preference value for a specific key. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getPreference(String key, String defaultValue)
key
- the key used to identify the preferencedefaultValue
- the value that should be returned in case the preference could not be found
defaultValue
public static void setPreference(String key, String value)
null
.
key
- the key that is used to identify the given valuevalue
- the value of the preference to be set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |