Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Formatting text in a TableViewer
Formatting text in a TableViewer [message #294268] Tue, 08 November 2005 10:15
Eclipse UserFriend
Originally posted by: pja.terma.com

Hi,

I am writing a viewer to display logging messages with different severity
levels, and I would like to display the different levels in different
colours, e.g. red for errors, yellow for warnings, green for information.

I have tried using a JFace TableViewer, but I cannot find a way in which
the label provider can also manipulate the TableItem to do this kind of
formatting. I have looked around in the class descriptions, and the
ILabelDecorator interface looked promising, but that cannot be used where
a ITableLabelProvider is expected.

Thank you for your consideration,
Paul.
Previous Topic:Common Javadoc location
Next Topic:junit task doesn't work from eclipse IDE
Goto Forum:
  


Current Time: Thu Jun 19 22:00:12 EDT 2025

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

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

Back to the top