Skip to main content


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 23:15 Go to next message
Sharon Dagan is currently offline Sharon DaganFriend
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 20:50 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
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 Apr 16 10:16:48 GMT 2024

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

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

Back to the top