blob: 6f6c94996e1057f6729aeaa5d5fc9e2ed48c8d6b [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.wst.sse.ui">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.wst.sse.ui" id="editorConfiguration" name="Editor Configuration"/>
</appInfo>
<documentation>
The SSE StructuredTextEditor is intended to be as flexible as possible. Much of its design centers around the notion of defining and redefining its behavior and appearance based on the content type of its input. This extension point allows clients to provide an editor configuration to the StructuredTextEditor without having to subclass the editor.
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="sourceViewerConfiguration" minOccurs="0" maxOccurs="unbounded"/>
<element ref="contentOutlineConfiguration" minOccurs="0" maxOccurs="unbounded"/>
<element ref="propertySheetConfiguration" minOccurs="0" maxOccurs="unbounded"/>
<element ref="provisionalConfiguration" minOccurs="0" maxOccurs="unbounded"/>
<element ref="provisionalDefinition" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
a fully qualified identifier of the target extension point
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
an optional identifier of the extension instance
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
an optional name of the extension instance
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="sourceViewerConfiguration">
<annotation>
<documentation>
Defines the source viewer configuration, affecting syntax highlighting, content assist, hover help, and more in the current editor.
</documentation>
</annotation>
<complexType>
<attribute name="target" type="string" use="required">
<annotation>
<documentation>
A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Must subclass org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration
</documentation>
<appInfo>
<meta.attribute kind="java"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="contentOutlineConfiguration">
<annotation>
<documentation>
Defines how the current editor&apos;s input maps to elements with in a Tree control, as well as selection filtering, toolbar and menu contributions, etc in the Outline view.
</documentation>
</annotation>
<complexType>
<attribute name="target" type="string" use="required">
<annotation>
<documentation>
A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Must subclass org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration
</documentation>
<appInfo>
<meta.attribute kind="java"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertySheetConfiguration">
<annotation>
<documentation>
Defines how the current editor&apos;s input maps to properties in a Table control, as well as toolbar contributions, etc in the Properties view.
</documentation>
</annotation>
<complexType>
<attribute name="target" type="string" use="required">
<annotation>
<documentation>
A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Must subclass org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration
</documentation>
<appInfo>
<meta.attribute kind="java"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="provisionalConfiguration">
<annotation>
<documentation>
Declares a class fulfilling the requirements of a type to be used for the given target(s).
Note: this is not API and is only used for provisional configuration types.
</documentation>
</annotation>
<complexType>
<attribute name="target" type="string" use="required">
<annotation>
<documentation>
A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value.
</documentation>
</annotation>
</attribute>
<attribute name="type" type="string" use="required">
<annotation>
<documentation>
The type of configuration to find.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Implementation class for this type.
</documentation>
<appInfo>
<meta.attribute kind="java"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="provisionalDefinition">
<annotation>
<documentation>
Defines a value for a type to be used for the given target(s).
Note: this is not API and is only used for provisional configuration types.
</documentation>
</annotation>
<complexType>
<attribute name="type" type="string" use="required">
<annotation>
<documentation>
The type of definition to find.
</documentation>
</annotation>
</attribute>
<attribute name="value" type="string">
<annotation>
<documentation>
The value of this definition.
</documentation>
</annotation>
</attribute>
<attribute name="target" type="string" use="required">
<annotation>
<documentation>
A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
1.0
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.wst.sse.ui.editorConfiguration&quot;&gt;
&lt;!-- associating a source viewer configuration to an input&apos;s content type--&gt;
&lt;sourceViewerConfiguration
class=&quot;org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML&quot;
target=&quot;org.eclipse.wst.html.core.htmlsource&quot;/&gt;
&lt;!-- associating an outline configuration to an input&apos;s content type --&gt;
&lt;contentOutlineConfiguration
class=&quot;org.eclipse.wst.sse.xml.ui.views.contentoutline.XMLContentOutlineConfiguration&quot;
target=&quot;org.eclipse.core.runtime.xml&quot;/&gt;
&lt;!-- associating a property sheet configuration to multiple content types --&gt;
&lt;propertySheetConfiguration
class=&quot;org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration&quot;
target=&quot;org.eclipse.wst.sse.contenttype.xml, org.eclipse.wst.html.core.htmlsource, org.eclipse.jst.jsp.core.jspsource&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
see &lt;code&gt;org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration&lt;/code&gt;, &lt;code&gt;org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration&lt;/code&gt;, &lt;code&gt;org.eclipse.wst.sse.ui.views.properties.StructuredPropertySheetConfiguration&lt;/code&gt;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
</schema>