Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » ButtonCellEditor
ButtonCellEditor [message #539024] Wed, 09 June 2010 11:21 Go to next message
nir dweck is currently offline nir dweckFriend
Messages: 17
Registered: April 2010
Junior Member
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 21:31 Go to previous message
Tim  is currently offline Tim Friend
Messages: 12
Registered: December 2009
Junior Member
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.
Previous Topic:Can't make JFace TreeViewer larger
Next Topic:get treeviewer from item
Goto Forum:
  


Current Time: Thu Apr 25 07:38:10 GMT 2024

Powered by FUDForum. Page generated in 0.03038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top