Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » @Preference & PreferenceStore(Relation between @Preference and PreferenceStore)
@Preference & PreferenceStore [message #800586] Fri, 17 February 2012 03:48 Go to next message
Watabe Kichi is currently offline Watabe Kichi
Messages: 12
Registered: July 2011
Junior Member
What is the relation between @Preference and PreferenceStore?
Can I use @Preference instead of PreferenceStore?

It seems @Preference is not used in org.eclipse.e4.demo.simpleide.*, though.

Regards,

[Updated on: Fri, 17 February 2012 10:21]

Report message to a moderator

Re: @Preference & PreferenceStore [message #809057 is a reply to message #800586] Tue, 28 February 2012 07:47 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It's used in the model editor, check out http://git.eclipse.org/c/e4/org.eclipse.e4.tools.git/tree/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java for an example.

PW


Previous Topic:Adding a menu listener
Next Topic:No Fast Views in e4?
Goto Forum:
  


Current Time: Tue Jul 29 00:47:18 EDT 2014

Powered by FUDForum. Page generated in 0.02101 seconds