Declarative lightweight decorator [message #684848] |
Thu, 16 June 2011 06:46 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04498 seconds