public final class DefaultPreferenceStore extends ForwardingPreferenceStore
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.preference.IPreferenceStore |
delegate() |
boolean |
getBoolean(java.lang.String name) |
double |
getDouble(java.lang.String name) |
float |
getFloat(java.lang.String name) |
int |
getInt(java.lang.String name) |
long |
getLong(java.lang.String name) |
java.lang.String |
getString(java.lang.String name) |
static DefaultPreferenceStore |
of(org.eclipse.jface.preference.IPreferenceStore store) |
void |
setValue(java.lang.String name,
boolean value) |
void |
setValue(java.lang.String name,
double value) |
void |
setValue(java.lang.String name,
float value) |
void |
setValue(java.lang.String name,
int value) |
void |
setValue(java.lang.String name,
long value) |
void |
setValue(java.lang.String name,
java.lang.String value) |
addPropertyChangeListener, contains, firePropertyChangeEvent, getDefaultBoolean, getDefaultDouble, getDefaultFloat, getDefaultInt, getDefaultLong, getDefaultString, isDefault, needsSaving, putValue, removePropertyChangeListener, setDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setToDefault
public static DefaultPreferenceStore of(org.eclipse.jface.preference.IPreferenceStore store)
protected org.eclipse.jface.preference.IPreferenceStore delegate()
delegate
in class ForwardingPreferenceStore
public void setValue(java.lang.String name, boolean value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
setValue
in class ForwardingPreferenceStore
public void setValue(java.lang.String name, float value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
setValue
in class ForwardingPreferenceStore
public void setValue(java.lang.String name, double value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
setValue
in class ForwardingPreferenceStore
public void setValue(java.lang.String name, int value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
setValue
in class ForwardingPreferenceStore
public void setValue(java.lang.String name, long value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
setValue
in class ForwardingPreferenceStore
public void setValue(java.lang.String name, @Nullable java.lang.String value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
setValue
in class ForwardingPreferenceStore
public boolean getBoolean(java.lang.String name)
getBoolean
in interface org.eclipse.jface.preference.IPreferenceStore
getBoolean
in class ForwardingPreferenceStore
public float getFloat(java.lang.String name)
getFloat
in interface org.eclipse.jface.preference.IPreferenceStore
getFloat
in class ForwardingPreferenceStore
public double getDouble(java.lang.String name)
getDouble
in interface org.eclipse.jface.preference.IPreferenceStore
getDouble
in class ForwardingPreferenceStore
public int getInt(java.lang.String name)
getInt
in interface org.eclipse.jface.preference.IPreferenceStore
getInt
in class ForwardingPreferenceStore
public long getLong(java.lang.String name)
getLong
in interface org.eclipse.jface.preference.IPreferenceStore
getLong
in class ForwardingPreferenceStore
public java.lang.String getString(java.lang.String name)
getString
in interface org.eclipse.jface.preference.IPreferenceStore
getString
in class ForwardingPreferenceStore