Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer
TableViewer [message #460649] Fri, 02 September 2005 06:31 Go to next message
Pete is currently offline PeteFriend
Messages: 26
Registered: July 2009
Junior Member
Is there any way for a TableViewer to change a background color for an individual row. For a Table swt widget I create a new TableItem and use setBackground function to do this?
I mean, there will be sorting allowed in my TableViewer, so do I have to iterate through TableItems all the time and mark the found TableItem with a different color?
thanks in advance.
Re: TableViewer [message #460667 is a reply to message #460649] Sun, 04 September 2005 13:40 Go to previous messageGo to next message
Peter Lanser is currently offline Peter LanserFriend
Messages: 4
Registered: July 2009
Junior Member
Let your LabelProvider implement org.eclipse.jface.viewers.IColorProvider.

Peter
Re: TableViewer [message #460712 is a reply to message #460649] Mon, 05 September 2005 03:52 Go to previous message
Pete is currently offline PeteFriend
Messages: 26
Registered: July 2009
Junior Member
oh, right! thanks a lot. Now I should find how to deal with this Iterface IColorProvider. :-)
Previous Topic:Flush SWT thread
Next Topic:Propagating changes from ContentProvider to JFace View
Goto Forum:
  


Current Time: Wed Apr 24 19:50:48 GMT 2024

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

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

Back to the top