| [news.eclipse.platform.swt] Re: Error/Warning/Information Decorator for TreeViewer |
You'll need to implement ILightWeightLabelProvider.
Tom
Hi,
I have a TreeViewer with a simple ITreeContentProvider and a ILabelProvider. I would like to decorate the icon returned by the ILabelProvider with a standard eclipse error marker (white cross on red background) when the given model object is not "valid" (validity is defined by the model object itself). What's the easiest way to achieve this?
Thank you for any hints or pointers.
Regards, Ulrich
-- B e s t S o l u t i o n . at -------------------------------------------------------------------- Tom Schindl JFace-Committer --------------------------------------------------------------------