Mnemonic doesn't show in Part menu [message #777714] |
Tue, 10 January 2012 18:11  |
Eclipse User |
|
|
|
I am creating the part menu like this...
final MDirectMenuItem menuItem = MMenuFactory.INSTANCE.createDirectMenuItem();
menuItem.setElementId(id);
menuItem.setLabel(text);
menuItem.setMnemonics(mnemonic);
In my test the label is "Menu Item 1" and I set the mnemonic to be M
When I run the code and press Ctrl+F10 the part menu displays but the M is not underlined.
Any ideas as to why it wouldn't be?
I checked the eclipse 4.1 SDK and when I use Ctrl+F10 in the outline view the menu shows with the mnemonics. So I know it has to be something I missing.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06737 seconds