PreferenceStore and AbstractPreferenceInitializer [message #49618] |
Fri, 06 March 2009 09:48 |
Eclipse User |
|
|
|
Hi,
I've some questions concerning the use of a PreferenceStore. For my plugin
I need to store some information (e.g. the path to the compiler or to the
libraries) and it should be possible for the user to change some of these
preferences for example via a Preference Page.
I followed the suggenstions in the API and implemented the extension point
org.eclipse.core.runtime.preferences with a initializer class extending
the AbstractPreferenceInitializer.
The Problem is I can't access the information stored in the
PreferenceStore. I tried to read out some values with
MyPlugin.getDefault().getPreferenceStore().getSomeValue but nothing
happened when I printed it to stdout. Where does the method
initializeDefaultPreferences from the AbstractPreferenceInitializer get
called? Or do I have to call it manually some place?
Hope someone can explain things a bit,
regards Kathi
|
|
|
Powered by
FUDForum. Page generated in 0.08309 seconds