Formatting text in a TableViewer [message #294268] |
Tue, 08 November 2005 10:15 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03498 seconds