| <?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> |
| <%@ page language="java" contentType="text/html; charset=${encoding}" pageEncoding="${encoding}"%> |
| <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%> |
| <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=${encoding}"> |
| <title>Insert title here</title> |
| </head> |
| <body> |
| <f:view> |
| ${cursor} |
| </f:view> |
| </body> |
| </html> |
| </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> |
| <?xml version="1.0" encoding="${encoding}" ?> |
| <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" version="2.0"> |
| <jsp:directive.page language="java" |
| contentType="text/html; charset=${encoding}" pageEncoding="${encoding}" /> |
| <jsp:text> |
| <![CDATA[ <?xml version="1.0" encoding="${encoding}" ?> ]]> |
| </jsp:text> |
| <jsp:text> |
| <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]> |
| </jsp:text> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=${encoding}" /> |
| <title>Insert title here</title> |
| </head> |
| <body> |
| <f:view> |
| ${cursor} |
| </f:view> |
| </body> |
| </html> |
| </jsp:root> |
| |
| |
| |
| </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> |
| <?xml version="1.0" encoding="${encoding}" ?> |
| <%@ page language="java" contentType="text/html; charset=${encoding}" |
| pageEncoding="${encoding}"%> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=${encoding}" /> |
| <title>Insert title here</title> |
| </head> |
| <body> |
| <f:view> |
| ${cursor} |
| </f:view> |
| </body> |
| </html> |
| </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> |