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?
views:
16answers:
1
+1
A:
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.
VonC
2010-08-18 08:07:16
Thanks. Hmmm... I think I understand what you mean, but I can't see any descriptions in the status bar, either in Eclipse or in my own RCP application. I would really appreciate an example :-)
Peteter
2010-08-18 08:48:04
@Peteter: right, the status bar is not a good example. I have added a dialog box which shows those descriptions in action.
VonC
2010-08-18 11:24:05