Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Command Binding Scheme
Command Binding Scheme [message #605182] 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 #605184 is a reply to message #605182] 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 #605397 is a reply to message #605182] Wed, 31 March 2010 14:51 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:Command Binding Scheme
Next Topic:PDE Build and P2 repositories
Goto Forum:
  


Current Time: Fri Apr 19 13:30:40 GMT 2024

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

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

Back to the top