|[Databinding] Binding checkbox to boolean property [message #468042]
||Mon, 03 August 2009 18:13
| Ben Vitale
Registered: July 2009
I've got a BeanSet wrapper object which holds a Set of objects, lets call them Items. Each Item has a String name and a boolean enablement property. I want to have a CheckboxTableViewer with the name as one column and the check states bound to the boolean property of each item.|
I see how to observe the viewer checked state, but what is the best way to create an IObservableSet that only contains the Items that have the boolean set to true?
I've explored using a ComputedSet, which might get the job done for model-to-target, but it won't sync the other way.
[Updated on: Mon, 03 August 2009 18:15]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02929 seconds