Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Key binding for Navigator view popup menu action
Key binding for Navigator view popup menu action [message #289568] Mon, 08 August 2005 13:04
Eclipse UserFriend
Originally posted by: evgeny.adamenkov.auriga.ru

Hello,

How to invoke an action by pressing F4 when an .abc-file is highlighted? I
tried to set a context in the object contribution's setActivePart:


public class MegaAction implements IObjectActionDelegate {

....

public void setActivePart(IAction action, IWorkbenchPart targetPart) {

ContextManager manager = new ContextManager();

manager.addActiveContext("MyMegaContenxt");


}

}

but it does not help.

P.S. In the editor, everything is OK. I am only having a problem with
"accelerators" in popup menu in the Navigator view.
Previous Topic:claspath bug ???
Next Topic:How to register a key binding to a IAction
Goto Forum:
  


Current Time: Thu Apr 25 10:27:02 GMT 2024

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

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

Back to the top