Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do keybinding in eclipse rcp?

Tags:

eclipse-rcp

How to do keybinding in eclipse RCP?

I mean how to use key sequences in your GUI...like Ctrl + something or Alt + something.....?

like image 771
sam Avatar asked Oct 15 '22 07:10

sam


1 Answers

You can look at the Eclipse Command tutorial

To define and use your own scheme you need:

  • Define a scheme in extension point "org.eclipse.ui.bindings"
  • Assign this scheme to the keybindings you defined
  • Have a product created
  • Define the file "plugin_customization.ini" and set the scheme for the product via a property.

alt text http://www.vogella.de/articles/EclipseCommands/images/keybinding10.gif


the all keybinding mechanism is based on the Eclipse Command Framework

alt text
(source: eclipse.org)

like image 149
VonC Avatar answered Oct 19 '22 02:10

VonC