Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to disable built-in shortcut keys provided by eclipse
How to disable built-in shortcut keys provided by eclipse [message #486350] Thu, 17 September 2009 11:37 Go to next message
Neha is currently offline NehaFriend
Messages: 52
Registered: July 2009
Member
Hi,
In my application created i want to disable some of the built in shortcut
keys provided by eclipse rcp. For instance shortcut key "Ctrl + F8" for next
perspective.I dont want anythng to happen on this key.
Is there any way to do so? Please let me know

Thanks in advance!
Regards,
Neha
Re: How to disable built-in shortcut keys provided by eclipse [message #486367 is a reply to message #486350] Thu, 17 September 2009 12:57 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Neha wrote:
> In my application created i want to disable some of the built in shortcut
> keys provided by eclipse rcp. For instance shortcut key "Ctrl + F8" for next
> perspective.I dont want anythng to happen on this key.
> Is there any way to do so? Please let me know

Create you own scheme and add the keybindings you need to it. In the
customization ini file add this line:

org.eclipse.ui/KEY_CONFIGURATION_ID = <your scheme id>


- Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com
Re: How to disable built-in shortcut keys provided by eclipse [message #486434 is a reply to message #486367] Thu, 17 September 2009 15:43 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Neha,

additional details for defining your scheme can be found here:
http://www.vogella.de/articles/EclipseCommands/article.html# keybinding

Just ignore the command part in the description.

Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter

Prakash G.R. wrote:
> Neha wrote:
>> In my application created i want to disable some of the built in
>> shortcut keys provided by eclipse rcp. For instance shortcut key "Ctrl
>> + F8" for next perspective.I dont want anythng to happen on this key.
>> Is there any way to do so? Please let me know
>
> Create you own scheme and add the keybindings you need to it. In the
> customization ini file add this line:
>
> org.eclipse.ui/KEY_CONFIGURATION_ID = <your scheme id>
>
>
> - Prakash
>
> Platform UI Team, IBM
> http://blog.eclipse-tips.com
Re: How to disable built-in shortcut keys provided by eclipse [message #486534 is a reply to message #486434] Fri, 18 September 2009 05:32 Go to previous messageGo to next message
Neha is currently offline NehaFriend
Messages: 52
Registered: July 2009
Member
Hi,
Actually adding my own scheme works . I needed to overide the shortcut
"cntrl + N". But all other shortcuts are disabled.
Any way to avoid that

Thanks in advance !
Regards,
Neha.

"Lars Vogel" <Lars.Vogel@gmail.com> wrote in message
news:h8tleb$hq3$1@build.eclipse.org...
> Neha,
>
> additional details for defining your scheme can be found here:
> http://www.vogella.de/articles/EclipseCommands/article.html# keybinding
>
> Just ignore the command part in the description.
>
> Best regards, Lars
>
> --
> http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
> http://www.twitter.com/vogella - vogella on Twitter
>
> Prakash G.R. wrote:
>> Neha wrote:
>>> In my application created i want to disable some of the built in
>>> shortcut keys provided by eclipse rcp. For instance shortcut key "Ctrl +
>>> F8" for next perspective.I dont want anythng to happen on this key.
>>> Is there any way to do so? Please let me know
>>
>> Create you own scheme and add the keybindings you need to it. In the
>> customization ini file add this line:
>>
>> org.eclipse.ui/KEY_CONFIGURATION_ID = <your scheme id>
>>
>>
>> - Prakash
>>
>> Platform UI Team, IBM
>> http://blog.eclipse-tips.com
Re: How to disable built-in shortcut keys provided by eclipse [message #487052 is a reply to message #486534] Mon, 21 September 2009 16:48 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can make your scheme a child of the default scheme (the way the emacs scheme currently works). Then you can delete offending keys in your scheme (but whatever you don't touch will show through).

PW


Previous Topic:CocoaUIEnhancer
Next Topic:Model View Presenter: how to use with a command
Goto Forum:
  


Current Time: Wed Apr 24 17:51:30 GMT 2024

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

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

Back to the top