Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Where does RAP store instance-scope preferences?
Where does RAP store instance-scope preferences? [message #521747] Thu, 18 March 2010 16:20 Go to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hello everybody,

I'm looking for a place where instance-scoped preferences are stored by rap.

Actually I want to track instance-scoped preferences. So if a preference
value gets changed - the event listener is invoked.

String myPluginId = "..."
IEclipsePreferences ep = sc.getNode(p);
ep.addPreferenceChangeListener(prefListener);

However this code seems not to be working. If I change values on
preference pages - the listener doesn't get invoked.

Dmitry
Re: Where does RAP store instance-scope preferences? [message #522448 is a reply to message #521747] Mon, 22 March 2010 11:52 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
On 18.03.2010 17:20, Dmitry Pryadkin wrote:
> Hello everybody,
>
> I'm looking for a place where instance-scoped preferences are stored by
> rap.
>
> Actually I want to track instance-scoped preferences. So if a preference
> value gets changed - the event listener is invoked.
If you follow IPreferencePageContainer#getPreferenceStore(), you will
probably find the implementation

>
> String myPluginId = "..."
> IEclipsePreferences ep = sc.getNode(p);
what is "sc"?, where does "p" come from?

> ep.addPreferenceChangeListener(prefListener);
>
> However this code seems not to be working. If I change values on
> preference pages - the listener doesn't get invoked.
>
> Dmitry
Previous Topic:mouseUp event on sash only onright side
Next Topic:applet in Iframe fails with "w.setAddress is not a function"
Goto Forum:
  


Current Time: Wed Dec 08 13:57:27 GMT 2021

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

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

Back to the top