Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Add a MultiButtonCellEditor to a tableViewer(need to show always the button)
icon9.gif  Add a MultiButtonCellEditor to a tableViewer [message #501901] Fri, 04 December 2009 11:41 Go to next message
Marc Gil is currently offline Marc Gil
Messages: 189
Registered: July 2009
Location: Valencia, Spain
Senior Member
Hi!

I have a table, one of their columns shows a Button (with a cellEditor type of MultiButtonCellEditor), but the button is only shown when I click in the cell.

I want that this button is always shown, although the table has no items selected. Any help please?

Thanks!
Marc
Re: Add a MultiButtonCellEditor to a tableViewer [message #501902 is a reply to message #501901] Fri, 04 December 2009 11:51 Go to previous message
Marc Gil is currently offline Marc Gil
Messages: 189
Registered: July 2009
Location: Valencia, Spain
Senior Member
I found this example: http://www.eclipse.org/articles/Article-Table-viewer/table_v iewer.html

But the checkbox is an image, shown by the Label Provider. What I have, is a simple button.

An unliked solution, is to create a button image, and do the same with the label Provider...

[Updated on: Fri, 04 December 2009 12:31]

Report message to a moderator

Previous Topic:Question: SWT analogue of java.awt.event.ContainerListener?
Next Topic:TreeViewer with special rendering for items
Goto Forum:
  


Current Time: Wed Sep 17 11:38:48 GMT 2014

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

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