Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with keybinding context(The context org.eclipse.ui.contexts.window doesn't work with own written commands?)
icon5.gif  Problem with keybinding context [message #484874] Wed, 09 September 2009 15:12
No real name is currently offline No real name
Messages: 1
Registered: September 2009
Junior Member
Hello,

I got a problem with the keybindings of my own commands. In my project I combined various org.eclipse.ui commands on different key squences. This all works fine.
Now I have written own commands which I also want to combine with a key squence. The keybinding refers to the command and the command refers to the running actions. So far so good. But in the keybinding itself I want to select "org.eclipse.ui.contexts.window" as contextId because I want the key squence to be available all the time in the Eclipse window. But this doesn't works! It only works when a perspective is opened. When no perspective is opened its not working. Now I dun know further. Why does org.eclipse.ui commands works with the same contextID and own written commands not?

Would be glad for any help.

Thanks.
Previous Topic:p2 FeaturesAndBundlesPublisher
Next Topic:HandlerUtil getSelection methods
Goto Forum:
  


Current Time: Mon Oct 20 13:18:41 GMT 2014

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

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