blob: 054e21a6b6917f2919c9fc4dbfd5afbe2527978a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<!-- JSF Project Facet -->
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.jst.jsf.ui.JSFRootPage"
class="org.eclipse.jst.jsf.ui.internal.validation.JSFValidationPreferencePage"
id="org.eclipse.jst.jsf.ui.JSFValidationPage"
name="%preferencepage.jsfvalidation.name"/>
<page
category="org.eclipse.wst.html.ui.preferences.web"
class="org.eclipse.jst.jsf.ui.internal.preferences.EmptyRootPreferencePage"
id="org.eclipse.jst.jsf.ui.JSFRootPage"
name="%preferencepage.jsf.name">
</page>
<page
category="org.eclipse.jst.jsf.ui.viewRoot"
class="org.eclipse.jst.jsf.ui.internal.preferences.JSPTagRegistryPreferencePage"
id="org.eclipse.jst.jsf.ui.jspTagRegistry"
name="%JSP_Tag_Registry_Preferences">
</page>
<page
category="org.eclipse.jst.jsf.ui.JSFRootPage"
class="org.eclipse.jst.jsf.ui.internal.preferences.EmptyRootPreferencePage"
id="org.eclipse.jst.jsf.ui.viewRoot"
name="%View_Preference_Root">
</page>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page
adaptable="true"
category="org.eclipse.wst.common.project.facet.ui.FacetsPropertyPage"
class="org.eclipse.jst.jsf.ui.internal.project.facet.JSFLibraryPropertyPage"
id="org.eclipse.jst.jsf.ui.internal.project.facet.JSFLibraryPropertyPage"
name="%jsf.library.property.page"
objectClass="org.eclipse.core.resources.IProject">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject">
<test
forcePluginActivation="true"
property="org.eclipse.wst.common.project.facet.core.projectFacet"
value="jst.jsf"/>
</adapt>
</enabledWhen>
</page>
</extension>
<extension
point="org.eclipse.wst.common.project.facet.ui.wizardPages">
<wizard-pages action="jst.jsf.v11.install">
<page class="org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage"/>
</wizard-pages>
<wizard-pages action="jst.jsf.v12.install">
<page class="org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage"/>
</wizard-pages>
<wizard-pages
action="jst.jsf.v20.install">
<page
class="org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage">
</page>
</wizard-pages>
</extension>
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<sourceViewerConfiguration
class="org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP"
target="org.eclipse.jst.jsp.core.jspsource"/>
<provisionalConfiguration
type="contentassistprocessor"
class="org.eclipse.jst.jsf.ui.internal.contentassist.el.JSFELContentAssistProcessor"
target="org.eclipse.jst.jsp.SCRIPT.JSP_EL2" />
<provisionalConfiguration
type="contentassistprocessor"
class="org.eclipse.jst.jsf.ui.internal.contentassist.JSFContentAssistProcessor"
target="org.eclipse.jst.jsp.JSP_DEFAULT,org.eclipse.jst.jsp.JSP_DIRECTIVE" />
<documentationTextHover
class="org.eclipse.jst.jsf.ui.internal.jspeditor.JSFELHover"
target="org.eclipse.jst.jsp.SCRIPT.JSP_EL2">
</documentationTextHover>
</extension>
<extension point="org.eclipse.wst.sse.ui.sourcevalidation">
<validator
scope="partial"
class="org.eclipse.jst.jsf.ui.internal.validation.JSFValidator"
id="org.eclipse.jst.jsf.validation.JSFAttributeValueValidator">
<contentTypeIdentifier
id="org.eclipse.jst.jsp.core.jspsource">
<partitionType id="org.eclipse.jst.jsp.DEFAULT_JSP">
</partitionType>
<partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE">
</partitionType>
<partitionType id="org.eclipse.jst.jsp.SCRIPT.JSP_EL2">
</partitionType>
</contentTypeIdentifier>
</validator>
</extension>
<extension
point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
<hyperlinkDetector
class="org.eclipse.jst.jsf.ui.internal.jspeditor.JSPELHyperlinkDetector"
id="org.eclipse.jst.jsf.ui.elhyperlinkdetector"
name="%EL_Hyperlinkdetector_name"
targetId="org.eclipse.jst.jsp.core.jspsource">
</hyperlinkDetector>
</extension>
<extension
point="org.eclipse.ui.views">
<category
name="%jsf.ui.views.category.name"
id="org.eclipse.jst.jsf.ui.view.category">
</category>
<view
name="%jsf.ui.views.componentview.name"
category="org.eclipse.jst.jsf.ui.view.category"
class="org.eclipse.jst.jsf.ui.internal.component.ComponentTreeView"
id="org.eclipse.jst.jsf.ui.component.ComponentTreeView">
</view>
<view
category="org.eclipse.jst.jsf.ui.view.category"
class="org.eclipse.jst.jsf.ui.internal.tagregistry.TagRegistryView"
icon="icons/obj16/library_obj.gif"
id="org.eclipse.jst.jsf.ui.tagregistry.TagRegistryView"
name="%jsf.ui.views.jsftagregistry.name">
</view>
</extension>
<extension
id="JSPSemanticsValidatorMarker"
name="%JSPSemanticsValidatorMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.wst.validation.problemmarker">
</super>
</extension>
<extension
id="JSFNonELAttributeValueValidator"
name="%JSFNonELAttributeValueValidator"
point="org.eclipse.wst.validation.validatorV2">
<validator
build="true"
class="org.eclipse.jst.jsf.ui.internal.validation.JSFValidator"
manual="true"
markerId="org.eclipse.jst.jsf.ui.JSPSemanticsValidatorMarker"
sourceid="org.eclipse.jst.jsf.validation.JSFAttributeValueValidator"
version="1">
<include>
<rules>
<facet
id="jst.java">
</facet>
</rules>
</include>
<include>
<rules>
<facet
id="jst.web">
</facet>
</rules>
</include>
<include>
<rules>
<facet
id="jst.jsf">
</facet>
</rules>
</include>
<include>
<rules>
<projectNature
id="org.eclipse.wst.common.modulecore.ModuleCoreNature">
</projectNature>
</rules>
</include>
<include>
<rules>
<projectNature
id="org.eclipse.jdt.core.javanature">
</projectNature>
</rules>
</include>
<include>
<rules>
<contentType
exactMatch="false"
id="org.eclipse.jst.jsp.core.jspsource">
</contentType>
<contentType
exactMatch="true"
id="org.eclipse.jst.jsp.core.jspfragmentsource">
</contentType>
</rules>
</include>
<group
id="org.eclipse.wst.sse.core.structuredModelGroup">
</group>
</validator>
</extension>
<extension id="JSFAppConfigValidator" name="%JSFAppConfigValidator" point="org.eclipse.wst.validation.validatorV2">
<validator
build="true"
class="org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator"
manual="true"
markerId="org.eclipse.jst.jsf.ui.JSPSemanticsValidatorMarker"
version="1">
<include>
<rules>
<projectNature id="org.eclipse.wst.common.modulecore.ModuleCoreNature"/>
</rules>
</include>
<include>
<rules>
<projectNature id="org.eclipse.jdt.core.javanature"/>
</rules>
</include>
<include>
<rules>
<contentType id="org.eclipse.jst.jsf.facesconfig.facesConfigFile" exactMatch="true" />
</rules>
</include>
</validator>
</extension>
<extension
point="org.eclipse.ui.editors.templates">
<template
autoinsert="true"
contextTypeId="jsp_new"
description="%NewJSFPage_html_description"
id="org.eclipse.jst.jsf.ui.new_jsf_page_html"
name="%NewJSFPage_html">
<pattern>
&lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=${encoding}&quot; pageEncoding=&quot;${encoding}&quot;%&gt;
&lt;%@ taglib prefix=&quot;f&quot; uri=&quot;http://java.sun.com/jsf/core&quot;%&gt;
&lt;%@ taglib prefix=&quot;h&quot; uri=&quot;http://java.sun.com/jsf/html&quot;%&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=${encoding}&quot;&gt;
&lt;title&gt;Insert title here&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;f:view&gt;
${cursor}
&lt;/f:view&gt;
&lt;/body&gt;
&lt;/html&gt;
</pattern>
</template>
<template
autoinsert="true"
contextTypeId="jsp_new"
description="%NewJSFPage_xhtml_xmlsyntax_description"
id="org.eclipse.jst.jsf.ui.new_jsf_page_html_xhtml_xmllsyntax"
name="%NewJSFPage_xhtml_xmlsyntax">
<pattern>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;${encoding}&quot; ?&gt;
&lt;jsp:root xmlns:jsp=&quot;http://java.sun.com/JSP/Page&quot; xmlns:f=&quot;http://java.sun.com/jsf/core&quot; xmlns:h=&quot;http://java.sun.com/jsf/html&quot; version=&quot;2.0&quot;&gt;
&lt;jsp:directive.page language=&quot;java&quot;
contentType=&quot;text/html; charset=${encoding}&quot; pageEncoding=&quot;${encoding}&quot; /&gt;
&lt;jsp:text&gt;
&lt;![CDATA[ &lt;?xml version=&quot;1.0&quot; encoding=&quot;${encoding}&quot; ?&gt; ]]&gt;
&lt;/jsp:text&gt;
&lt;jsp:text&gt;
&lt;![CDATA[ &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt; ]]&gt;
&lt;/jsp:text&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=${encoding}&quot; /&gt;
&lt;title&gt;Insert title here&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;f:view&gt;
${cursor}
&lt;/f:view&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;/jsp:root&gt;
</pattern>
</template>
<template
autoinsert="true"
contextTypeId="jsp_new"
description="%NewJSFPage_xhtml_description"
id="org.eclipse.jst.jsf.ui.new_jsf_page_xhtml"
name="%NewJSFPage_xhtml">
<pattern>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;${encoding}&quot; ?&gt;
&lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=${encoding}&quot;
pageEncoding=&quot;${encoding}&quot;%&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xmlns:f=&quot;http://java.sun.com/jsf/core&quot; xmlns:h=&quot;http://java.sun.com/jsf/html&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=${encoding}&quot; /&gt;
&lt;title&gt;Insert title here&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;f:view&gt;
${cursor}
&lt;/f:view&gt;
&lt;/body&gt;
&lt;/html&gt;
</pattern>
</template>
<template
autoinsert="true"
contextTypeId="jsp_attribute_value"
description="%NewELExpression_description"
id="org.eclipse.jst.jsf.ui.newelexpression"
name="%NewELExpression">
<pattern>
"#{${cursor}}"
</pattern>
</template>
</extension>
</plugin>