Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » where is the PreferenceStore file?
where is the PreferenceStore file? [message #215900] Thu, 11 May 2006 07:49 Go to next message
Eclipse UserFriend
Originally posted by: send60.eyou.com

Hi ,all:
I have added the prefence page in my eclipse plugin .
I know that the settings in prefence page will store in some file and I can
get the settings with the Eclipse API.

But I want know which place is the file stored and which format is it
stored?

I'm puzzled ,who can help me ?
thanks advance!

from kevin
Re: where is the PreferenceStore file? [message #215947 is a reply to message #215900] Thu, 11 May 2006 14:48 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Typically you retrieve the preference store from your Plugin class which
subclasses from AbsractUIPlugin.

@see AbstractUI#getPreferenceStore()

-Steve


"kevin" <send60@eyou.com> wrote in message
news:e3uqrp$fg3$1@utils.eclipse.org...
> Hi ,all:
> I have added the prefence page in my eclipse plugin .
> I know that the settings in prefence page will store in some file and I
can
> get the settings with the Eclipse API.
>
> But I want know which place is the file stored and which format is it
> stored?
>
> I'm puzzled ,who can help me ?
> thanks advance!
>
> from kevin
>
>
>
Re: where is the PreferenceStore file? [message #215984 is a reply to message #215947] Fri, 12 May 2006 02:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: send60.eyou.com

Thans you Shaw!

> @see AbstractUI#getPreferenceStore()

I hava known the method ,But I want to know can i get the file which stores
the Preference and where is the file stored in eclipse.

In fact i want access the file with another program which is not in eclipse.

Thanks again!




"Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
news:e3vild$1o6$1@utils.eclipse.org...
> Typically you retrieve the preference store from your Plugin class which
> subclasses from AbsractUIPlugin.
>
> @see AbstractUI#getPreferenceStore()
>
> -Steve
>
>
> "kevin" <send60@eyou.com> wrote in message
> news:e3uqrp$fg3$1@utils.eclipse.org...
> > Hi ,all:
> > I have added the prefence page in my eclipse plugin .
> > I know that the settings in prefence page will store in some file and I
> can
> > get the settings with the Eclipse API.
> >
> > But I want know which place is the file stored and which format is it
> > stored?
> >
> > I'm puzzled ,who can help me ?
> > thanks advance!
> >
> > from kevin
> >
> >
> >
>
>
Re: where is the PreferenceStore file? [message #215992 is a reply to message #215984] Fri, 12 May 2006 03:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The location is:
$WORKSPACE_ROOT$/.metadata/org.eclipse.core.runtime/$PLUGIN_ ID$.prefs

It doesn't make much sense for UI preferences to be stored in each
workspace. There's API for obtaining a configuration-wide preference store
as well. The end up in:
$INSTALL_DIR$/configuration/.settings/$PLUGIN_ID%.prefs

"kevin" <send60@eyou.com> wrote in message
news:e40q95$pe0$1@utils.eclipse.org...
> Thans you Shaw!
>
>> @see AbstractUI#getPreferenceStore()
>
> I hava known the method ,But I want to know can i get the file which
> stores
> the Preference and where is the file stored in eclipse.
>
> In fact i want access the file with another program which is not in
> eclipse.
>
> Thanks again!
>
>
>
>
> "Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
> news:e3vild$1o6$1@utils.eclipse.org...
>> Typically you retrieve the preference store from your Plugin class which
>> subclasses from AbsractUIPlugin.
>>
>> @see AbstractUI#getPreferenceStore()
>>
>> -Steve
>>
>>
>> "kevin" <send60@eyou.com> wrote in message
>> news:e3uqrp$fg3$1@utils.eclipse.org...
>> > Hi ,all:
>> > I have added the prefence page in my eclipse plugin .
>> > I know that the settings in prefence page will store in some file and I
>> can
>> > get the settings with the Eclipse API.
>> >
>> > But I want know which place is the file stored and which format is it
>> > stored?
>> >
>> > I'm puzzled ,who can help me ?
>> > thanks advance!
>> >
>> > from kevin
>> >
>> >
>> >
>>
>>
>
Re: where is the PreferenceStore file? [message #216004 is a reply to message #215992] Fri, 12 May 2006 08:38 Go to previous message
Eclipse UserFriend
Originally posted by: send60.eyou.com

Thank you very much, I get it ...

"Randy Hudson" <none@us.ibm.com> wrote in message
news:e40u7n$81j$1@utils.eclipse.org...
> The location is:
> $WORKSPACE_ROOT$/.metadata/org.eclipse.core.runtime/$PLUGIN_ ID$.prefs
>
> It doesn't make much sense for UI preferences to be stored in each
> workspace. There's API for obtaining a configuration-wide preference store
> as well. The end up in:
> $INSTALL_DIR$/configuration/.settings/$PLUGIN_ID%.prefs
>
> "kevin" <send60@eyou.com> wrote in message
> news:e40q95$pe0$1@utils.eclipse.org...
> > Thans you Shaw!
> >
> >> @see AbstractUI#getPreferenceStore()
> >
> > I hava known the method ,But I want to know can i get the file which
> > stores
> > the Preference and where is the file stored in eclipse.
> >
> > In fact i want access the file with another program which is not in
> > eclipse.
> >
> > Thanks again!
> >
> >
> >
> >
> > "Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
> > news:e3vild$1o6$1@utils.eclipse.org...
> >> Typically you retrieve the preference store from your Plugin class
which
> >> subclasses from AbsractUIPlugin.
> >>
> >> @see AbstractUI#getPreferenceStore()
> >>
> >> -Steve
> >>
> >>
> >> "kevin" <send60@eyou.com> wrote in message
> >> news:e3uqrp$fg3$1@utils.eclipse.org...
> >> > Hi ,all:
> >> > I have added the prefence page in my eclipse plugin .
> >> > I know that the settings in prefence page will store in some file and
I
> >> can
> >> > get the settings with the Eclipse API.
> >> >
> >> > But I want know which place is the file stored and which format is it
> >> > stored?
> >> >
> >> > I'm puzzled ,who can help me ?
> >> > thanks advance!
> >> >
> >> > from kevin
> >> >
> >> >
> >> >
> >>
> >>
> >
>
>
Previous Topic:Extending ManhattanConnectionRouter
Next Topic:How to achieve bend points in the connection between 2 figures
Goto Forum:
  


Current Time: Thu Apr 18 19:19:43 GMT 2024

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

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

Back to the top