eclipse插件开发:为某个视图加上右键菜单,不绑定任何资源就出现
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
id="com.xyz.C4"
targetID="com.test.myProjectWizard.views.navigator">
<action
id="com.xyz.showXYZ"
label="&Show XYZ"
style="push"
menubarPath="additions"
icon="icons/exportPojo.gif"
helpContextId="com.xyz.show_action_context"
class="com.langsotech.studio.datatool.exportpojo.action.CreateNewWizardAction">
</action>
</viewerContribution>
</extension>