Decorator problem [message #109187] |
Sat, 09 August 2003 17:54 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: lfu.site.uottawa.ca
Hi,
I am developing a simple view which displays my own objects, called
TreeObject, and want to decorator them. However, the decorator doesnot not
work with rthe following pluing config:
<extension point="org.eclipse.ui.decorators">
<decorator
id="org.kbre.treeviewer.decorators.complexity123"
label="Software Trace Decoration"
class="org.kbre.treeviewer.decorators.TraceLightDecorator"
state="true"
lightweight="true"
adaptable="true"
location="TOP_LEFT">
<description>
A Light weight Decorator example
</description>
<enablement>
<objectClass name="org.kbre.treeviewer.views.TreeObject" />
</enablement>
</decorator>
</extension>
If I change objectClass name="org.kbre.treeviewer.views.TreeObject" to
objectClass name="org.eclipse.core.resources.IFile, dadta in other views are
decorated correctly.
What is the problem?
Thank you for helping the newbie.
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.02962 seconds