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 #606411] 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 is an extension view created by me.
Previous Topic:Question about the popupMenus extension-point
Next Topic:MessageConsole Background Color Does Not Change
Goto Forum:
  


Current Time: Tue Nov 25 01:52:22 GMT 2014

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

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