Databinding of CheckboxTableViewer [message #481195] |
Thu, 20 August 2009 02:10 |
Eclipse User |
|
|
|
I am struggling with binding CheckboxTableViewer to a data model. The model
maintains a Set of simple Java objects each with the "name" (String) and
"selected" (boolean) property. All I want is display the list of names, and
set the selected property in the model on/off when the user clicks on the
checkbox.
The snippet (Snippet018CheckboxTableViewerCheckedSelection) is of little
help, as it binds two UI viewers, instead of UI to the data model, and does
not track the boolean selection flag.
Does anyone have an example of how such code can be wired up?
Thanks,
Alex Molochnikov
Kelman Technologies Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.04023 seconds