Table vs JTable

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Table vs JTable

Postby mehdi » Thu Jul 07, 2005 2:03 am

Hi,

I would like to use a SWT Table, and didn't find how to select cells by clicking???? is it possible ?
mehdi
 
Posts: 5
Joined: Tue Jul 05, 2005 5:24 am

Re: Table vs JTable

Postby Eric Clayberg » Thu Jul 07, 2005 4:19 am

mehdi wrote:I would like to use a SWT Table, and didn't find how to select cells by clicking???? is it possible ?

It's possible, but not using the simple properties of the table. You will need to manually configure it by adding a TableEditor and appropriate selection/mouse listeners.

A good example is available here. The SWT Snippets page also contains several examples.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest