Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2006-12-20 17:13:37 +0000
committerMichael Rennie2006-12-20 17:13:37 +0000
commit09712c232c9d18603ffde687170ac3c88843aca2 (patch)
tree0c73330560ce54f3fa495e2f1ddbd3817f591623 /org.eclipse.debug.core/schema
parent4ab5c9801b83c4102030dd324ce476c7e843ad6f (diff)
downloadeclipse.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.exsd26
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 &lt;code&gt;launchDeleaget&lt;/code&gt; 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 &lt;code&gt;launchDeleaget&lt;/code&gt; elemen
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.debug.core.launchDelegates&quot;&gt;
&lt;launchDelegate
- id=&quot;com.example.ExampleProfileDelegate&quot;
- delegate=&quot;com.example.ExampleProfileDelegate&quot;
- type=&quot;org.eclipse.jdt.launching.localJavaApplication&quot;
- name=&quot;Eclipse JDT Java Profile Tooling&quot;&gt;
+ id=&quot;com.example.ExampleProfileDelegate&quot;
+ delegate=&quot;com.example.ExampleProfileDelegate&quot;
+ type=&quot;org.eclipse.jdt.launching.localJavaApplication&quot;
+ name=&quot;Eclipse JDT Java Profile Tooling&quot;&gt;
+ &lt;modeCombination
+ modes=&quot;run, profile&quot;&gt;
+ perspective=&quot;com.example.Perspective&quot;&gt;
+ &lt;/modeCombination&gt;
+ &lt;modeCombination modes=&quot;debug, profile, coverage&quot;&gt;&lt;/modeCombination&gt;
&lt;/launchDelegate&gt;
- &lt;modeCombination modes=&quot;run, profile&quot;&gt;&lt;/modeCombination&gt;
- &lt;modeCombination modes=&quot;debug, profile, coverage&quot;&gt;&lt;/modeCombination&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
-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>

Back to the top