开发者

Eclipse RCP; what is the use of the 'description' field of a org.eclipse.ui.commands command?

When adding a command to the extension org.eclipse.ui.commads, the开发者_JS百科re is a field 'name' and a field 'description'. The name field seems to be used at most places. When will description be used?


The org.eclipse.ui.commands schema page mentions:

description - A translatable short description of this command for display in the UI.

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:

Eclipse RCP; what is the use of the 'description' field of a org.eclipse.ui.commands command?

(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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜