Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Command Binding Scheme
Command Binding Scheme [message #522199] Sun, 21 March 2010 06: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 05:13 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
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 14:50 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Sat May 18 05:04:49 GMT 2024

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

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

Back to the top