Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Riena/Key Bindings"
(New page: = 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 p...) |
(→Riena Key Bindings) |
||
Line 26: | Line 26: | ||
'''References''' | '''References''' | ||
− | * Basic workbench extension points using commands | + | * [http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_cmd_bindings.htm Basic workbench extension points using commands] |
− | * Schemes | + | * [http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/guide/wrkAdv_keyBindings.htm Schemes] |
− | + | * [http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_bindings.html org.eclipse.ui.bindings extension point] | |
− | * [http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_bindings.html org.eclipse.ui.bindings | + | * [http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/guide/wrkAdv_keyBindings.htm Contexts and key bindings] |
− | * [http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_contexts.html | + | * [http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_contexts.html org.eclipse.ui.contexts extension point] |
== Default Riena Key Bindings == | == Default Riena Key Bindings == |
Revision as of 14:31, 6 October 2009
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.