开发者

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

开发者 https://www.devze.com 2023-01-12 14:21 出处:网络
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

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

精彩评论

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