diff options
author | Michael Rennie | 2006-12-20 17:13:37 +0000 |
---|---|---|
committer | Michael Rennie | 2006-12-20 17:13:37 +0000 |
commit | 09712c232c9d18603ffde687170ac3c88843aca2 (patch) | |
tree | 0c73330560ce54f3fa495e2f1ddbd3817f591623 /org.eclipse.debug.core/schema | |
parent | 4ab5c9801b83c4102030dd324ce476c7e843ad6f (diff) | |
download | eclipse.platform.debug-09712c232c9d18603ffde687170ac3c88843aca2.tar.gz eclipse.platform.debug-09712c232c9d18603ffde687170ac3c88843aca2.tar.xz eclipse.platform.debug-09712c232c9d18603ffde687170ac3c88843aca2.zip |
Bug 167031
Switching perspectives based on launch delegates
Diffstat (limited to 'org.eclipse.debug.core/schema')
-rw-r--r-- | org.eclipse.debug.core/schema/launchDelegates.exsd | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/org.eclipse.debug.core/schema/launchDelegates.exsd b/org.eclipse.debug.core/schema/launchDelegates.exsd index 170c001cc..a4e38a16a 100644 --- a/org.eclipse.debug.core/schema/launchDelegates.exsd +++ b/org.eclipse.debug.core/schema/launchDelegates.exsd @@ -46,7 +46,7 @@ </appInfo> </annotation> <complexType> - <sequence minOccurs="0" maxOccurs="unbounded"> + <sequence minOccurs="0" maxOccurs="1"> <element ref="modeCombination" minOccurs="1" maxOccurs="unbounded"/> </sequence> <attribute name="id" type="string" use="required"> @@ -148,6 +148,13 @@ Unlike the modes attribute of the <code>launchDeleaget</code> elemen </documentation> </annotation> </attribute> + <attribute name="perspective" type="string"> + <annotation> + <documentation> + a string representing the id of a persepctive to switch to when launching. This attribute was added in the 3.3 release. EXPERIMENTAL. + </documentation> + </annotation> + </attribute> </complexType> </element> @@ -171,18 +178,21 @@ Unlike the modes attribute of the <code>launchDeleaget</code> elemen <pre> <extension point="org.eclipse.debug.core.launchDelegates"> <launchDelegate - id="com.example.ExampleProfileDelegate" - delegate="com.example.ExampleProfileDelegate" - type="org.eclipse.jdt.launching.localJavaApplication" - name="Eclipse JDT Java Profile Tooling"> + id="com.example.ExampleProfileDelegate" + delegate="com.example.ExampleProfileDelegate" + type="org.eclipse.jdt.launching.localJavaApplication" + name="Eclipse JDT Java Profile Tooling"> + <modeCombination + modes="run, profile"> + perspective="com.example.Perspective"> + </modeCombination> + <modeCombination modes="debug, profile, coverage"></modeCombination> </launchDelegate> - <modeCombination modes="run, profile"></modeCombination> - <modeCombination modes="debug, profile, coverage"></modeCombination> </extension> </pre> </p> -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, with code coverage in debug mode only. +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, with code coverage in debug mode only. When the mode combination or run and profile is used, in this example, the perspective com.example.Perspective can also be opened. </documentation> </annotation> |