Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Capabilities and Key Bindings
Capabilities and Key Bindings [message #485167] Thu, 10 September 2009 16:58 Go to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Hello.

I'm wondering if Eclipse capabilities should also disable keybindings ?

I'm using Platform 3.4.2 with Subversive 0.7.8 plugin. I disable the "SVN
capability" provided by the subversive plugin, and all the UI
contributions disappear (views, perspectives, menu contributions, new
wizards, ...)
BUT the keybindings are still active !!

In the Project Explorer view, the CTRL-ALT-Z keys execute the "SVN update"
command.
And in the "Keys" preference page, the "Subversive key bindings scheme" is
available ...

I would like to have the SVN key bindings disabled, is it the capability
responsibility or should I use contexts to obtain this result ?

Thank for your help.
JM.D
Re: Capabilities and Key Bindings [message #485191 is a reply to message #485167] Thu, 10 September 2009 19:03 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You are correct, activities/capabilities (which can hide elements in the UI) do not effect key bindings.

Are you trying to disable the key bindings in an RCP app? Or you mean in the IDE/SDK?

PW


Re: Capabilities and Key Bindings [message #485280 is a reply to message #485191] Fri, 11 September 2009 07:43 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
> Are you trying to disable the key bindings in an RCP app? Or you mean in
the IDE/SDK?

Hello Paul and thank you for your help.

I'm trying to disable the SVN key bindings contributed by the Subversive
plugin that I have integrated in an RCP application built upon Eclipse
Platform ...

I'm not totally in the IDE (only Platform SDK) but not really in a full
RCP app (without easy access to advisors).
Today, I will try to disable these key bindings with the "Binding Service"
of the workbench. Is this the right way ?

Thank you.
JM.D
Re: Capabilities and Key Bindings [message #485314 is a reply to message #485280] Fri, 11 September 2009 10:59 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Jean-Marie Damas wrote:

> Today, I will try to disable these key bindings with the "Binding Service"
> of the workbench. Is this the right way ?

I've succeeded in disabling all the SVN key bindings with the Binding
Service, by getting the SVN Scheme by its ID (defined in the Subversive
plugin) and setting it to "undefined". I do that in an "early startup"
plugin of mine.

It seams to work. Hope it will be robust enough ...
JM.D
Re: Capabilities and Key Bindings [message #485374 is a reply to message #485314] Fri, 11 September 2009 14:13 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

that's likely to blow up at some point, or at least generate a lot of messages in your log file (<workspace>/.metadata/.log)

If the keybindings are in a SVN scheme, why isn't setting RCP app scheme to the default good enough (the SVN keybindings won't work unless their scheme or some child scheme is active).

PW


Previous Topic:Mirror local archive site from command line?
Next Topic:Detecting focus
Goto Forum:
  


Current Time: Wed Apr 24 19:33:45 GMT 2024

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

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

Back to the top