Chapter 12. Adding Key Bindings

All applications have actions that are initiated from the keyboard more often than from a toolbar or menu. Power users especially expect quick access to common actions using the keyboard. The Workbench includes an extremely flexible framework to manage actions and key bindings. This includes having locale- or function-grouped key binding configurations and key bindings that apply to only certain parts of the application.

You can add key bindings for all Hyperbola actions since there aren’t that many. In general, however, you have to carefully select the actions to bind to key sequences. One rule of thumb comes from the observation that toolbars also contain frequently used actions. As such, consider providing ...

Get Eclipse Rich Client Platform, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.