Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsButtonCellEditor
https://www.eclipse.org/forums/index.php/mv/msg/169721/539024/#msg_539024
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]]>nir dweck2010-06-09T11:21:05-00:00Re: ButtonCellEditor
https://www.eclipse.org/forums/index.php/mv/msg/169721/540989/#msg_540989
i am not a DataBinding specialist, but here my answers: