Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » [Bug ?] Subversive key bindings definition
[Bug ?] Subversive key bindings definition [message #485326] Fri, 11 September 2009 11:38 Go to next message
Jean-Marie Damas is currently offline Jean-Marie Damas
Messages: 29
Registered: July 2009
Junior Member
Hello.

I'm integrating the Subversive plugin(s) in my RCP application (based on
Eclipse Platform 3.4.2) and I wanted to disable the SVN key bindings
defined in the "org.eclipse.team.svn.ui" plugin.

I used the "Binding Service" to obtain the
"org.eclipse.team.svn.ui.keybindings.scheme" and to set it to undefined
but it didn't work until I patched each of the key binding definitions in
the plugin.xml file of "org.eclipse.team.svn.ui" plugin, like this :

<key
commandId="org.eclipse.team.svn.ui.command.SynchronizeCommand "
schemeId="org.eclipse.team.svn.ui.keybindings.scheme"
sequence="CTRL+ALT+S"/>

I simply used the schemeId that is defined in the same plugin.xml file to
locate all the key bindings in this scheme, instead of the
"org.eclipse.ui.defaultAcceleratorConfiguration" that was previously set.

Is this a potential bug in the definition of Subversive key bindings ?
Thank you for your help.
JM.D
Re: [Bug ?] Subversive key bindings definition [message #485665 is a reply to message #485326] Mon, 14 September 2009 12:13 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie Damas
Messages: 29
Registered: July 2009
Junior Member
I've opened a bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=289325)
related to this subject.
JM.D
Re: [Bug ?] Subversive key bindings definition [message #487553 is a reply to message #485665] Wed, 23 September 2009 14:53 Go to previous messageGo to next message
Igor Burilo is currently offline Igor Burilo
Messages: 435
Registered: July 2009
Senior Member
Hello Jean-Marie,

Please see comments in bug.

> I've opened a bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=289325)
> related to this subject.
> JM.D
>
Re: [Bug ?] Subversive key bindings definition [message #488651 is a reply to message #485326] Tue, 29 September 2009 15:35 Go to previous message
Jean-Marie Damas is currently offline Jean-Marie Damas
Messages: 29
Registered: July 2009
Junior Member
Jean-Marie Damas wrote on Fri, 11 September 2009 07:38
Is this a potential bug in the definition of Subversive key bindings ?

Since this is not a bug, and because I didn't want to have to "patch" the Subversive plugin, I overwrote each of the SVN key bindings in my proper plugin like this :
 <extension
       point="org.eclipse.ui.bindings">
    <key
          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
          sequence="CTRL+ALT+S"/>
 </extension>

Same SchemeID, same Sequence but none CommandID. Very Happy
JM.D
Previous Topic:Removing actions from Subversive view pop-up menu
Next Topic:Subversive - Integration with m2eclipse.
Goto Forum:
  


Current Time: Thu Oct 23 04:03:40 GMT 2014

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

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