Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » AbstractPreferenceInitializer Problem
AbstractPreferenceInitializer Problem [message #280728] Tue, 08 February 2005 10:37 Go to next message
Eclipse UserFriend
Originally posted by: barlock.usx.ibmx.com

I was reading about the new AbstractPreferenceInitializer (after some of our
preference pages stopped working correctly with Eclipse 3.1). I've
implemented two subclasses for two separate preference pages and added the
extensions to the appropriate plugin.xml files. However, only one of the
two initializers is getting called. I've done some debugging of the
DefaultPreferences.applyRuntimeDefaults, but am missing something...What is
the connection that causes applyRuntimeDefaults to run a certain
initializer, but not others?

Chris
Re: AbstractPreferenceInitializer Problem [message #280735 is a reply to message #280728] Tue, 08 February 2005 14:32 Go to previous message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

The preference initializer is run the first time you access the default
preferences for your plug-in.

For instance, the first call to:
new DefaultScope().getNode("com.example");
will call the preference initializer for the "com.example" plug-in if
one is registered.


Chris Barlock wrote:
> I was reading about the new AbstractPreferenceInitializer (after some of our
> preference pages stopped working correctly with Eclipse 3.1). I've
> implemented two subclasses for two separate preference pages and added the
> extensions to the appropriate plugin.xml files. However, only one of the
> two initializers is getting called. I've done some debugging of the
> DefaultPreferences.applyRuntimeDefaults, but am missing something...What is
> the connection that causes applyRuntimeDefaults to run a certain
> initializer, but not others?
>
> Chris
>
>
Previous Topic:[how to] accept drags from Task View?
Next Topic:How can I disable capabilities/activities ?
Goto Forum:
  


Current Time: Fri Sep 26 03:47:41 EDT 2025

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

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

Back to the top