From 3deb7efd0af505da4f7e7fc2d6f1bc410dcefc06 Mon Sep 17 00:00:00 2001 From: Darin Wright Date: Thu, 19 Oct 2006 21:37:53 +0000 Subject: Bug 157059 [launching] extensible launch options --- org.eclipse.debug.core/schema/launchDelegates.exsd | 23 +--- org.eclipse.debug.core/schema/launchOptions.exsd | 136 --------------------- 2 files changed, 4 insertions(+), 155 deletions(-) delete mode 100644 org.eclipse.debug.core/schema/launchOptions.exsd (limited to 'org.eclipse.debug.core/schema') diff --git a/org.eclipse.debug.core/schema/launchDelegates.exsd b/org.eclipse.debug.core/schema/launchDelegates.exsd index 45a428e4a..06f39c46d 100644 --- a/org.eclipse.debug.core/schema/launchDelegates.exsd +++ b/org.eclipse.debug.core/schema/launchDelegates.exsd @@ -114,7 +114,7 @@ Launch configuration instances of this delegate's type will delegate to ins - A comma-separated list of the launch options this launch delegate supports. This attribute was added in the 3.3 release. + A comma-separated list of launch modes this launch delegate supports in combination with its supported modes. This attribute was added in the 3.3 release to allow configurations to be launched in a mixed mode. <p> <strong>EXPERIMENTAL</strong>. This attribute has been added as @@ -151,30 +151,15 @@ without consulting with the Platform/Debug team. id="com.example.ExampleProfileDelegate" delegate="com.example.ExampleProfileDelegate" type="org.eclipse.jdt.launching.localJavaApplication" - modes="profile"> + modes="profile" + options"run, debug"> </launchDelegate> </extension> </pre> </p> -In the example above, the specified launch delegate is contributed to launch Java applications in profile mode. +In the example above, the specified launch delegate is contributed to launch Java applications in profile mode. The delegate supports mixed mode launching. The delegate supports profiling when launching in run or debug mode. -The previous example has been deprecated as of 3.3M3, but left in for brevity. See the following example for new usage. - -<p> -<pre> -<extension point="org.eclipse.debug.core.launchDelegates"> - <launchDelegate - delegate="org.eclipse.jdt.launching.JavaLaunchDelegate" - id="org.eclipse.jdt.launching.JavaLaunchDelegate" - type="org.eclipse.jdt.launching.localJavaApplication" - modes="profile"> - </launchDelegate> - </extension> -</pre> -</p> - -In 3.3 mode-based launching has been deprecated, and in its place we have provided launching with options. Options are contributed via the <code>launchOptions</code> extension point and can be referenced here to describe what options your launch delegate supports. Options are further arranged in the form of expressions that can be evaluated to determine suitablility of your delegate for a variety of combinations of options. diff --git a/org.eclipse.debug.core/schema/launchOptions.exsd b/org.eclipse.debug.core/schema/launchOptions.exsd deleted file mode 100644 index 0e829c97e..000000000 --- a/org.eclipse.debug.core/schema/launchOptions.exsd +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - This extension point is used to contribute launch options to the launch manager. -Launch options are used as modifiers when executing a launch configuration. - -<p><strong>EXPERIMENTAL</strong>. This method has been added as -part of a work in progress. There is no guarantee that this API will -remain unchanged during the 3.3 release cycle. Please do not use this API -without consulting with the Platform/Debug team.</p> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A human readable label for the option e.g. Debug - - - - - - - - - - this is a unique id for the launch option e.g. org.eclipse.debug.debugLaunchOption - - - - - - - - - - - - 3.3 - - - - - - - - - <p> -<pre> - <extension point="org.eclipse.debug.core.launchOptions"> - <launchOption - id="trace" - label="Trace"> - </launchOption> - </extension> -</pre> -</p> - - - - - - - - - - - - - - - - - - - - - - - - - - - Copyright (c) 2006 IBM Corporation and others.<br> -All rights reserved. This program and the accompanying materials are made -available under the terms of the Eclipse Public License v1.0 which -accompanies this distribution, and is available at -<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - - - - -- cgit v1.2.1