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

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?