Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PreferenceStore and AbstractPreferenceInitializer
PreferenceStore and AbstractPreferenceInitializer [message #49618] Fri, 06 March 2009 14:48
Katharina Brandl is currently offline Katharina BrandlFriend
Messages: 14
Registered: July 2009
Junior Member

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
Previous Topic:Export Wizard fails
Next Topic:PreferenceStore and AbstractPreferenceInitializer
Goto Forum:

Current Time: Mon Aug 02 06:59:57 GMT 2021

Powered by FUDForum. Page generated in 0.01371 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top