mardi 24 juillet 2018

How to implement parent child relationship checkbox in SWT?

I am new to SWT, my requirement is I need to add two checkboxes in a dialog. I want, if I select first checkbox second should also be selected. But if I am disabling second checkbox , first one is still selected. I am not allowed to select second checkbox, second checkbox is only selected when first checkbox is selected. I believe its a parent child relationship and CheckboxTreeViewer must be used(still not sure). Can anyone please send across code snippet for the requirement?




Aucun commentaire:

Enregistrer un commentaire