This is a followup to Items decorations in a TreeViewer: I have a TreeView with my own Objects. I already have a LabelProvider
that supplies Icons and Texts. Now I want to decorate the images with other images depending on some conditions. How can I do this? The referenced question uses ComposedImage
, which I suppose is org.eclipse.emf.edit.provider
.
Is there a way to do this with SWT/JFace in Eclipse 4.3?
I already tried using a ILightweightLabelDecorator
(using the idea from the FAQ), but gave up wrapping that round my LabelProvider
.