problem with menu extension [message #526885] |
Tue, 13 April 2010 07:47  |
Eclipse User |
|
|
|
Hi all,
I have a menu item that it is correclty added to all my view ... but I don't
understand why this appears in the editor popup menu as well.
I have checked that the test never gets called.
what am I doing wrong?
thanks
Kar
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any">
<command
commandId="org.eclipse.ui.edit.delete2"
icon="images/delete.gif"
label="Delete"
style="push"
tooltip="Delete selected resources">
<visibleWhen>
<with variable="activeMenuSelection">
<iterate>
<and>
<test
forcePluginActivation="true"
property="com.eidosmedia.rse.isDeletable">
</test>
<instanceof
value="com.eidosmedia.rse.sevices.files.eom.IEOMObjectItem" >
</instanceof>
</and>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04332 seconds