Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2004-11-12 19:47:53 +0000
committerDarin Wright2004-11-12 19:47:53 +0000
commit5eea0fd6049a5aa319fe82b58e12ad2fffe2fc69 (patch)
treede422ba2782d2cb51f8e4de7a4dcb5c96b2e66cd /org.eclipse.debug.ui/schema/launchShortcuts.exsd
parentd9f876e51eedf394cbea67fbda2ae5dda87a4c80 (diff)
downloadeclipse.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.exsd23
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 &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the
+ &lt;p&gt;
+Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the
interface &lt;b&gt;org.eclipse.debug.ui.ILaunchShortcut&lt;/b&gt;.
+&lt;/p&gt;
+&lt;p&gt;
+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 &lt;code&gt;com.example.ExampleLaunchShortcutId.debug&lt;/code&gt; for launching in debug mode. A command and key binding could be defined as follows, to bind &quot;&lt;code&gt;ALT-SHIFT-D, E&lt;/code&gt;&quot; to the launch shortcut.
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.ui.commands&quot;&gt;
+ &lt;command
+ name=&quot;Debug Example Launch&quot;
+ description=&quot;Debug Example Launch&quot;
+ categoryId=&quot;org.eclipse.debug.ui.category.run&quot;
+ id=&quot;com.example.ExampleLaunchShortcutId.debug&quot;&gt;
+ &lt;/command&gt;
+ &lt;keyBinding
+ keySequence=&quot;M3+M2+D E&quot;
+ contextId=&quot;org.eclipse.ui.globalScope&quot;
+ commandId=&quot;com.example.ExampleLaunchShortcutId.debug&quot;
+ keyConfigurationId=&quot;org.eclipse.ui.defaultAcceleratorConfiguration&quot;&gt;
+ &lt;/keyBinding&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
</documentation>
</annotation>

Back to the top