ButtonCellEditor [message #539024] |
Wed, 09 June 2010 07:21  |
Eclipse User |
|
|
|
High,
I am trying to implement a tableViewer with editingSupport. One of the columns is supposed to be a button. I've created my ButtonCellEditor class. The problem is that I see the button only after I try to edit the cell (by double clicking the cell). I tried to add an image in the labelProvider, but the image is aligned to the left and is not replaced by the button when it shows, rather they are side by side. I have the alignment problem also with other images.
So my question is:
1) Is there any better way to implement a ButtonCellEditor?
2) how can I make the image fill the cell?
3) how do I make the image disappear when the cell is in focus?
Thanks,
Nir
|
|
|
Re: ButtonCellEditor [message #540989 is a reply to message #539024] |
Thu, 17 June 2010 17:31  |
Eclipse User |
|
|
|
Hi,
i am not a DataBinding specialist, but here my answers:
1. I think no.
2. I have try it, but not found a solution.
3. I dont know, but i think is not possible.
Hope this helps.
|
|
|
Powered by
FUDForum. Page generated in 0.04653 seconds