Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Command Binding Scheme
Command Binding Scheme [message #522199] Sun, 21 March 2010 02:58 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-nospam-gaurav-vaish.gmail.com

Hi,

How do I change the active Scheme for the key bindings?

Here's the scenario...

I have created a custom "org.eclipse.ui.bindings" and have given a custom
schemeId, say, "com.mastergaurav.myapp.schemeId"
I wish to change the Scheme from
"org.eclipse.ui.defaultAcceleratorConfiguration" to
"com.mastergaurav.myapp.schemeId"... but don't know:

a) How to get the reference to BindingManager
b) If I need to create a custom BindingManager, what should be the
ContextManager and CommandManager


Any help / pointer is welcome...


--
Happy Hacking,
Gaurav Vaish
www.mastergaurav.com
Re: Command Binding Scheme [message #522284 is a reply to message #522199] Mon, 22 March 2010 01:13 Go to previous messageGo to next message
Eclipse UserFriend
On 21/03/10 12:28 PM, Gaurav Vaish wrote:
> Hi,
>
> How do I change the active Scheme for the key bindings?


Not sure of the API to change it. But you can set it in your
plugin_customization.ini file.


- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Command Binding Scheme [message #524336 is a reply to message #522199] Wed, 31 March 2010 10:50 Go to previous message
Eclipse UserFriend
As an aside, please stop cross-posting.

eclipse.platform *or* eclipse.platform.rcp is appropriate for your
questions (you don't need both).

eclipse.platform.pde is not, however.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:How add builder to the nature in this situation?
Next Topic:Zombie Eclipse 3.5 Processes on Windows
Goto Forum:
  


Current Time: Thu Jul 03 13:13:42 EDT 2025

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

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

Back to the top