diff options
author | Darin Wright | 2004-11-12 19:47:53 +0000 |
---|---|---|
committer | Darin Wright | 2004-11-12 19:47:53 +0000 |
commit | 5eea0fd6049a5aa319fe82b58e12ad2fffe2fc69 (patch) | |
tree | de422ba2782d2cb51f8e4de7a4dcb5c96b2e66cd /org.eclipse.debug.ui/schema/launchShortcuts.exsd | |
parent | d9f876e51eedf394cbea67fbda2ae5dda87a4c80 (diff) | |
download | eclipse.platform.debug-5eea0fd6049a5aa319fe82b58e12ad2fffe2fc69.tar.gz eclipse.platform.debug-5eea0fd6049a5aa319fe82b58e12ad2fffe2fc69.tar.xz eclipse.platform.debug-5eea0fd6049a5aa319fe82b58e12ad2fffe2fc69.zip |
Bug 29581 - Launch shortcut hotkeys
Diffstat (limited to 'org.eclipse.debug.ui/schema/launchShortcuts.exsd')
-rw-r--r-- | org.eclipse.debug.ui/schema/launchShortcuts.exsd | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/schema/launchShortcuts.exsd b/org.eclipse.debug.ui/schema/launchShortcuts.exsd index 53c3b3a5f..8a52a8772 100644 --- a/org.eclipse.debug.ui/schema/launchShortcuts.exsd +++ b/org.eclipse.debug.ui/schema/launchShortcuts.exsd @@ -218,8 +218,29 @@ In the above example, a launch shortcut will be shown in the run and debug casca <meta.section type="apiInfo"/> </appInfo> <documentation> - Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the + <p> +Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.debug.ui.ILaunchShortcut</b>. +</p> +<p> +Since 3.1, the debug platform registers a command handler for each launch shortcut and its applicable modes to allow clients to define key-bindings for a launch shortcut. The command id for a handler is generated as the launch shortcut id attribute, followed by a dot and the applicable launch mode. For example, the command id for the above launch shortcut example would be <code>com.example.ExampleLaunchShortcutId.debug</code> for launching in debug mode. A command and key binding could be defined as follows, to bind "<code>ALT-SHIFT-D, E</code>" to the launch shortcut. +<pre> + <extension point="org.eclipse.ui.commands"> + <command + name="Debug Example Launch" + description="Debug Example Launch" + categoryId="org.eclipse.debug.ui.category.run" + id="com.example.ExampleLaunchShortcutId.debug"> + </command> + <keyBinding + keySequence="M3+M2+D E" + contextId="org.eclipse.ui.globalScope" + commandId="com.example.ExampleLaunchShortcutId.debug" + keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration"> + </keyBinding> + </extension> +</pre> +</p> </documentation> </annotation> |