From 6e113e347fb45e9e9aa4345f0348f98670cfcd00 Mon Sep 17 00:00:00 2001 From: Michael Rennie Date: Wed, 29 Aug 2007 16:19:32 +0000 Subject: Bug 181204 [launching] context launching of non-resource based objects --- org.eclipse.debug.ui/schema/launchShortcuts.exsd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'org.eclipse.debug.ui/schema') 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 specifies the fully qualified name of a class which implements <code>org.eclipse.debug.ui.ILaunchShortcut</code>. + +New in 3.4, clients can implement <code>org.eclipse.debug.ui.ILaunchShortcut2</code> to participate in context sensitive launching of resource and non-resource based artifacts. @@ -137,6 +139,9 @@ appears in the run and/or debug cascade menus to launch the workbench selection + + + The <code>perspective</code> element has been <b>deprecated</b> in the 3.1 release. The top level Run/Debug/Profile cascade menus now support contextual (selection sensitive) launching, and clients should provide a <code>contextualLaunch</code> element instead. @@ -315,6 +320,7 @@ For more information on property testers see <code>org.eclipse.core.expres <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>. +New in 3.4, clients can implement <code>org.eclipse.debug.ui.ILaunchShortcut2</code> to participate in context sensitive launching of resource and non-resource based artifacts. </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. -- cgit v1.2.3