Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » RCP Application and Preferences - how?
RCP Application and Preferences - how? [message #45445] Tue, 17 August 2004 17: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 17: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 22: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] Thu, 26 August 2004 03:22 Go to previous message
Ed Burnette is currently offline Ed BurnetteFriend
Messages: 279
Registered: July 2009
Senior Member
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: Thu Apr 25 22:20:32 GMT 2024

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

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

Back to the top