[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Binding label from command addition

In switching over some menus to commands I came across the following problem

I have a popup menu contribution that I've added through the org.eclipse.ui.menus extension point, to which I have attached a command. Adding this command allowed me to declare icons and a label for the command on the menu. It also picked up at runtime that the command had an associated binding so it added that to the menu item as well.

Picking up the bindings is certainly a great feature but the problem I'm having is I don't like the label Eclipse decided to use for that binding.

In my case I'm running on Windows Vista on a US - English locale, the binding is to 'DEL' which is then displayed as 'Delete' on the menu. Is there a way to change this display for the binding? There doesn't appear to be anything on the bindings extension point to support an internationalized label.

Any help would be much appreciated.

Thanks!