sam
sam

Reputation: 93

How to do keybinding in 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.....?

Upvotes: 5

Views: 1490

Answers (1)

VonC
VonC

Reputation: 1328982

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)

Upvotes: 4

Related Questions