Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Setting Preferences in a Plugin
Setting Preferences in a Plugin [message #436732] Fri, 16 September 2005 00:28 Go to next message
Eclipse UserFriend
Originally posted by: gerald.barker.earthlink.net

I want to set the preferences in a Plugin that I am using. One used to be able to use Platform.getPlugin('id') to do this, but that is now decprecated. I want to set preferences for org.eclipse.update.core. How do I get a handle to the plugin, so I can call getPluginPreferences() and set the values of the preferences?

Thanks
Re: Setting Preferences in a Plugin [message #436737 is a reply to message #436732] Fri, 16 September 2005 09:40 Go to previous messageGo to next message
Peter Bracken is currently offline Peter BrackenFriend
Messages: 12
Registered: July 2009
Junior Member
You should be able to call the static method getDefault() from the plugin.

i.e. {PluginClass}.getDefault().getPluginPreferences();
Re: Setting Preferences in a Plugin [message #436758 is a reply to message #436732] Sat, 17 September 2005 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: gerald.barker.earthlink.net

Thanks,

Actually, the CoreUpdate plugin has a getPlugin() method, but I got the idea where to look.
Previous Topic:Lost names in windows bar...
Next Topic:lightweightsystem initialization failing
Goto Forum:
  


Current Time: Sat Dec 14 16:49:15 GMT 2024

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

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

Back to the top