Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » preferences
preferences [message #253109] Wed, 16 June 2004 13:36
Florian Loitsch is currently offline Florian LoitschFriend
Messages: 26
Registered: July 2009
Junior Member
hi,
I recently switched from the Plugin#initializeDefaultPluginPreferences()
to the new AbstractPreferenceInitializer-mechanism, and I now have some
small questions:
- why shouldn't I initialize the default-preferences during the
"start(BundleContext context)" of my plugin? (I'm interfacing with
non-java code, and this would reduce the nb of interface-functions.)

- why was the default-preferences-method moved from the plugin-class to
the AbstractPreferenceInitializer-class? In the Preference-class I still
call MyPlugin.getDefault().getPluginPreferences().setDefault(...) , and I
don't know any other way...

- can AbstractPreferenceInitializer#initializeDefaultPreferences() be
called more than once during the lifecycle of a plugin?

- is it bad to get the PreferenceStore of the PlugIn (instead of using
the PluginPreferences directly)? AFAIK the preference-store is backed by
the PluginPreferences anyway.

thanks,
// florian
Previous Topic:Eclipse crashes when I execute it
Next Topic:Are Eclipse icons free to use ?
Goto Forum:
  


Current Time: Mon Jul 22 20:48:50 GMT 2024

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

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

Back to the top