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 08:56
duanf  is currently offline duanf Friend
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 10:35]

Report message to a moderator

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


Current Time: Mon Dec 22 07:54:26 GMT 2014

Powered by FUDForum. Page generated in 0.02635 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software