mardi 30 juin 2015

JFace: Disable some checkboxes in TableViewer

I created jface TableViewer with a style SWT.CHECK. I need to disable checkboxes in some rows of the table. I know how to make they will not change their states but I haven't any idea, how to change their look. I need them to be grayed but not like it does the method setGrayed which make them filled with color. I need user to know immediately that the checkboxes are not editable.

I read SWT/JFace: disabled checkbox in a table column but there is not answer I'm looking for. It has been a few years ago, so perhaps it is now some way to do it.




Aucun commentaire:

Enregistrer un commentaire