Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Saving preference for each user
Saving preference for each user [message #114369] Thu, 04 December 2008 08:28 Go to next message
rollo is currently offline rolloFriend
Messages: 117
Registered: July 2009
Senior Member
Hi,

I'm using org.eclipse.ui.preferences to save some data from my application.
But now I want to save these data for each user. Is there any possibility
to save them on the client?

Roland
Re: Saving preference for each user [message #114421 is a reply to message #114369] Thu, 04 December 2008 15:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Hi,

have a look at RWT.getSettingStore()...
this mechanism uses browser cookies to store persistent data for a user (browser).
there is also the RWT.getSessionStore() which does the same but with session scope.
maybe this is a point to start, there will be a problem if there are different user per browser though...

greetings,
-ben



Roland Siebert schrieb:
> Hi,
>
> I'm using org.eclipse.ui.preferences to save some data from my application.
> But now I want to save these data for each user. Is there any
> possibility to save them on the client?
>
> Roland
>
Re: Saving preference for each user [message #114455 is a reply to message #114369] Thu, 04 December 2008 19:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Roland,

the IPreferenceStore implementation that is returned by
AbstractUIPlugin#getPreferenceStore() as well as the one returned by
PlatformUI#getPreferenceStore() has session/user scope.

HTH
RĂ¼diger

Roland Siebert wrote:
> Hi,
>
> I'm using org.eclipse.ui.preferences to save some data from my application.
> But now I want to save these data for each user. Is there any
> possibility to save them on the client?
>
> Roland
>
Re: Saving preference for each user [message #115163 is a reply to message #114421] Wed, 10 December 2008 02:03 Go to previous messageGo to next message
rollo is currently offline rolloFriend
Messages: 117
Registered: July 2009
Senior Member
Ben W. schrieb:

> have a look at RWT.getSettingStore()...

Hi,

That was what I'm looking for.
Thanks!

ROland
Re: Saving preference for each user [message #115177 is a reply to message #114369] Wed, 10 December 2008 08:13 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Roland,

you can continue using the preferences API. It also allows you to
save settings per user/session.
Please search this newsgroup and/or bugzilla for details.

HTH
RĂ¼diger

Roland Siebert wrote:
> Hi,
>
> I'm using org.eclipse.ui.preferences to save some data from my application.
> But now I want to save these data for each user. Is there any
> possibility to save them on the client?
>
> Roland
>
Previous Topic:caching label images
Next Topic:HelpSystem in Tomcat + WAR
Goto Forum:
  


Current Time: Thu Feb 02 22:36:23 GMT 2023

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

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

Back to the top