Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Decorator problem
Decorator problem [message #109187] Sat, 09 August 2003 17:54
Eclipse UserFriend
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
Previous Topic:How do I get eclipse to recognise J2EE classes?
Next Topic:Possible error in 3.0 M2?
Goto Forum:
  


Current Time: Mon Aug 26 02:56:42 GMT 2024

Powered by FUDForum. Page generated in 0.04686 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top