Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XWT » Where do you call SomeJFaceViewer.setInput
Where do you call SomeJFaceViewer.setInput [message #1220132] Mon, 09 December 2013 18:15 Go to next message
Sharon Dagan is currently offline Sharon Dagan
Messages: 12
Registered: November 2013
Junior Member
Where do you call SomeJFaceViewer.setInput?
The bigger question - is there an example of >> E4, XWT, JFace, EMF, Data Binding << working together?

Thanks,
-S.
Re: Where do you call SomeJFaceViewer.setInput [message #1220287 is a reply to message #1220132] Tue, 10 December 2013 15:50 Go to previous message
Erdal Karaca is currently offline Erdal Karaca
Messages: 725
Registered: July 2009
Senior Member
There are a lot of examples that use jface viewers and POJO/Beans data binding.
In general they must work with the EMF databinding provided in XWT (if the data context is an EMF model).
For this you have to enable the org.eclipse.xwt.emf plugin in your runtime (which is not yet in the official build, you can find it in the git repository).

For now, please have a look at the test cases in the "org.eclipse.xwt.tests" plugin (in git repo) and map one of them to your case (and the EMF model you have).

Sharon Dagan wrote on Tue, 10 December 2013 00:15
Where do you call SomeJFaceViewer.setInput?
The bigger question - is there an example of >> E4, XWT, JFace, EMF, Data Binding << working together?

Thanks,
-S.

Previous Topic:ctrl+space completion in .xwt files
Next Topic:Binding to an object instance rather than to one of its properties
Goto Forum:
  


Current Time: Tue Jul 22 09:38:05 EDT 2014

Powered by FUDForum. Page generated in 0.01657 seconds