public interface IPreferenceStoreAccess
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jface.preference.IPreferenceStore |
getContextPreferenceStore(Object context)
a read only preference store, used to obtain preferences, based on the given context.
|
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(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(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(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.Copyright © 2016. All Rights Reserved.