|Writing custom visibleWhen rules [message #551243]
||Thu, 05 August 2010 17:20
| Ozan Ozgur
Registered: August 2010
I am writing an eclipse plugin and contributing to the right-click menu in the package explorer. I want my menu item to be visible when specific packages are selected based on predifined path. i.e. lets assume that my package hierarcy is as following(cap,svc and subordinate will be hardcoded keywords to define the path):
I need this menu item to be visible when package 'a', 'c' and 'd' are selected but i don't want it to be visible for the rest of the packages (i.e. b)
i can make it visible for 'a' and 'c' by:
<test property="org.eclipse.core.resources.path" value="/*/cap/svc/*"/>
but i can not make it also visible to 'd' while not being visible to 'b'
can anyone help on this issue?
Thanks a lot in advance,
[Updated on: Thu, 05 August 2010 17:23]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02193 seconds