Eclipse RCP; “描述”有什么用? org.eclipse.ui.commands 命令的字段?
向扩展 org.eclipse.ui.commads
添加命令时,有一个字段“name”和一个字段“description”。名称字段似乎在大多数地方都使用。什么时候会使用描述?
When adding a command to the extension org.eclipse.ui.commads
, there is a field 'name' and a field 'description'. The name field seems to be used at most places. When will description be used?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
org.eclipse.ui.commands
架构页面 提到:这通常在需要显示命令的 Eclipse GUI 中可见,例如在“自定义透视”对话框的“命令组可用性”中:
(来自 自定义 Eclipse 用户界面)
注意:状态栏仅用于显示状态消息,不会显示那些命令说明。请参阅 Eclipse UI 指南 9.9。
The
org.eclipse.ui.commands
schema page mentions:This is typically visible in Eclipse GUI where the commands need to be displayed, like in the "Command Groups Availability" of the "Customize Perspective" dialog:
(from Customizing the Eclipse User Interface)
Note: the status bar is for status message only and won't display those command descriptions. See Eclipse UI Guideline 9.9.