Question about the popupMenus extension-point [message #550742] |
Wed, 04 August 2010 08:56 |
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 10:35] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03138 seconds