| <?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="extendedconfiguration" name="Extended 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.
|
| </documentation>
|
| </annotation>
|
|
|
| <element name="extension">
|
| <complexType>
|
| <any>
|
| <element name="textviewerconfiguration" />
|
| <element name="contentoutlineconfiguration" />
|
| <element name="propertysheetconfiguration" />
|
| <element name="sourceeditingtexttools" />
|
| <element name="spellchecktarget" />
|
| <element name="preferencepages" />
|
| </any>
|
| <attribute name="point" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="id" type="string">
|
| <annotation>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="name" type="string">
|
| <annotation>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="textviewerconfiguration">
|
| <annotation>
|
| <documentation>
|
| The subclass of org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration to use.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A class with a null constructor fulfilling the requirements of the functionname.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="contentoutlineconfiguration">
|
| <annotation>
|
| <documentation>
|
| The subclass of org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration to use.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A class with a null constructor fulfilling the requirements of the functionname.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="propertysheetconfiguration">
|
| <annotation>
|
| <documentation>
|
| The subclass of org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration to use.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A class with a null constructor fulfilling the requirements of the functionname.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="sourceeditingtexttools">
|
| <annotation>
|
| <documentation>
|
| The implementor of org.eclipse.wst.sse.ui.extensions.breakpoint.SourceEditingTextTools to provide.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A class with a null constructor fulfilling the requirements of the functionname.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="spellchecktarget">
|
| <annotation>
|
| <documentation>
|
| The implementor of org.eclipse.wst.sse.ui.extensions.spellcheck.SpellCheckTarget to use.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A class with a null constructor fulfilling the requirements of the functionname.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="characterpairmatcher">
|
| <annotation>
|
| <documentation>
|
| The implementor of org.eclipse.jface.text.source.ICharacterPairMatcher to use in the source viewer decoration support.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A class with a null constructor that implements org.eclipse.jface.text.source.ICharacterPairMatcher.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="preferencepages">
|
| <annotation>
|
| <documentation>
|
| The list of Preference page IDs to show for the editor's Preferences.
|
| </documentation>
|
| </annotation>
|
| <complexType>
|
| <attribute name="preferenceids" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A fully qualified preference page ID path.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="target" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| A string defining when to use this extension, usually an Editor ID or SSE Content Type. Multiple targets may be given as a comma delimited value.
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="since"/>
|
| </appInfo>
|
| <documentation>
|
| 3.0
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="examples"/>
|
| </appInfo>
|
| <documentation>
|
| <pre> |
| <extension point="org.eclipse.wst.sse.ui.extendedconfiguration"> |
| |
| <!-- associating to an input's Content Type--> |
| <textviewerconfiguration |
| class="org.eclipse.wst.sse.ui.html.StructuredTextViewerConfigurationHTML" |
| target="org.eclipse.wst.sse.contenttype.html"/> |
| |
| <!-- associating to multiple editor IDs --> |
| <contentoutlineconfiguration |
| class="org.eclipse.wst.sse.ui.xml.views.contentoutline.XMLContentOutlineConfiguration" |
| target="org.eclipse.wst.sse.ui.xml.StructuredTextEditorXML, org.eclipse.wst.xmleditor.internal.XMLMultiPageEditorPart"/> |
| |
| <!-- associating to multiple Content Types --> |
| <propertysheetconfiguration |
| class="org.eclipse.wst.sse.ui.xml.views.properties.XMLPropertySheetConfiguration" |
| target="org.eclipse.wst.sse.contenttype.xml, org.eclipse.wst.sse.contenttype.html, org.eclipse.wst.sse.contenttype.jsp"/> |
| |
| </extension> |
| </pre>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="apiInfo"/>
|
| </appInfo>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="implementation"/>
|
| </appInfo>
|
| <documentation>
|
| <br> |
| <code>org.eclipse.wst.sse.ui.extension.ExtendedConfigurationBuilder</code> is responsible for creating the extension objects as requested. New instances are returned for each request that succeeds. Invalid function names and targets will return null. The <code>StructuredTextEditor</code> will automatically try targets generated by <code>org.eclipse.wst.sse.ui.extensions.ConfigurationPointCalculator</code> according to where the <code>StructuredTextEditor</code> finds itself at runtime. <code>ConfigurationPointCalculator</code> ensures that the targets are always searched in a specific and predictable order. The following table lists the functionalities currenty in use: |
| <p> |
| <table border="1"> |
| <tbody valign="top"> |
| <tr><td><b>Functionality names</b></td><td><b>Implementation requirement</b></td><td><b>Responsibilities</b></td></tr> |
| <tr><td>textviewerconfiguration</td><td>Must subclass <code>org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration</code></td><td>Defines the source viewer configuration to use, affecting Highlighting, Formatting, Content Assist, Hover help, and more.</td></tr> |
| <tr><td>contentoutlineconfiguration</td><td>Must subclass <code>org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration</code></td><td>Defines how the IStructuredModel for the editor's input maps to elements with a Tree control, as well as selection filtering, toolbar and menu contributions, etc.</td></tr> |
| <tr><td>propertysheetconfiguration</td><td>Must subclass <code>org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration</code></td><td>Defines the Property Source Provider, toolbar contributions, etc.</td></tr> |
| <tr><td>sourceeditingtexttools</td><td>Must implement <code>org.eclipse.wst.sse.ui.extensions.breakpoint.SourceEditingTextTools</code></td><td>Provides DOM to text and positional mapping information for use when setting and clearing breakpoints.</td></tr> |
| <tr><td>spellchecktarget</td><td>Must implement <code>org.eclipse.wst.sse.ui.extensions.spellcheck.SpellCheckTarget</code></td><td>Provides targetting information for the IBM eTools Spell Checker</td></tr> |
| </tbody> |
| </table></p>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="copyright"/>
|
| </appInfo>
|
| <documentation>
|
|
|
| </documentation>
|
| </annotation>
|
|
|
| </schema>
|