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
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?
Thank you for the response. The referenced thread amounts to saying that
the databinding does not truly support CheckboxTableViewer. Wiring up the
ICheckStateListener is what I ended up doing, but this solution is outside
of databinding framework.