Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTod Creasey2007-10-01 13:59:48 +0000
committerTod Creasey2007-10-01 13:59:48 +0000
commitc5a8c943f5e7d4f19f6870a546e2afd522259cff (patch)
treea49c378a5a808c3b45fa06fa127b837ac76e9379 /bundles/org.eclipse.ui.ide/schema
parent9d50cfe53616923926007bbc6d9c39c98e3caf7b (diff)
downloadeclipse.platform.ui-c5a8c943f5e7d4f19f6870a546e2afd522259cff.tar.gz
eclipse.platform.ui-c5a8c943f5e7d4f19f6870a546e2afd522259cff.tar.xz
eclipse.platform.ui-c5a8c943f5e7d4f19f6870a546e2afd522259cff.zip
Fix for Bug 205049 Other plug-ins should be able to define default content generator
Diffstat (limited to 'bundles/org.eclipse.ui.ide/schema')
-rw-r--r--bundles/org.eclipse.ui.ide/schema/markerSupport.exsd32
1 files changed, 25 insertions, 7 deletions
diff --git a/bundles/org.eclipse.ui.ide/schema/markerSupport.exsd b/bundles/org.eclipse.ui.ide/schema/markerSupport.exsd
index 5fe5afd6247..0a2895d5d53 100644
--- a/bundles/org.eclipse.ui.ide/schema/markerSupport.exsd
+++ b/bundles/org.eclipse.ui.ide/schema/markerSupport.exsd
@@ -20,6 +20,7 @@
<element ref="markerAttributeGrouping" minOccurs="0" maxOccurs="unbounded"/>
<element ref="markerContentGenerator" minOccurs="0" maxOccurs="unbounded"/>
<element ref="markerField" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="markerContentPerspectiveMapping" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
@@ -358,13 +359,6 @@ The markerSupportReferences in a markerContentGenerator are for references to ma
</appInfo>
</annotation>
</attribute>
- <attribute name="defaultForPerspective" type="string">
- <annotation>
- <documentation>
- If defaultForPerspective is set this generator will be the default for the perspective that matches id. If more than one generator sets itself to be the default for the same perspective the match will be non-deterministic.
- </documentation>
- </annotation>
- </attribute>
<attribute name="defaultMarkerGrouping" type="string">
<annotation>
<documentation>
@@ -563,6 +557,30 @@ If this value is not set the value is ON_ANY
</complexType>
</element>
+ <element name="markerContentPerspectiveMapping">
+ <annotation>
+ <documentation>
+ The markerContentPerspectiveMapping is a mapping from a perspective to a contentGenerator. This mapping specifies the default markerContentGenerator for a perspective.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="markerContentGenerator" type="string" use="required">
+ <annotation>
+ <documentation>
+ The markerContentGenerator that is to be used.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="perspectiveId" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of the perspective this binding is for.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
<annotation>
<appInfo>
<meta.section type="since"/>

Back to the top