public abstract class ForwardingPreferenceStore
extends com.google.common.collect.ForwardingObject
implements org.eclipse.jface.preference.IPreferenceStore
Note that this class does not forward the equals
and hashCode
methods through to the backing object.
See ForwardingObject
for more details.
Modifier | Constructor and Description |
---|---|
protected |
ForwardingPreferenceStore()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener) |
boolean |
contains(java.lang.String name) |
protected abstract org.eclipse.jface.preference.IPreferenceStore |
delegate() |
void |
firePropertyChangeEvent(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue) |
boolean |
getBoolean(java.lang.String name) |
boolean |
getDefaultBoolean(java.lang.String name) |
double |
getDefaultDouble(java.lang.String name) |
float |
getDefaultFloat(java.lang.String name) |
int |
getDefaultInt(java.lang.String name) |
long |
getDefaultLong(java.lang.String name) |
java.lang.String |
getDefaultString(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) |
boolean |
isDefault(java.lang.String name) |
boolean |
needsSaving() |
void |
putValue(java.lang.String name,
java.lang.String value) |
void |
removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener) |
void |
setDefault(java.lang.String name,
boolean value) |
void |
setDefault(java.lang.String name,
double value) |
void |
setDefault(java.lang.String name,
float value) |
void |
setDefault(java.lang.String name,
int value) |
void |
setDefault(java.lang.String name,
long value) |
void |
setDefault(java.lang.String name,
java.lang.String value) |
void |
setToDefault(java.lang.String name) |
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) |
protected ForwardingPreferenceStore()
protected abstract org.eclipse.jface.preference.IPreferenceStore delegate()
delegate
in class com.google.common.collect.ForwardingObject
public void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
addPropertyChangeListener
in interface org.eclipse.jface.preference.IPreferenceStore
public void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
removePropertyChangeListener
in interface org.eclipse.jface.preference.IPreferenceStore
public void firePropertyChangeEvent(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
firePropertyChangeEvent
in interface org.eclipse.jface.preference.IPreferenceStore
public boolean needsSaving()
needsSaving
in interface org.eclipse.jface.preference.IPreferenceStore
public void putValue(java.lang.String name, @Nullable java.lang.String value)
putValue
in interface org.eclipse.jface.preference.IPreferenceStore
public void setToDefault(java.lang.String name)
setToDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public boolean contains(java.lang.String name)
contains
in interface org.eclipse.jface.preference.IPreferenceStore
public boolean isDefault(java.lang.String name)
isDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(java.lang.String name, boolean value)
setDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(java.lang.String name, float value)
setDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(java.lang.String name, double value)
setDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(java.lang.String name, int value)
setDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(java.lang.String name, long value)
setDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(java.lang.String name, @Nullable java.lang.String value)
setDefault
in interface org.eclipse.jface.preference.IPreferenceStore
public boolean getDefaultBoolean(java.lang.String name)
getDefaultBoolean
in interface org.eclipse.jface.preference.IPreferenceStore
public float getDefaultFloat(java.lang.String name)
getDefaultFloat
in interface org.eclipse.jface.preference.IPreferenceStore
public double getDefaultDouble(java.lang.String name)
getDefaultDouble
in interface org.eclipse.jface.preference.IPreferenceStore
public int getDefaultInt(java.lang.String name)
getDefaultInt
in interface org.eclipse.jface.preference.IPreferenceStore
public long getDefaultLong(java.lang.String name)
getDefaultLong
in interface org.eclipse.jface.preference.IPreferenceStore
public java.lang.String getDefaultString(java.lang.String name)
getDefaultString
in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(java.lang.String name, boolean value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(java.lang.String name, float value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(java.lang.String name, double value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(java.lang.String name, int value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(java.lang.String name, long value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(java.lang.String name, @Nullable java.lang.String value)
setValue
in interface org.eclipse.jface.preference.IPreferenceStore
public boolean getBoolean(java.lang.String name)
getBoolean
in interface org.eclipse.jface.preference.IPreferenceStore
public float getFloat(java.lang.String name)
getFloat
in interface org.eclipse.jface.preference.IPreferenceStore
public double getDouble(java.lang.String name)
getDouble
in interface org.eclipse.jface.preference.IPreferenceStore
public int getInt(java.lang.String name)
getInt
in interface org.eclipse.jface.preference.IPreferenceStore
public long getLong(java.lang.String name)
getLong
in interface org.eclipse.jface.preference.IPreferenceStore
public java.lang.String getString(java.lang.String name)
getString
in interface org.eclipse.jface.preference.IPreferenceStore