开发者

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

How to do keybinding in eclipse rcp?


(source: eclipse.org)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜