CheckBoxCellEditor in TreeViewer [message #500407] |
Wed, 25 November 2009 23:45 |
|
Hello,
It took me a while to realize that if someone needed different CellEditors per cell, TreeViewer was the only solution (unless if I am wrong again ). So having constructed a TreeViewer I assign different kind of cell editors for the cells of a second column while I use the cells of the first column as text labels. The whole TreeViewer has the look of a table with column headers etc. Up to know I have used TextCellEditor and ComboBoxCellEditor and it works great.
However, my problem now is that the CheckBoxCellEditor does not want to appear at all and I am not sure if CheckBoxCellEditor is supposed to be used as such. I can see that the getValue of my subclassed EdittingSupport interface returns TRUE (since I have forcefully set the CheckBox to true earlier) but funny enough the setValue when I click on the cell returns always false. I am just about to give up and create a TRUE/FALSE ComboBoxCellEditor but before I hope that someone of you could provide some insight.
Thanks in advance
Yiannis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02789 seconds