Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Declarative lightweight decorator(how to enable it?)
Declarative lightweight decorator [message #684848] Thu, 16 June 2011 10:46
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi,

I've implemented custom declarative lightweight decorator in my RCP application, but I cannot obtain to enable it based on "objectState". That's my plugin.xml relevant snippet:

<decorator
lightweight="true"
location="BOTTOM_LEFT"
label="Label"
icon="icons/[some_pic].gif"
state="true"
id="xxx.mycompany.MyObjectDecorator">
<description>
Indicates whether an object is...
</description>
<enablement>
<and>
<objectClass
name="xxx.mycompany.MyObject"/>
<objectState name="[xxx]BooleanProperty" value="false"/>
</and>
</enablement>
</decorator>

The "objectClass" entry works fine, the "objectState" entry was ignored.....any help?

Thank you,

Giovanni
Previous Topic:How to build a plug-in and let it work in Eclipse3.0
Next Topic:How to disable copy command action for a particular CNF view?
Goto Forum:
  


Current Time: Thu Apr 25 01:31:20 GMT 2024

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

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

Back to the top