[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Menu Manager and key binding

you may get more response if you ask this on the eclipse.platform.rcp
newsgroup since this is a jface question

"Jiyul" <softwitch@xxxxxxxxx> wrote in message
news:fru7bs$hgp$1@xxxxxxxxxxxxxxxxxxxx
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: 7bit
>
> @Override
> protected MenuManager createMenuManager() {
> MenuManager menuManager = new MenuManager(null);
> MenuManager editMenuManager = new MenuManager("Edit");
> menuManager.add(editMenuManager);
> editMenuManager.add(new SelectAllAction());
>
> return menuManager;
> }
>
> With this situation, Shortcut key of instance of SelectAllAction will
> not work till the edit menu is showed up. Because (Action)contributors
> work by "Lazy working" idea.
>
> But I want to make the key binding works even actual menu is not created
>   in that time. How do I do?
>
> or How can I create all menu includes sub contexts in force?