where is the PreferenceStore file? [message #215900] |
Thu, 11 May 2006 07:49 |
Eclipse User |
|
|
|
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 #215984 is a reply to message #215947] |
Fri, 12 May 2006 02:03 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
> >> >
> >> >
> >> >
> >>
> >>
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.25357 seconds