Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » [XWT] emf binding
[XWT] emf binding [message #563659] Tue, 06 October 2009 12:50 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 756
Registered: July 2009
Senior Member
I have an emf model which is bound to a table viewer.
If I add new objects to the emf model, the table viewer does not update its input (where input="{Binding path=company.employees}", assuming there is a hierarchical company-employees model).

How is the emf binding supposed to work with model changes?
Re: [XWT] emf binding [message #563771 is a reply to message #563659] Wed, 07 October 2009 10:49 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 756
Registered: July 2009
Senior Member
It seems that after the model has been changed, the viewer needs to be refreshed (Viewer.refresh()) manually.
Re: [XWT] emf binding [message #563789 is a reply to message #563771] Thu, 08 October 2009 10:42 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Thanks for your feedback.

We need to work more about the collection integration with Data Binding.
Please open a case in bugzilla !

best regards
Yves YANG
"Erdal Karaca" <erdal.karaca.de@googlemail.com> wrote in message
news:hahrnn$6qk$1@build.eclipse.org...
> It seems that after the model has been changed, the viewer needs to be
> refreshed (Viewer.refresh()) manually.
Previous Topic:[XWT] emf binding
Next Topic:[XWT] eclipse forms
Goto Forum:
  


Current Time: Sun Dec 21 19:34:03 GMT 2014

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

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