菜单对编辑器工具栏的贡献?
在我最近的项目中,我向视图部分工具栏提供了各种命令:
示例: 替代文本 http://www.fotos-hochladen.net/toolbarexamplepunesgox.png 我也想为编辑们做这件事。这是否可能,如果可能,请有人指出正确的方向,如何实现这一目标?
谢谢! :-) 帕特里克
In my recent project, i contributed various commands to viewpart toolbars:
Example:
alt text http://www.fotos-hochladen.net/toolbarexamplepunesgox.png
I want to do this for editors also. Is this possible and if it is, could some please point me in the right direction, on how this can be achieved?
Thanks! :-)
Patrick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编辑器没有自己的工具栏,就像视图一样。它们只能对“主工具栏”做出贡献,如下所示:
请参阅示例 5 、示例 6 和示例 8 在 < a href="http://www.eclipse.org/articles/article.php?file=Article-action-contribution/index.html" rel="nofollow noreferrer">本文。
Editors don't have their own toolbar, like views do. They can only contribute to the "Main Toolbar", as seen here:
See example 5, example 6 and example 8 in this article.