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:
(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.
精彩评论