可能重复:
Any known problems/bugs with objectContribution (popup) to CVS History view? It's not working
我正在将一个旧的eclipse 3.0插件迁移到eclipse 3.4,并且弹出菜单对CVS修订历史的贡献根本没有显示。 我有另一个弹出菜单贡献给另一个视角(CVS存储库探索),并且没有问题(ICVSResource)。
不起作用的是org.eclipse.team.internal.ccvs.core.ILogEntry
这是plugin.xml FYI的具体XML片段。
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.console"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.ui.views"/>
<import plugin="org.eclipse.jface.text"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.team.core"/>
<import plugin="org.eclipse.team.ui"/>
<import plugin="org.eclipse.team.cvs.core"/>
<import plugin="org.eclipse.team.cvs.ui"/>
</requires>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.team.internal.ccvs.core.ICVSResource"
id="cvsexplorer">
<action
label="Pasar Recursos a Integración 1"
icon="pai.gif"
tooltip="Pasa los recursos seleccionados a integración"
class="com.xxxxx.plugins.pai.actions.HammerPAIAction"
enablesFor="1"
id="action1">
</action>
</objectContribution>
<objectContribution
objectClass="org.eclipse.team.internal.ccvs.core.ILogEntry"
id="revisions">
<action
label="Pasar Recursos a Integración 2"
icon="pai.gif"
tooltip="Pasa los recursos seleccionados a integración"
class="com.xxxxx.plugins.pai.actions.HammerPAIAction"
enablesFor="1"
id="action2">
</action>
</objectContribution>
</extension>
任何人都可以帮助我吗?感谢。
我在这里更新此问题:Any known problems/bugs with objectContribution (popup) to CVS History view? It's not working
答案 0 :(得分:-1)