tags:

views:

16

answers:

1

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?

+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:

alt text

(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
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
@Peteter: right, the status bar is not a good example. I have added a dialog box which shows those descriptions in action.
VonC

related questions