Eclipse RCP插件开发 - 无法获得新的menuContribution选项

时间:2022-09-11 19:52:23

I am using Eclipse 3.2. For an RCP application, I am trying to extend from org.eclipse.ui.menus. When I right-click and pick new option, "menu Contribution" isn't appearing. I only see options 'item', 'menu', 'group', 'widget' under 'New'. There is no option named "menu Contribution". Am I missing anything in target platform? If so, which jar?

我正在使用Eclipse 3.2。对于RCP应用程序,我试图从org.eclipse.ui.menus扩展。当我右键单击并选择新选项时,“菜单贡献”不会出现。我只在'新'下看到选项'item','menu','group','widget'。没有名为“菜单贡献”的选项。我在目标平台上遗漏了什么吗?如果是这样,哪个罐子?

2 个解决方案

#1


I confirm it can not work.

我确认它无法正常工作。

Consider the Extension Points Reference help from:

考虑扩展点参考帮助:

That is why you do not see menuContribution

这就是为什么你没有看到menuContribution

alt text http://www.vogella.de/articles/RichClientPlatform/images/command70.gif

alt text http://www.vogella.de/articles/RichClientPlatform/images/command70.gif

#2


Works for me using:
Eclipse SDK
Version: 3.4.1
Build id: M20080911-1700
I would suggest upgrading...3.2 is a little old IMHO

适合我使用:Eclipse SDK版本:3.4.1构建ID:M20080911-1700我建议升级... 3.2有点老恕我直言

pde-working http://i39.tinypic.com/fz0j6t.jpg

#1


I confirm it can not work.

我确认它无法正常工作。

Consider the Extension Points Reference help from:

考虑扩展点参考帮助:

That is why you do not see menuContribution

这就是为什么你没有看到menuContribution

alt text http://www.vogella.de/articles/RichClientPlatform/images/command70.gif

alt text http://www.vogella.de/articles/RichClientPlatform/images/command70.gif

#2


Works for me using:
Eclipse SDK
Version: 3.4.1
Build id: M20080911-1700
I would suggest upgrading...3.2 is a little old IMHO

适合我使用:Eclipse SDK版本:3.4.1构建ID:M20080911-1700我建议升级... 3.2有点老恕我直言

pde-working http://i39.tinypic.com/fz0j6t.jpg