Hello,
I don't succeed in implementing a Label decoration for a TreeViewer. I
just need to have image decoration so I assume I only need a LightWeight
decorator. I have defined it according to what I have understood from
eclispe Help (Platform Plug-in Developer Guide > Programmer's Guide >
Advanced workbench concepts > Decorators).
Here is what i have done:
in plugin.xml:
<extension
point="org.eclipse.ui.decorators">
<decorator
icon="icons/question_ov.gif"
id="azerty.decorator"
label="label"
lightweight="true"
location="BOTTOM_RIGHT"
state="false">
<enablement>
<objectClass
name="azerty.NavigationView$TreeObject">
</objectClass>
</enablement>
</decorator>
</extension>
I must be missing something. Does a complete example of this kind of
implementation exists?
Regards,
Julien