| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <plugin> |
| <extension point="org.eclipse.ui.editors.templates"> |
| <contextType |
| class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML" |
| id="xsl_xpath" |
| name="xpath"> |
| </contextType> |
| <contextType |
| class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML" |
| id="xpath_2" |
| name="xpath 2.0"> |
| </contextType> |
| <contextType |
| class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML" |
| id="xpath_operator" |
| name="operator"> |
| </contextType> |
| <contextType |
| class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML" |
| id="extension_function" |
| name="custom"> |
| </contextType> |
| <include file="templates/file_templates.xml"/> |
| <include |
| file="templates/xpath_templates.xml"> |
| </include> |
| <include |
| file="templates/xpath_operator_templates.xml"> |
| </include> |
| <contextType |
| class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML" |
| id="exslt_function" |
| name="exslt"> |
| </contextType> |
| </extension> |
| <extension |
| point="org.eclipse.ui.preferencePages"> |
| <page |
| category="org.eclipse.wst.xml.ui.preferences.xml" |
| class="org.eclipse.wst.xsl.internal.ui.preferences.MainPreferencePage" |
| id="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage" |
| name="%page.name.0"/> |
| <page |
| category="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage" |
| class="org.eclipse.wst.xsl.internal.ui.preferences.XSLTemplatePreference" |
| id="org.eclipse.wst.xsl.ui.XPath" |
| name="XPath Templates"> |
| <keywordReference |
| id="org.eclipse.wst.xsl.ui.templates"> |
| </keywordReference> |
| </page> |
| </extension> |
| <extension |
| point="org.eclipse.ui.perspectives"> |
| <perspective |
| class="org.eclipse.wst.xsl.internal.perspective.XMLPerspectiveFactory" |
| icon="icons/XMLFile.gif" |
| id="org.eclipse.wst.xsl.ui.perspective" |
| name="%perspectiveName"> |
| </perspective> |
| </extension> |
| <extension |
| point="org.eclipse.wst.sse.ui.editorConfiguration"> |
| <sourceViewerConfiguration |
| class="org.eclipse.wst.xsl.internal.ui.StructuredTextViewerConfigurationXSL" |
| target="org.eclipse.wst.xml.core.xslsource"> |
| </sourceViewerConfiguration> |
| </extension> |
| </plugin> |