|
|
|
|
|
Re: [Ridgets] Support for EMFDatabinding [message #21995 is a reply to message #21682] |
Tue, 24 February 2009 04:31 |
Eclipse User |
|
|
|
Originally posted by: evolanakis.innoopract.com
Hi Tom,
- using your own DataBindingContext is not supported. Please file an
enhancement request so we can keep track of this.
http://www.eclipse.org/riena/bugs.php
- feel free to attach a standalone example (or projects) to that bug, so
we can experiment with your issue without spending lot of time with EMF.
- I know that other people on the newsgroup use EMF and Riena. Has this
been a problem, or how did you work around this?
Kind regards,
Elias.
Tom Seidel wrote:
> 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
--
---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
|
|
|
|
|
|
|
Re: [Ridgets] Support for EMFDatabinding [message #580820 is a reply to message #21682] |
Tue, 24 February 2009 04:31 |
Elias Volanakis Messages: 43 Registered: July 2009 |
Member |
|
|
Hi Tom,
- using your own DataBindingContext is not supported. Please file an
enhancement request so we can keep track of this.
http://www.eclipse.org/riena/bugs.php
- feel free to attach a standalone example (or projects) to that bug, so
we can experiment with your issue without spending lot of time with EMF.
- I know that other people on the newsgroup use EMF and Riena. Has this
been a problem, or how did you work around this?
Kind regards,
Elias.
Tom Seidel wrote:
> 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
--
---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
|
|
|
Powered by
FUDForum. Page generated in 0.04003 seconds