Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Radio button in a table
Radio button in a table [message #452305] Thu, 17 March 2005 10:19 Go to next message
vipashwi is currently offline vipashwiFriend
Messages: 9
Registered: July 2009
Junior Member
Hi

Iam creating table with with Tableviewer and Cell editors.
the first column in my table is a check box and so i use the check box
cell editor to get the functionality.

but my problems lies t=in coloumn two where i want a Radio button, i ahev
checked evrywhere for a radiobutton cell editor, but invain.

any help how i cud get this.

The table will be populated from the db on button click.. so initially no
data in the table.
Re: Radio button in a table [message #637129 is a reply to message #452305] Thu, 04 November 2010 10:05 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: November 2010
Junior Member
I have the same problem - I assume, since there has been no reply, that there is no other option than to use the standard swt radio button.

regards,
Michael
Re: Radio button in a table [message #637146 is a reply to message #637129] Thu, 04 November 2010 11:38 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 04.11.2010 11:05, eclipse@micromose.com wrote:
> I have the same problem - I assume, since there has been no reply, that
> there is no other option than to use the standard swt radio button.

A generally recommended procedure to embed controls (especially
Buttons) in a SWT table or tree is to use a "snap-shot" technique,
as described in

http://tom-eclipse-dev.blogspot.com/2007/01/tableviewers-and -nativelooking.html
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet061FakedNativeCellEditor.java?view=markup

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:[SOLVED] Setting images of different widths to TableItem
Next Topic:changing background color on a table viewer depending on other view selection
Goto Forum:
  


Current Time: Wed Nov 26 05:53:30 GMT 2014

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

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