public static final class MessageDialogWithPreference.Preference
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
MessageDialogWithPreference.Preference.Strategy |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get() |
boolean |
getAsState() |
java.lang.String |
getKey() |
org.eclipse.jface.preference.IPreferenceStore |
getStore() |
MessageDialogWithPreference.Preference.Strategy |
getStrategy() |
static MessageDialogWithPreference.Preference |
of(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key,
MessageDialogWithPreference.Preference.Strategy strategy) |
void |
set(int code,
boolean state) |
static MessageDialogWithPreference.Preference |
usingReturnCode(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key) |
static MessageDialogWithPreference.Preference |
usingToggleState(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key) |
public static MessageDialogWithPreference.Preference of(org.eclipse.jface.preference.IPreferenceStore store, java.lang.String key, MessageDialogWithPreference.Preference.Strategy strategy)
public static MessageDialogWithPreference.Preference usingReturnCode(org.eclipse.jface.preference.IPreferenceStore store, java.lang.String key)
public static MessageDialogWithPreference.Preference usingToggleState(org.eclipse.jface.preference.IPreferenceStore store, java.lang.String key)
public void set(int code, boolean state)
public java.lang.Object get()
public boolean getAsState()
public java.lang.String getKey()
public org.eclipse.jface.preference.IPreferenceStore getStore()
public MessageDialogWithPreference.Preference.Strategy getStrategy()