|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.debug.ui.PreferencesAdapter
public class PreferencesAdapter
Adapts org.eclipse.core.runtime.IEclipsePreferences to
IPreferenceStore
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jface.preference.IPreferenceStore |
|---|
BOOLEAN_DEFAULT_DEFAULT, DOUBLE_DEFAULT_DEFAULT, FALSE, FLOAT_DEFAULT_DEFAULT, INT_DEFAULT_DEFAULT, LONG_DEFAULT_DEFAULT, STRING_DEFAULT_DEFAULT, TRUE |
| Constructor Summary | |
|---|---|
PreferencesAdapter(String qualifier)
Initialize with the given Preferences. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
|
boolean |
contains(String name)
|
void |
firePropertyChangeEvent(String name,
Object oldValue,
Object newValue)
|
boolean |
getBoolean(String name)
|
boolean |
getDefaultBoolean(String name)
|
double |
getDefaultDouble(String name)
|
float |
getDefaultFloat(String name)
|
int |
getDefaultInt(String name)
|
long |
getDefaultLong(String name)
|
String |
getDefaultString(String name)
|
double |
getDouble(String name)
|
float |
getFloat(String name)
|
int |
getInt(String name)
|
long |
getLong(String name)
|
String |
getString(String name)
|
boolean |
isDefault(String name)
|
boolean |
needsSaving()
|
void |
putValue(String name,
String value)
|
void |
removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
|
void |
setDefault(String name,
boolean value)
|
void |
setDefault(String name,
double value)
|
void |
setDefault(String name,
float value)
|
void |
setDefault(String name,
int value)
|
void |
setDefault(String name,
long value)
|
void |
setDefault(String name,
String defaultObject)
|
void |
setToDefault(String name)
|
void |
setValue(String name,
boolean value)
|
void |
setValue(String name,
double value)
|
void |
setValue(String name,
float value)
|
void |
setValue(String name,
int value)
|
void |
setValue(String name,
long value)
|
void |
setValue(String name,
String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreferencesAdapter(String qualifier)
preferences - The preferences to wrap.| Method Detail |
|---|
public void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
addPropertyChangeListener in interface org.eclipse.jface.preference.IPreferenceStorepublic void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
removePropertyChangeListener in interface org.eclipse.jface.preference.IPreferenceStorepublic boolean contains(String name)
contains in interface org.eclipse.jface.preference.IPreferenceStore
public void firePropertyChangeEvent(String name,
Object oldValue,
Object newValue)
firePropertyChangeEvent in interface org.eclipse.jface.preference.IPreferenceStorepublic boolean getBoolean(String name)
getBoolean in interface org.eclipse.jface.preference.IPreferenceStorepublic boolean getDefaultBoolean(String name)
getDefaultBoolean in interface org.eclipse.jface.preference.IPreferenceStorepublic double getDefaultDouble(String name)
getDefaultDouble in interface org.eclipse.jface.preference.IPreferenceStorepublic float getDefaultFloat(String name)
getDefaultFloat in interface org.eclipse.jface.preference.IPreferenceStorepublic int getDefaultInt(String name)
getDefaultInt in interface org.eclipse.jface.preference.IPreferenceStorepublic long getDefaultLong(String name)
getDefaultLong in interface org.eclipse.jface.preference.IPreferenceStorepublic String getDefaultString(String name)
getDefaultString in interface org.eclipse.jface.preference.IPreferenceStorepublic double getDouble(String name)
getDouble in interface org.eclipse.jface.preference.IPreferenceStorepublic float getFloat(String name)
getFloat in interface org.eclipse.jface.preference.IPreferenceStorepublic int getInt(String name)
getInt in interface org.eclipse.jface.preference.IPreferenceStorepublic long getLong(String name)
getLong in interface org.eclipse.jface.preference.IPreferenceStorepublic String getString(String name)
getString in interface org.eclipse.jface.preference.IPreferenceStorepublic boolean isDefault(String name)
isDefault in interface org.eclipse.jface.preference.IPreferenceStorepublic boolean needsSaving()
needsSaving in interface org.eclipse.jface.preference.IPreferenceStore
public void putValue(String name,
String value)
putValue in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(String name,
double value)
setDefault in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(String name,
float value)
setDefault in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(String name,
int value)
setDefault in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(String name,
long value)
setDefault in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(String name,
String defaultObject)
setDefault in interface org.eclipse.jface.preference.IPreferenceStore
public void setDefault(String name,
boolean value)
setDefault in interface org.eclipse.jface.preference.IPreferenceStorepublic void setToDefault(String name)
setToDefault in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(String name,
double value)
setValue in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(String name,
float value)
setValue in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(String name,
int value)
setValue in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(String name,
long value)
setValue in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(String name,
String value)
setValue in interface org.eclipse.jface.preference.IPreferenceStore
public void setValue(String name,
boolean value)
setValue in interface org.eclipse.jface.preference.IPreferenceStore
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||