eclipse plugin - delete popup working fine over project explorer view but not working over navigator view -


i trying hide 'delete' popup-menu files. used following plugin.xml entry.

<extension point="org.eclipse.ui.activities"> <activity id="hidedeletepopupmenuid" name="hidedeletepopupmenu">   <enabledwhen>       <with variable="selection">     <iterate operator="and">                     <adapt type="org.eclipse.core.resources.iresource" >            <or>             <test property="org.eclipse.core.resources.name" value="*.java"/>            </or>             </adapt>         </iterate>       </with>    </enabledwhen> </activity>   <activitypatternbinding activityid="hidedeletepopupmenuid"           isequalitypattern="false" pattern="org.eclipse.ui.edit.delete">   </activitypatternbinding> </extension> 

this seems working fine on project explorer view, navigator view not wokring. can on this?

thanks, darshan

actions in navigator view context menu hard-coded, see resourcenavigator.fillcontextmenu(imenumanager menu).

note action in popup menu not way delete resource (there's menu item in edit menu , key-binding).


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -