Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Databinding of CheckboxTableViewer
Databinding of CheckboxTableViewer [message #481195] Thu, 20 August 2009 06:10
Alex Molochnikov is currently offline Alex MolochnikovFriend
Messages: 25
Registered: July 2009
Junior Member
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.
Previous Topic:run RCP Application in static main method
Next Topic:Veto for perspective change
Goto Forum:
  


Current Time: Thu Apr 25 01:54:24 GMT 2024

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

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

Back to the top