blob: bb52e9d8dbb858fc176fd787e756342e2c1b6de2 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ui.views">
<category
name="%xmlCategoryName"
id="org.eclipse.wst.xml"/>
<view
category="org.eclipse.wst.xml"
class="org.eclipse.wst.xml.xpath.ui.internal.views.XPathView"
icon="$nl$/icons/full/xpath.gif"
id="org.eclipse.wst.xml.views.XPathView"
name="%xpathViewName"/>
</extension>
<!-- Addition to the XML perspective -->
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="org.eclipse.wst.xml.ui.perspective">
<!-- ProjectExplorer on the left, XPath on the "bottom left" -->
<view id="org.eclipse.wst.xml.views.XPathView" relative="org.eclipse.ui.navigator.ProjectExplorer" relationship="bottom" ratio="0.55" />
<viewShortcut id="org.eclipse.wst.xml.views.XPathView"/>
</perspectiveExtension>
</extension>
<!-- XPath templates -->
<extension point="org.eclipse.ui.editors.templates">
<contextType
class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
id="xpath_axis" name="%contextType.axis">
</contextType>
<contextType
class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
id="exslt_function" name="%contextType.exslt">
</contextType>
<contextType
class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
id="xsl_xpath" name="%contextType.xpath">
</contextType>
<contextType
class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
id="xpath_2" name="%contextType.xpath2o">
</contextType>
<contextType
class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
id="xpath_operator" name="%contextType.operator">
</contextType>
<contextType
class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
id="extension_function" name="%contextType.custom">
</contextType>
<include file="templates/xpath_templates.xml"/>
<include file="templates/xpath_operator_templates.xml"/>
<include file="templates/xpath_axis_templates.xml"/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.wst.xml.ui.preferences.xml"
class="org.eclipse.wst.xml.xpath.ui.internal.preferences.XPathPrefencePage"
id="org.eclipse.wst.xml.xpath.ui.XPathPreferencePage"
name="%pageNameXpath">
</page>
<page category="org.eclipse.wst.xml.xpath.ui.XPathPreferencePage"
class="org.eclipse.wst.xml.xpath.ui.internal.preferences.XPathTemplatePreferencePage"
id="org.eclipse.wst.xsl.ui.XPath"
name="%pagenameXPathTemplates">
</page>
</extension>
</plugin>