0
是否可以在「新建」上下文菜單(包資源管理器)中添加菜單項?我嘗試過類似的東西,但菜單項並未放置在上下文菜單中,而是放在上面。是否可以擴展「新建」上下文菜單?
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
id="org.eclipse.ui.articles.action.contribution.popup.navigator"
targetID="org.eclipse.jdt.ui.PackageExplorer">
<action
id="org.eclipse.ui.articles.action.contribution.navigator.action1"
label="View Action 1"
icon="icons/red_dot.gif"
menubarPath="group.new"
class="org.eclipse.ui.articles.action.contribution.ViewAction1Delegate"
enablesFor="!">
</action>
</viewerContribution>
</extension>