public interface IPreferenceStoreAccess
Modifier and Type | Method and Description |
---|---|
org.eclipse.jface.preference.IPreferenceStore |
getContextPreferenceStore(java.lang.Object context)
a read only preference store, used to obtain preferences, based on the given context. typically the context would
be an
IProject and the result would be a preference store using the
ProjectScope . |
org.eclipse.jface.preference.IPreferenceStore |
getPreferenceStore()
a read only preference store, used to obtain preferences, without any context.
|
org.eclipse.jface.preference.IPreferenceStore |
getWritablePreferenceStore()
a preference store, used to store persisted preferences.
|
org.eclipse.jface.preference.IPreferenceStore |
getWritablePreferenceStore(java.lang.Object context)
a preference store, used to store persisted preferences.
|
org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
IPropertyChangeListener
make sure to remove it on the same
IPreferenceStore
instance.org.eclipse.jface.preference.IPreferenceStore getContextPreferenceStore(java.lang.Object context)
IProject
and the result would be a preference store using the
ProjectScope
.
If you register an IPropertyChangeListener
make sure to remove it on the same
IPreferenceStore
instance.org.eclipse.jface.preference.IPreferenceStore getWritablePreferenceStore()
IPropertyChangeListener
make sure to remove it on the same
IPreferenceStore
instance.org.eclipse.jface.preference.IPreferenceStore getWritablePreferenceStore(java.lang.Object context)
IPropertyChangeListener
make sure to remove it on the same
IPreferenceStore
instance.context
- - the context is typically an IProject, results in a writable preference store for the project.