Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2009-03-05 19:57:30 +0000
committerDarin Wright2009-03-05 19:57:30 +0000
commitfaa872d42c3d5a2a4a02f78fef940c49414368bf (patch)
tree1c414cd594728e64bf1a818a71202a9684e6da0e /org.eclipse.debug.ui/schema
parent34edfeb71b712625712e3f7e59d6ddca7510df96 (diff)
downloadeclipse.platform.debug-faa872d42c3d5a2a4a02f78fef940c49414368bf.tar.gz
eclipse.platform.debug-faa872d42c3d5a2a4a02f78fef940c49414368bf.tar.xz
eclipse.platform.debug-faa872d42c3d5a2a4a02f78fef940c49414368bf.zip
Bug 262811 - [breadcrumb] Provide action to setup debugging in other perspectives
Diffstat (limited to 'org.eclipse.debug.ui/schema')
-rw-r--r--org.eclipse.debug.ui/schema/contextViewBindings.exsd60
1 files changed, 47 insertions, 13 deletions
diff --git a/org.eclipse.debug.ui/schema/contextViewBindings.exsd b/org.eclipse.debug.ui/schema/contextViewBindings.exsd
index f8d8bc2ad..13e3d9a72 100644
--- a/org.eclipse.debug.ui/schema/contextViewBindings.exsd
+++ b/org.eclipse.debug.ui/schema/contextViewBindings.exsd
@@ -2,18 +2,24 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.debug.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.debug.ui" id="contextViewBindings" name="Context View Bindings"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point provides a mechanism for associating a view with a context identifier. When a context is activated by the Debug view, views associated with it (and also views associated with any parent contexts) are opened, closed, or activated. Contributors have the option to override the automatic open and close behavior.
</documentation>
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="contextViewBinding" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="perspective" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
@@ -46,20 +52,20 @@
<documentation>
Specifies the context identifier that this binding is for.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.contexts/context/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="viewId" type="string" use="required">
<annotation>
<documentation>
Specifies the identifier of the view which should be associated with the specified context. When the specified context is enabled, this view will be automatically brought to the front. When elements are selected in the Debug view, contexts associated with those elements (as specified by extensions of the debugModelContextBindings extension point) are automatically enabled.
-Note that this only occurs in perspectives for which the user has requested &quot;automatic view management&quot; via the preferences (by default, only in the Debug perspective).
+Note that this only occurs in perspectives which are specified by the perspective elements, or for which the user has requested &quot;automatic view management&quot; via the preferences.
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.views/view/@id"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="autoOpen" type="boolean">
@@ -80,19 +86,39 @@ Specifies whether the view should be automatically closed when the given context
</complexType>
</element>
+ <element name="perspective">
+ <annotation>
+ <documentation>
+ Specifies a perspective in which the view management will be enabled.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="perspectiveId" type="string">
+ <annotation>
+ <documentation>
+ Identifier of the perspective in which to enable view management.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.perspectives/perspective/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="since"/>
- </appinfo>
+ </appInfo>
<documentation>
3.0
</documentation>
</annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="examples"/>
- </appinfo>
+ </appInfo>
<documentation>
The following is an example of a context view binding contribution:
&lt;pre&gt;
@@ -110,12 +136,20 @@ In the above example, when a context with the specified identifier is activated
</documentation>
</annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="apiinfo"/>
+ </appInfo>
+ <documentation>
+ Since 3.5 , the &lt;samp&gt;perspective&lt;/samp&gt; element can be used to spectify a perspectives in which to enable view management. A product or the user override this setting, by specifying the &lt;samp&gt;org.eclipse.debug.ui.manage_view_perspectives&lt;/samp&gt; preference with a comma-delimited set of perspective IDs.
+ </documentation>
+ </annotation>
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="copyright"/>
- </appinfo>
+ </appInfo>
<documentation>
Copyright (c) 2003, 2005 IBM Corporation and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials are made

Back to the top