Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Create my own TableViewer
Create my own TableViewer [message #449148] Tue, 18 January 2005 19:21 Go to next message
Alejandro Narancio is currently offline Alejandro NarancioFriend
Messages: 40
Registered: July 2009
Member
Hi for everyone!
I want to add some other functionalities to the standard TableViewer,
principaly I want to change some graphics aspects (for example the color
of the headers in columns), anybody know where can I start to make that?

Thanks and regards,

Alejandro
Re: Create my own TableViewer [message #449557 is a reply to message #449148] Wed, 26 January 2005 14:18 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi Alejandro,

The colour of a Table header cannot be changed.

In general, to make "graphics" changes (eg.- to draw) on a widget you need
to get at the underlying swt widget of the jface viewer. So in the
TableViewer case you should use TableViewer.getTable(), and go from here
(eg.- create a GC on the Table).

Grant

"Alejandro Narancio" <ale.narancio@adinet.com.uy> wrote in message
news:csjnit$4ip$1@www.eclipse.org...
> Hi for everyone!
> I want to add some other functionalities to the standard TableViewer,
> principaly I want to change some graphics aspects (for example the color
> of the headers in columns), anybody know where can I start to make that?
>
> Thanks and regards,
>
> Alejandro
>
Previous Topic:I need to execute some code when workbench exists
Next Topic:Are there any know issues with MenuManager running on RedHat Linux?
Goto Forum:
  


Current Time: Sun Nov 17 17:17:11 GMT 2019

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

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

Back to the top