Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCheckbox on table header
https://www.eclipse.org/forums/index.php/mv/msg/165879/525624/#msg_525624
How can we add a checkbox on table header?
--
Thanks and Regards
Mustufa Kasidwala]]>Mustufa Kasidwala2010-04-07T08:49:44-00:00Re: Checkbox on table header
https://www.eclipse.org/forums/index.php/mv/msg/165879/525639/#msg_525639
> How can we add a checkbox on table header?
You have to assign an image that looks like a checkbox.
See e.g. in the snippet
how this can be done ("makeShot"). You will have to program the
image-switch on selection on your own. Note that the above quoted
example does use the image for a label provider. You cannot do
this, but you have to assign the image to the TableColumn instead.
This means you will also have to register the selection listener
to that TableColumn.
HTH & Greetings from Bremen,
Daniel Krügler]]>Daniel Krügler2010-04-07T10:05:26-00:00