Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » [Ridgets] Support for EMFDatabinding
[Ridgets] Support for EMFDatabinding [message #580671] Tue, 17 February 2009 14:11
Tom Seidel is currently offline Tom Seidel
Messages: 90
Registered: July 2009
Member
Hi,

Probably I'm doing something wrong, but I declare a binding as follow:

IObservableValue emfObs = EMFEditObservables.observeValue(editingDomain,
getModelObject(),
MyEMFPackage.Literals.MYOBJ__MYEATT);
myTextRidget.bindToModel(emfObs);
myTextRidget.updateFromModel();

but this does not work, The #updateFromModel is executed and the value
is rendered in the text-field, but a UI-to-Model Update does not work.
EMF has a separate DataBindingContext with different
UpdateValueStrategies. Is it possible to use a EMFDataBindingContext (I
want the use the capabilities EMF.Edit provides)? -
I didn't see any possibility to override or extend to provide my own
databinding-context.

Thx for your help
Tom
Previous Topic:[Ridgets] Support for Content-assist
Next Topic:[Ridgets] Support for EMFDatabinding
Goto Forum:
  


Current Time: Thu Oct 02 16:39:04 GMT 2014

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

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