Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2007-08-29 16:19:32 +0000
committerMichael Rennie2007-08-29 16:19:32 +0000
commit6e113e347fb45e9e9aa4345f0348f98670cfcd00 (patch)
tree263a35e78c8ab75ee1ec0dd19009e3a9dc5e25d6 /org.eclipse.debug.ui/schema
parent0a6ab319e408aceccb72d345f6357fb336f7df06 (diff)
downloadeclipse.platform.debug-6e113e347fb45e9e9aa4345f0348f98670cfcd00.tar.gz
eclipse.platform.debug-6e113e347fb45e9e9aa4345f0348f98670cfcd00.tar.xz
eclipse.platform.debug-6e113e347fb45e9e9aa4345f0348f98670cfcd00.zip
Bug 181204 [launching] context launching of non-resource based objects
Diffstat (limited to 'org.eclipse.debug.ui/schema')
-rw-r--r--org.eclipse.debug.ui/schema/launchShortcuts.exsd6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/schema/launchShortcuts.exsd b/org.eclipse.debug.ui/schema/launchShortcuts.exsd
index 5b3686a13..cbe575c36 100644
--- a/org.eclipse.debug.ui/schema/launchShortcuts.exsd
+++ b/org.eclipse.debug.ui/schema/launchShortcuts.exsd
@@ -75,6 +75,8 @@ appears in the run and/or debug cascade menus to launch the workbench selection
<documentation>
specifies the fully qualified name of a class which implements
&lt;code&gt;org.eclipse.debug.ui.ILaunchShortcut&lt;/code&gt;.
+
+New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortcut2&lt;/code&gt; to participate in context sensitive launching of resource and non-resource based artifacts.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.debug.ui.ILaunchShortcut"/>
@@ -137,6 +139,9 @@ appears in the run and/or debug cascade menus to launch the workbench selection
<element name="perspective">
<annotation>
+ <appInfo>
+ <meta.element deprecated="true"/>
+ </appInfo>
<documentation>
The &lt;code&gt;perspective&lt;/code&gt; element has been &lt;b&gt;deprecated&lt;/b&gt; in the 3.1 release. The top level Run/Debug/Profile cascade menus now support contextual (selection sensitive) launching, and clients should provide a &lt;code&gt;contextualLaunch&lt;/code&gt; element instead.
</documentation>
@@ -315,6 +320,7 @@ For more information on property testers see &lt;code&gt;org.eclipse.core.expres
&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;.
+New in 3.4, clients can implement &lt;code&gt;org.eclipse.debug.ui.ILaunchShortcut2&lt;/code&gt; to participate in context sensitive launching of resource and non-resource based artifacts.
&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.

Back to the top