Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » [DataBinding] Xtext EMF EDB Implementation, help needed with List & observeDetails()
[DataBinding] Xtext EMF EDB Implementation, help needed with List & observeDetails() [message #921679] Mon, 24 September 2012 10:34
Michael Vorburger is currently offline Michael VorburgerFriend
Messages: 67
Registered: July 2009

We have been experimenting with using Eclipse Data Binding (EDB) with Xtext. The context/background of this twofold: a) Form Editors for Xtext-based Models, b) UI modeling ideas, see

Now, because Xtext uses EMF of course, but as explained on requires read and write to go through IXtextDocument readOnly/modify/process/exec IUnitOfWork Xtext APIs; the EDB EMF[Edit]Properties therefore don't work with Xtext Editors, because they directly hit EMF EObject eSet/eGet (or EMF Edit Commands).

As you can see on screencast, and corresponding code on, current state is that it's working for ValueProperty & FeaturePath.

However, we can not seem to get List support & observeDetails() etc. to work, and would much appreciate any hints/pointers/patches... Starting point to have a look: If one uncomments ViewerSupport.bind() at the end of XtextDocumentBinding/ch.voburger.xtext.sandbox.mydsl.ui/src/ch/voburger/xtext/sandbox/mydsl/ui/editor/ and opens XtextDocumentBinding/ch.voburger.xtext.sandbox.mydsl.ui/test.mydsl in an Editor launched via XtextDocumentBinding/ch.voburger.xtext.sandbox.mydsl.tests/SandboxXtextDocumentBinding.launch], Exceptions illustrate where it "doesn't match". In ch.vorburger.xtext.databinding/src/ch/vorburger/xtext/databinding/ might need 3x observeDetail() uncommented... causes different mismatch... Sad

My apologies for this "cry for help" - do any of the Data Binding API experts here have any interest in looking into and helping out with progressing this?

Thanks a lot,
Previous Topic:Widget disposed exception when wizard closed using Return key
Next Topic:add Dynamic Data to ComBoboxCellEditor
Goto Forum:

Current Time: Fri Oct 09 05:25:02 GMT 2015

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

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