-2

我需要在 Eclipse 菜单中已经存在的众多项目旁边创建一个在 Eclipse UI 中可见的新下拉菜单,即从命令开始到new项目等。(文件、编辑、导航等工具栏下方的整行项目)savedebug

这怎么可能?这个新添加的菜单项也会是一个插件吗?有人可以建议一个好的教程作为学习的起点吗?

4

2 回答 2

2

命令可以使用 org.eclipse.ui.handlers 实现,并使用 org.eclipse.ui.bindings 绑定到键。这对你很有帮助。

http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fworkbench_cmd_menus.htm

于 2013-07-18T07:42:46.793 回答
1

有大量可用的 eclipse 插件教程,eclipse 作为插件的集成工作(eclipse 中的一切都是插件)

你可以从

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Ffirstplugin.htm

搜索网络,它很容易。

干杯。!!

于 2013-07-18T08:43:55.740 回答