Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Question about the popupMenus extension-point
Question about the popupMenus extension-point [message #550742] Wed, 04 August 2010 04:56
duanf  is currently offline duanf
Messages: 7
Registered: August 2010
Junior Member
<extension
point="org.eclipse.ui.popupMenus">
<viewerContribution
id="com.duanf.trying.sampleViewerContribution"
targetID="org.eclipse.jdt.ui.PackageExplorer">
<menu
id="com.duanf.trying.samplePopupMenu"
label="Sample PopupMenu"
path="additions">
<groupMarker name="content" />
</menu>
<action
id="com.duanf.trying.viewerActionTest"
label="Sample Viewer Operation"
class="com.duanf.trying.actions.SampleViewerAction"
menubarPath="com.duanf.trying.samplePopupMenu/content">
</action>
</viewerContribution>
</extension>
------------------------------------------------------------ ------------
This code worked correctly,but it did not work when I set the targetID as VIEWA's ID which was an extension view created by me.I wanted to know that which kind of difference may be between these two views caused the problem. The two views both can work.

[Updated on: Wed, 04 August 2010 06:35]

Report message to a moderator

Previous Topic:Resolving nested plugin dependencies?
Next Topic:Question about the popupMenus extension-point
Goto Forum:
  


Current Time: Fri Apr 18 11:56:22 EDT 2014

Powered by FUDForum. Page generated in 0.03032 seconds