How to do keybinding in eclipse rcp?
How to do keybinding in eclipse RCP?
I mean how to use key se开发者_JS百科quences in your GUI...like Ctrl + something or Alt + something.....?
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
(source: eclipse.org)
精彩评论