Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Use Eclipse preferences
Use Eclipse preferences [message #224658] Thu, 08 April 2004 12:03 Go to next message
Eclipse UserFriend
I want to save information on a per user basis to their workspace. I have
heard about Eclipse preferences. Is this something that can be used for
this?

What is the API called for using Eclipse preferences?


Thank you,
Re: Use Eclipse preferences [message #224681 is a reply to message #224658] Thu, 08 April 2004 12:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

What do you mean by per user for their workspace? Are multiple users
sharing the same workspace?

There is new API in org.eclipse.core.runtime.preferences.

Greg wrote:
> I want to save information on a per user basis to their workspace. I have
> heard about Eclipse preferences. Is this something that can be used for
> this?
>
> What is the API called for using Eclipse preferences?
>
>
> Thank you,
>
Re: Use Eclipse preferences [message #224690 is a reply to message #224681] Thu, 08 April 2004 12:29 Go to previous messageGo to next message
Eclipse UserFriend
I just meant that I want to save values in the users workspace.
So, when they start up their workspace I can retrieve this value.

DJ Houghton wrote:

> What do you mean by per user for their workspace? Are multiple users
> sharing the same workspace?

> There is new API in org.eclipse.core.runtime.preferences.

> Greg wrote:
> > I want to save information on a per user basis to their workspace. I have
> > heard about Eclipse preferences. Is this something that can be used for
> > this?
> >
> > What is the API called for using Eclipse preferences?
> >
> >
> > Thank you,
> >
Re: Use Eclipse preferences [message #224851 is a reply to message #224690] Thu, 08 April 2004 16:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

If you are creating preference pages then check out
Plugin.getPluginPreferences(). If you browse for references to this
method you will see lots of references in the Platform.

The package that I mention below is the "new way". We are hoping that
the preference page mechanism will be hooked directly into the new APIs
post 3.0. (they are hooked into them via a backwards compatibility layer
currently)

Greg wrote:
> I just meant that I want to save values in the users workspace.
> So, when they start up their workspace I can retrieve this value.
>
> DJ Houghton wrote:
>
>
>>What do you mean by per user for their workspace? Are multiple users
>>sharing the same workspace?
>
>
>>There is new API in org.eclipse.core.runtime.preferences.
>
>
>>Greg wrote:
>>
>>>I want to save information on a per user basis to their workspace. I have
>>>heard about Eclipse preferences. Is this something that can be used for
>>>this?
>>>
>>>What is the API called for using Eclipse preferences?
>>>
>>>
>>>Thank you,
>>>
>
>
>
Re: Use Eclipse preferences [message #226094 is a reply to message #224658] Sun, 11 April 2004 03:14 Go to previous message
Eclipse UserFriend
Hi Greg,

There are a couple of articles on the Eclipse web site covering this. Start with:

http://www.eclipse.org/articles/Article-Preferences/preferen ces.htm

and then check out

http://www.eclipse.org/articles/index.html

for other articles with "Preferences" in the title. The others seem to be mostly
to do with the UI side of things.

Yours,
Ian.

--
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | TIBCO Software Inc.
#endif | www.tibco.com
Previous Topic:newbie can't get started
Next Topic:Can't run Eclipse under RH9
Goto Forum:
  


Current Time: Thu Sep 18 18:58:17 EDT 2025

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

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

Back to the top