Skip to main content



      Home
Home » Archived » Riena » TreeTableRidget: Bind model to modifiable value
TreeTableRidget: Bind model to modifiable value [message #585717] Tue, 08 June 2010 07:40 Go to next message
Eclipse UserFriend
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 08:14 Go to previous message
Eclipse UserFriend
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: Fri Jul 25 10:32:01 EDT 2025

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

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

Back to the top