Skip to main content



      Home
Home » Eclipse Projects » Equinox » RCP Application and Preferences - how?
RCP Application and Preferences - how? [message #45445] Tue, 17 August 2004 13:05 Go to next message
Eclipse UserFriend
Originally posted by: mg0319.sbc.com

I'm trying to setup a preference page with an RCP Application. When I
run my RCP Application code as a plug-in the preferences work fine. I
use getPreferenceStore() method on the base class (AbstractUIPlugin) and
all is well. When I try running under the RCP scenario my application
works fine but I get errors loading the preference page.

I assume that's because I'm not running as a plugin class and certain
things haven't been initialized. Debugging into the eclipse code it
seems in core.runtime.Plugin.getPreferences() my bundle reference is
null. I get a null pointer exception due to that.

I'm new to the platform and have looked for an example of using
preferences with RCP but haven't found anything. Appreciate any
pointers. Hope this is the right forum, noticed a lot of RCP questions
here...

-Mark
Re: RCP Application and Preferences - how? [message #45474 is a reply to message #45445] Fri, 20 August 2004 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chaves.nospam.inf.ufsc.br.ok

eclipse.platform is the right newsgroup.

news.eclipse.org wrote:

> I'm trying to setup a preference page with an RCP Application. When I
> run my RCP Application code as a plug-in the preferences work fine. I
> use getPreferenceStore() method on the base class (AbstractUIPlugin) and
> all is well. When I try running under the RCP scenario my application
> works fine but I get errors loading the preference page.

> I assume that's because I'm not running as a plugin class and certain
> things haven't been initialized. Debugging into the eclipse code it
> seems in core.runtime.Plugin.getPreferences() my bundle reference is
> null. I get a null pointer exception due to that.

> I'm new to the platform and have looked for an example of using
> preferences with RCP but haven't found anything. Appreciate any
> pointers. Hope this is the right forum, noticed a lot of RCP questions
> here...

> -Mark
Re: RCP Application and Preferences - how? [message #45506 is a reply to message #45474] Fri, 20 August 2004 18:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

Rafael Chaves wrote:
> eclipse.platform is the right newsgroup.

While there is no eclipse.rcp newsgroup. :)
--
10x,
Sam Mesh
Re: RCP Application and Preferences - how? [message #45531 is a reply to message #45506] Wed, 25 August 2004 23:22 Go to previous message
Eclipse UserFriend
BTW eclipse.platform.rcp should be created soon.

"Sam Mesh" <smesh@openrules.com> wrote in message
news:cg5s7l$fr8$1@eclipse.org...
> Rafael Chaves wrote:
> > eclipse.platform is the right newsgroup.
>
> While there is no eclipse.rcp newsgroup. :)
> --
> 10x,
> Sam Mesh
Previous Topic:Advanced Service Concept
Next Topic:ANN: New Technology Project: Embedded RCP
Goto Forum:
  


Current Time: Sat Jun 14 12:30:00 EDT 2025

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

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

Back to the top