Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to add shortcuts for Dynamic menus.(How to add shortcuts for Dynamic menus.)
How to add shortcuts for Dynamic menus. [message #1407214] Tue, 12 August 2014 05:29
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
Registered: October 2012
Location: Bangalore
Senior Member

In my RCP application I'm using dynamic menu.

I want to add shortcuts for that, there is option to set setMnemonics but I want to set shortcut let say ALT+1

    public void aboutToShow(List<MMenuElement> items) {
       MDirectMenuItem dynamicItem = MMenuFactory.INSTANCE.createDirectMenuItem();
       dynamicItem.setLabel("Test Menu");
       dynamicItem.setTooltip("Test Menu tooltip");

Shortcut are possible with commands but in this case is there any workaround?.

Previous Topic:Link to external jars in plugin?
Next Topic:Error Export Eclipse Product
Goto Forum:

Current Time: Wed Jul 24 09:13:48 GMT 2024

Powered by FUDForum. Page generated in 0.04360 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top