mercredi 20 avril 2016

Java -SWT- How can I make only one column editable in TreeViewer based on checkbox value from another column in the same row?

I have a TreeViewer which has two columns: ProximityClustersColumn: which has names as String, selectionColumn: which has checkbox as shown in the figure

enter image description here

I have two questions:

  1. On clicking the selection column's checkbox, the corresponding name of ProximityClustersColumn should become editable.
  2. Also, as seen in the figure, a check must be made such that only one value in the group, whose checkbox is checked becomes editable. In other words, for each group, only one category name can be checked and that corresponding name should be editable.

Aucun commentaire:

Enregistrer un commentaire