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 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 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: Thu Aug 28 11:36:09 EDT 2014

Powered by FUDForum. Page generated in 0.03378 seconds