diff options
Diffstat (limited to 'bundles/org.eclipse.compare/plugins/org.eclipse.compare/schema/contentViewers.exsd')
-rw-r--r-- | bundles/org.eclipse.compare/plugins/org.eclipse.compare/schema/contentViewers.exsd | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/schema/contentViewers.exsd b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/schema/contentViewers.exsd index 7c66d4b35..99850abfc 100644 --- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/schema/contentViewers.exsd +++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/schema/contentViewers.exsd @@ -17,6 +17,7 @@ However since viewers don't have a default constructor the extension point <complexType> <sequence> <element ref="viewer" minOccurs="0" maxOccurs="unbounded"/> + <element ref="contentTypeBinding" minOccurs="0" maxOccurs="unbounded"/> </sequence> <attribute name="point" type="string" use="required"> <annotation> @@ -54,16 +55,15 @@ However since viewers don't have a default constructor the extension point <attribute name="class" type="string" use="required"> <annotation> <documentation> - name of a class that implements a factory for the -content merge viewer and implements -<samp>org.eclipse.compare.IViewerCreator</samp> + a fully qualified name of a class that implements a factory for the +content viewer and implements <samp>org.eclipse.compare.IViewerCreator</samp> </documentation> <appInfo> <meta.attribute kind="java" basedOn="org.eclipse.jface.viewers.Viewer:org.eclipse.compare.IViewerCreator"/> </appInfo> </annotation> </attribute> - <attribute name="extensions" type="string" use="required"> + <attribute name="extensions" type="string"> <annotation> <documentation> a comma separated list of file extensions e.g. "java, gif" @@ -73,6 +73,25 @@ content merge viewer and implements </complexType> </element> + <element name="contentTypeBinding"> + <complexType> + <attribute name="contentTypeId" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="contentViewerId" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> + <annotation> <appInfo> <meta.section type="examples"/> |