Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » TreeTableRidget: Bind model to modifiable value
TreeTableRidget: Bind model to modifiable value [message #585717] Tue, 08 June 2010 11:40 Go to next message
Matthias is currently offline Matthias
Messages: 52
Registered: September 2009
Member
Hi,

i need to bind a TreeTableRidget to a global modifiable value. So far changes on that value doesn't force a change in the TreeTable automatically. Only if reassign the binding after the value has changed, the TreeTable displays the new value.

Isn't there a way to bind the TreeTableRidget to an modifiable value like e.g. ITableRidget.bindToModel(IObservableList, ...)?

thanks, matthias
Re: TreeTableRidget: Bind model to modifiable value [message #585730 is a reply to message #585717] Tue, 08 June 2010 12:14 Go to previous message
Christian Campo is currently offline Christian Campo
Messages: 590
Registered: July 2009
Senior Member
Am 08.06.10 13:40, schrieb Matthias:
> Hi,
>
> i need to bind a TreeTableRidget to a global modifiable value. So far
> changes on that value doesn't force a change in the TreeTable
> automatically. Only if reassign the binding after the value has changed,
> the TreeTable displays the new value.
> Isn't there a way to bind the TreeTableRidget to an modifiable value
> like e.g. ITableRidget.bindToModel(IObservableList, ...)?
>
> thanks, matthias
>
In general in Riena changes in the model are only promoted to the widget either when you bind or by invoking the method
updateFromModel on the ridget. Its the same for all ridgets and its also true for the TreeTableRidget.

So when you finished updating the model, call updateFromModel on the ridget and that should be it.

christian
Previous Topic:Server thread status to the client
Next Topic:Data Communication failes - sometimes
Goto Forum:
  


Current Time: Mon Sep 22 08:21:05 GMT 2014

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

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