question on visible when for command [message #334962] |
Thu, 12 March 2009 10:08  |
Eclipse User |
|
|
|
I all ... I'm using eclipse 3.3 - the question is about a command.
I need to enable a command in my popup menu when the selected object is of a
particular type (adapt) and the item as got a property set (example delete
= true)
ok the first part about the object type ...
<visibleWhen>
<with variable="activeMenuSelection">
<iterate>
<adapt
type="xxx.yyy.files.eom.IEOMObjectItem">
</adapt>
</iterate>
</with>
</visibleWhen>
HOW TO ENABLE THE CHECK OF THE PROPERTY ...
with actionset I could use the ObjectState property ... I believe that here
I should use the test property ... but I don't know how to use it
Thanks
Kar
|
|
|
|
Powered by
FUDForum. Page generated in 0.02513 seconds