Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Usage of @Preference in Kepler
Usage of @Preference in Kepler [message #1066168] Mon, 01 July 2013 10:49 Go to next message
Frank Schaare is currently offline Frank SchaareFriend
Messages: 8
Registered: July 2009
Junior Member
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 11:38 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5470
Registered: July 2009
Senior Member
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 ?
Previous Topic:Switch language at runtime?
Next Topic:NullPointerException with DaD Parts
Goto Forum:
  


Current Time: Fri Nov 28 19:52:13 GMT 2014

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

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