Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Riena/Key Bindings
Contents
Riena Key Bindings
This document provides an introduction to key binding definition in Eclipse, lists the default Riena key bindings, explains how to best extend or replace them and provides migration instructions from Riena 1.1.
Intro to Key Bindings
Key bindings are defined using the org.eclipse.ui.bindings Extension Point (details). A key binding assigns a key sequence (F10) to a command (what to do) in a given scheme and context:
<extension point="org.eclipse.ui.bindings"> <scheme id="my.key.bindings" name="My Key Bindings" parentId="org.eclipse.riena.ui.defaultBindings"> </scheme> <key commandId="org.eclipse.riena.example.client.exitCommand" contextId="org.eclipse.ui.contexts.window" schemeId="my.key.bindings" sequence="F10"> </key> </extension>
References
- Basic workbench extension points using commands
- Schemes
- org.eclipse.ui.bindings extension point
- Contexts and key bindings
- org.eclipse.ui.contexts extension point
Default Riena Key Bindings
Starting with Riena 1.2 a Riena application has the following standard key bindings (unless changed by the developer):
- Next SubApplication - Ctrl+PgDn
- Previous SubApplication - Ctrl+PgUp
- Focus on Navigation Tree - F6
- Focus on Workarea - F7
- Focus on Window Menu - F10 (windows only)
- Focus on Window Toolbar - F10; Tab (windows only)
- Close Module - Ctrl+W
- Close Module Group - Ctrl+Shift+W
- Next Module/ModuleGroup - Ctrl+Down
- Prev Module/ModuleGroup - Ctrl+Up
- Next/Previous navigation element: Arrow Down / Arrow Up. This will move to the next available SubModule / Module or Module Group.
- Quit Application - Alt+F4 (windows only)
These key bindings are assigned to the scheme org.eclipse.riena.ui.defaultBindings, which is the default active scheme for Riena apps. The are also assigned to the context org.eclipse.ui.contexts.window, which means they are only active when the window has the focus, not in dialogs.