Usage of @Preference in Kepler [message #1066168] |
Mon, 01 July 2013 06:49  |
Eclipse User |
|
|
|
Hi.
If you try to get familiar with the e4 Preferences, you'll find tons of examples like
@Inject @Preference(nodePath="my.plugin.id", value="dateFormat")
protected String dateFormat;
, even in the Eclipse 4 Wiki.
The @Preference Annotation should be packaged in org.eclipse.e4.core.di.extensions, but i can't find the package.
Does anybody know where the Preference.class moved to or how should i fix my Project setup ?
|
|
|
Re: Usage of @Preference in Kepler [message #1066173 is a reply to message #1066168] |
Mon, 01 July 2013 07:38  |
Eclipse User |
|
|
|
org.eclipse.e4.core.di.extensions is the bundle containing it, and I can
see it in my eclipse kepler release (BTW e.g. the tooling uses it so it
is there else the e4xmi-Editor won't work at all).
Tom
On 01.07.13 12:49, Frank Schaare wrote:
> Hi.
>
> If you try to get familiar with the e4 Preferences, you'll find tons of
> examples like
>
>
> @Inject @Preference(nodePath="my.plugin.id", value="dateFormat")
> protected String dateFormat;
>
> , even in the Eclipse 4 Wiki.
>
> The @Preference Annotation should be packaged in
> org.eclipse.e4.core.di.extensions, but i can't find the package.
>
> Does anybody know where the Preference.class moved to or how should i
> fix my Project setup ?
|
|
|
Powered by
FUDForum. Page generated in 0.03038 seconds