Author: scabanovich
Date: 2010-03-09 12:27:13 -0500 (Tue, 09 Mar 2010)
New Revision: 20707
Added:
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp30.meta
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppFilteredTreeConstraint.java
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/WebAppAuxFolderImpl.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.properties
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutswebapp.meta
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp24.meta
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/helpers/WebAppHelper.java
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/TLDUtil.java
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppLoader.java
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppRecognizer.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5975
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml 2010-03-09 14:38:14 UTC (rev
20706)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml 2010-03-09 17:27:13 UTC (rev
20707)
@@ -18,6 +18,8 @@
</meta>
<meta path="meta/webapp24.meta">
</meta>
+ <meta path="meta/webapp30.meta">
+ </meta>
<meta path="meta/web-template.meta">
</meta>
<meta path="meta/page-files.meta">
@@ -203,12 +205,16 @@
<xclass id="org.jboss.tools.jst.web.webapp.model.FileWebApp24Loader"
class="org.jboss.tools.jst.web.webapp.model.FileWebApp24Loader"/>
+ <xclass id="org.jboss.tools.jst.web.webapp.model.WebAppAuxFolderImpl"
+ class="org.jboss.tools.jst.web.webapp.model.WebAppAuxFolderImpl"/>
<xclass id="org.jboss.tools.jst.web.webapp.model.FileWebAppImpl"
class="org.jboss.tools.jst.web.webapp.model.FileWebAppImpl"/>
<xclass id="org.jboss.tools.jst.web.webapp.model.FileWebAppLoader"
class="org.jboss.tools.jst.web.webapp.model.FileWebAppLoader"/>
<xclass id="org.jboss.tools.jst.web.webapp.model.FileWebAppRecognizer"
class="org.jboss.tools.jst.web.webapp.model.FileWebAppRecognizer"/>
+ <xclass
id="org.jboss.tools.jst.web.webapp.model.FileWebAppFilteredTreeConstraint"
+ class="org.jboss.tools.jst.web.webapp.model.FileWebAppFilteredTreeConstraint"/>
<xclass
id="org.jboss.tools.jst.web.webapp.model.WebAppAuthConstraintImpl"
class="org.jboss.tools.jst.web.webapp.model.WebAppAuthConstraintImpl"/>
<xclass id="org.jboss.tools.jst.web.webapp.model.WebAppErrorPageImpl"
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.properties
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.properties 2010-03-09
14:38:14 UTC (rev 20706)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.properties 2010-03-09
17:27:13 UTC (rev 20707)
@@ -1,3 +1,6 @@
+FileWebApp30.editorTitle=Web XML 3.0 Editor
+
+
IMPORT_WEB_PROJECT_WIZARD_PROJECT_LOCATION = Project Location
IMPORT_WEB_PROJECT_SELECT_WEB_XML = Please select web.xml location
IMPORT_WEB_PROJECT_WIZARD_PROJECT_FOLDERS = Project Folders
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutswebapp.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutswebapp.meta 2010-03-09
14:38:14 UTC (rev 20706)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutswebapp.meta 2010-03-09
17:27:13 UTC (rev 20707)
@@ -16,6 +16,9 @@
<MAPPING name="Handlers">
<PAIR name="CreateForWeb23"
value="org.jboss.tools.jst.web.webapp.model.handlers.CreateForWebApp23Handler"/>
</MAPPING>
+ <MAPPING name="Implementations">
+ <PAIR name="WebAppAuxFolder"
value="org.jboss.tools.jst.web.webapp.model.WebAppAuxFolderImpl"/>
+ </MAPPING>
<MAPPING name="ObjectEditor">
<PAIR name="WEB_APP"
value="org.jboss.tools.jst.web.ui.editors.WebCompoundEditor"/>
</MAPPING>
@@ -1092,7 +1095,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderEnvEntries">
<XChildrenEntities>
<XChildEntity name="WebAppEnvEntry"/>
@@ -1145,7 +1148,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderErrorPages">
<XChildrenEntities>
<XChildEntity name="WebAppErrorPage"/>
@@ -1198,7 +1201,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderFilters">
<XChildrenEntities>
<XChildEntity name="WebAppFilter"/>
@@ -1262,7 +1265,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderListeners">
<XChildrenEntities>
<XChildEntity name="WebAppListener"/>
@@ -1313,7 +1316,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderMessageDestinations">
<XChildrenEntities>
<XChildEntity name="WebAppMessageDestinationRef"/>
@@ -1375,7 +1378,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderMimeMappings">
<XChildrenEntities>
<XChildEntity name="WebAppMimeMapping"/>
@@ -1427,7 +1430,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderResources">
<XChildrenEntities>
<XChildEntity name="WebAppResourceEnvRef"/>
@@ -1490,7 +1493,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderSecurityConstraints">
<XChildrenEntities>
<XChildEntity name="WebAppSecurityConstraint"/>
@@ -1541,7 +1544,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderSecurityRoles">
<XChildrenEntities>
<XChildEntity name="WebAppSecurityRole"/>
@@ -1592,7 +1595,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderServices">
<XChildrenEntities>
<XChildEntity name="WebAppServiceRef"/>
@@ -1643,7 +1646,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderServlets">
<XChildrenEntities>
<XChildEntity name="WebAppServlet"/>
@@ -1706,7 +1709,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderTaglibs">
<XChildrenEntities>
<XChildEntity name="WebAppTaglib"/>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp24.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp24.meta 2010-03-09
14:38:14 UTC (rev 20706)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp24.meta 2010-03-09
17:27:13 UTC (rev 20707)
@@ -1075,7 +1075,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderFilters24">
<XChildrenEntities>
<XChildEntity name="WebAppFilter"/>
@@ -1140,7 +1140,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderLifecycles25">
<XChildrenEntities>
<XChildEntity name="WebAppPostConstruct25"/>
@@ -1206,7 +1206,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderListeners24">
<XChildrenEntities>
<XChildEntity name="WebAppListener24"/>
@@ -1257,7 +1257,7 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderPersistence25">
<XChildrenEntities>
<XChildEntity name="WebAppPersistenceContextRef25"/>
Added: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp30.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp30.meta
(rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/webapp30.meta 2010-03-09
17:27:13 UTC (rev 20707)
@@ -0,0 +1,2259 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
+<XModelEntityGroup>
+ <VERSION DEPENDS="Model:1.0" MODULE="Web"
VERSION="1.0"/>
+ <MAPPINGS>
+ <MAPPING name="FileVersions">
+ <PAIR name="WebApp3.0" value="FileWebApp30"/>
+ </MAPPING>
+ </MAPPINGS>
+ <ICONS/>
+ <GlobalActions kind="list"/>
+ <XModelEntity
+
ImplementationLoadingClass="org.jboss.tools.jst.web.webapp.model.FileWebApp24Loader"
+ ImplementingClass="org.jboss.tools.jst.web.webapp.model.FileWebAppImpl"
+ ObjectEditorClass="%XML%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;editorTreeConstraint=org.jboss.tools.jst.web.webapp.model.FileWebAppFilteredTreeConstraint"
+ XMLSUBPATH="web-app" name="FileWebApp30">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="WebAppFolderAbsoluteOrderings"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderContextParams"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderFilters30"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderListeners24"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderServlets30"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppSessionConfig30"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderMimeMappings"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppWelcomFileList"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderErrorPages"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppJspConfig30"
required="yes"/>
+ <XChildEntity maxCount="1"
name="WebAppFolderSecurityConstraints30" required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppLoginConfig"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderSecurityRoles"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderEnvEntries30"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderEJB30"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderServices"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderResources30"
required="yes"/>
+ <XChildEntity maxCount="1"
name="WebAppFolderMessageDestinations30" required="yes"/>
+ <XChildEntity maxCount="1"
name="WebAppLocaleEncodingMappingList" required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderPersistence25"
required="yes"/>
+ <XChildEntity maxCount="1" name="WebAppFolderLifecycles25"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="deployment descriptor"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name"
xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension"
xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload"
visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect"
visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute default="false" name="expanded"
visibility="false">
+ <Constraint loader="List">
+ <value name="false"/>
+ <value name="true"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always"
+
default="http://java.sun.com/xml/ns/javaee" name="xmlns"
xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+
default="http://www.w3.org/2001/XMLSchema-instance"
name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+
default="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute PROPERTIES="save=always" default="3.0"
+ name="version" visibility="false"
xmlname="version"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="small-icon" xmlname="icon.small-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="large-icon" xmlname="icon.large-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="description" xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" default="no"
+ name="distributable" xmlname="distributable">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="module-name" xmlname="module-name.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="metadata-complete" xmlname="metadata-complete">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" default="UTF-8"
name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.mime_mapping"
+ PROPERTIES="validator.add=true;sourcepath=Absolute
Orderings;actionpath=CreateActions/CreateAbsoluteOrdering"
+ WizardClassName="%Default%" displayName="Absolute Ordering..."
+ kind="action" name="CreateAbsoluteOrdering"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.param"
+ PROPERTIES="validator.add=true;sourcepath=Context
Params;actionpath=CreateActions/CreateContextParam"
+ WizardClassName="%Default%" displayName="Context Param..."
+ kind="action" name="CreateContextParam"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.filter"
+
PROPERTIES="validator.add=true;sourcepath=Filters;actionpath=CreateActions/CreateFilter"
+ WizardClassName="%Default%" displayName="Filter..."
kind="action" name="CreateFilter"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.filter_mapping"
+
PROPERTIES="validator.add=true;sourcepath=Filters;actionpath=CreateActions/CreateFilterMapping"
+ WizardClassName="%Default%" displayName="Filter Mapping..."
+ kind="action" name="CreateFilterMapping"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.listener"
+
PROPERTIES="validator.add=true;sourcepath=Listeners;actionpath=CreateActions/CreateListener"
+ WizardClassName="%Default%" displayName="Listener..."
kind="action" name="CreateListener"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.servlet"
+
PROPERTIES="validator.add=true;sourcepath=Servlets;actionpath=CreateActions/CreateServlet"
+ WizardClassName="%Default%" displayName="Servlet..."
kind="action" name="CreateServlet"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.servlet_mapping"
+
PROPERTIES="validator.add=true;sourcepath=Servlets;actionpath=CreateActions/CreateServletMapping"
+ WizardClassName="%Default%" displayName="Servlet Mapping..."
+ kind="action" name="CreateServletMapping"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.session"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Session Config..." kind="action"
name="CreateSessionConfig">
+ <EntityData EntityName="WebAppSessionConfig">
+ <AttributeData AttributeName="session-timeout"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.mime_mapping"
+ PROPERTIES="validator.add=true;sourcepath=Mime
Mappings;actionpath=CreateActions/CreateMimeMapping"
+ WizardClassName="%Default%" displayName="Mime Mapping..."
+ kind="action" name="CreateMimeMapping"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.welcom_list"
+ displayName="Welcome File List" kind="action"
name="CreateWelcomeFileList">
+ <EntityData EntityName="WebAppWelcomFileList"/>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.error"
+ PROPERTIES="validator.add=true;sourcepath=Error
Pages;actionpath=CreateActions/CreateErrorPage"
+ displayName="Error Page..." kind="action"
name="CreateErrorPage"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.taglib"
+ PROPERTIES="validator.add=true" displayName="JSP Config..."
+ kind="action" name="CreateJspConfig">
+ <EntityData EntityName="WebAppJspConfig"/>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.security_constraint"
+ PROPERTIES="validator.add=true;sourcepath=Security
Constraints;actionpath=CreateActions/CreateSecurityConstraint"
+ WizardClassName="%Default%" displayName="Security
Constraint..."
+ kind="action" name="CreateSecurityConstraint"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.login_config"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Login Config..." kind="action"
name="CreateLoginConfig">
+ <EntityData EntityName="WebAppLoginConfig">
+ <AttributeData AttributeName="auth-method"
Mandatory="no"/>
+ <AttributeData AttributeName="realm-name"
Mandatory="no"/>
+ <AttributeData AttributeName="form-login-page"
Mandatory="no"/>
+ <AttributeData AttributeName="form-error-page"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.security_role"
+ PROPERTIES="validator.add=true;sourcepath=Security
Roles;actionpath=CreateActions/CreateSecurityRole"
+ WizardClassName="%Default%" displayName="Security Role..."
+ kind="action" name="CreateSecurityRole"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.env_entry"
+ PROPERTIES="validator.add=true;sourcepath=Env
Entries;actionpath=CreateActions/CreateEnvEntry"
+ WizardClassName="%Default%" displayName="Env Entry..."
+ kind="action" name="CreateEnvEntry"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.ejb_reference"
+
PROPERTIES="validator.add=true;sourcepath=EJB;actionpath=CreateActions/CreateEjbRef"
+ WizardClassName="%Default%" displayName="Ejb Ref..."
kind="action" name="CreateEjbRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.ejb_local_reference"
+
PROPERTIES="validator.add=true;sourcepath=EJB;actionpath=CreateActions/CreateEjbLocalRef"
+ WizardClassName="%Default%" displayName="Ejb Local Ref..."
+ kind="action" name="CreateEjbLocalRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.service"
+
PROPERTIES="validator.add=true;sourcepath=Services;actionpath=CreateActions/CreateServiceRef"
+ WizardClassName="%Default%" displayName="Service Ref..."
+ kind="action" name="CreateServiceRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_env_ref"
+
PROPERTIES="validator.add=true;sourcepath=Resources;actionpath=CreateActions/CreateResourceEnvRef"
+ WizardClassName="%Default%" displayName="Resource Env Ref..."
+ kind="action" name="CreateResourceEnvRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_ref"
+
PROPERTIES="validator.add=true;sourcepath=Resources;actionpath=CreateActions/CreateResourceRef"
+ WizardClassName="%Default%" displayName="Resource Ref..."
+ kind="action" name="CreateResourceRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.message"
+ PROPERTIES="validator.add=true;sourcepath=Message
Destinations;actionpath=CreateActions/CreateServiceMessageDestinationRef"
+ WizardClassName="%Default%"
+ displayName="Message Destination Ref..." kind="action"
name="CreateServiceMessageDestinationRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.message"
+ PROPERTIES="validator.add=true;sourcepath=Message
Destinations;actionpath=CreateActions/CreateServiceMessageDestination"
+ WizardClassName="%Default%" displayName="Message
Destination..."
+ kind="action" name="CreateServiceMessageDestination"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.taglib"
+ PROPERTIES="validator.add=true"
+ displayName="Locale Encoding Mapping List..." kind="action"
name="CreateLocaleEncodingMappingList">
+ <EntityData EntityName="WebAppLocaleEncodingMappingList"/>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem HIDE="disabled"
+
HandlerClassName="org.jboss.tools.jst.web.tld.model.handlers.ValidateTLDHandler"
+ ICON="action.empty" displayName="Report Problem"
kind="action" name="Validate"/>
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.edit" displayName="Open" kind="action"
name="Open"/>
+ <XActionItem displayName="Open With" group="1"
kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="main.file.java_file"
PROPERTIES="extension=tiles-definitions"
+ displayName="Open with External Program" kind="action"
name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="main.file.java_file" displayName="Choose Program..."
+ kind="action" name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always" HandlerClassName="%RenameFile%"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..."
kind="action" name="Rename">
+ <EntityData EntityName="FileWebApp">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+
HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..."
kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItem kind="list" name="SaveActions">
+ <XActionItem HIDE="always" HandlerClassName="%SaveFile%"
+ ICON="action.save" displayName="Save" kind="action"
name="Save"/>
+ <XActionItem
+
HandlerClassName="org.jboss.tools.jst.web.model.handlers.ResetFileDateHandler"
+ ICON="action.save" displayName="Change Timestamp"
kind="action" name="ChangeTimeStamp"/>
+ </XActionItem>
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.jst.web.tld.model.handlers.ExpandTLDHandler"
+ ICON="action.empty" displayName="Set Expanded"
kind="action" name="SetExpanded"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%DeleteFile%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DiscardActions">
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.model.filesystems.impl.DiscardFileHandler"
+ ICON="action.delete"
+
PROPERTIES="significanceMessageClass=org.jboss.tools.common.model.filesystems.impl.DiscardFileSignificanceMessage"
+ displayName="Discard Changes" kind="action"
name="Discard"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileWebApp30_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.mime_mapping"
+ PROPERTIES="validator.add=true;sourcepath=Absolute
Orderings;actionpath=CreateActions/CreateAbsoluteOrdering"
+ WizardClassName="%Default%" displayName="Absolute Ordering..."
+ kind="action" name="CreateAbsoluteOrdering"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.param"
+ PROPERTIES="validator.add=true;sourcepath=Context
Params;actionpath=CreateActions/CreateContextParam"
+ WizardClassName="%Default%" displayName="Context Param..."
+ kind="action" name="CreateContextParam"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.filter"
+
PROPERTIES="validator.add=true;sourcepath=Filters;actionpath=CreateActions/CreateFilter"
+ WizardClassName="%Default%" displayName="Filter..."
kind="action" name="CreateFilter"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.filter_mapping"
+
PROPERTIES="validator.add=true;sourcepath=Filters;actionpath=CreateActions/CreateFilterMapping"
+ WizardClassName="%Default%" displayName="Filter Mapping..."
+ kind="action" name="CreateFilterMapping"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.listener"
+
PROPERTIES="validator.add=true;sourcepath=Listeners;actionpath=CreateActions/CreateListener"
+ WizardClassName="%Default%" displayName="Listener..."
kind="action" name="CreateListener"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.servlet"
+
PROPERTIES="validator.add=true;sourcepath=Servlets;actionpath=CreateActions/CreateServlet"
+ WizardClassName="%Default%" displayName="Servlet..."
kind="action" name="CreateServlet"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.servlet_mapping"
+
PROPERTIES="validator.add=true;sourcepath=Servlets;actionpath=CreateActions/CreateServletMapping"
+ WizardClassName="%Default%" displayName="Servlet Mapping..."
+ kind="action" name="CreateServletMapping"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.session"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Session Config..." kind="action"
name="CreateSessionConfig">
+ <EntityData EntityName="WebAppSessionConfig">
+ <AttributeData AttributeName="session-timeout"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.mime_mapping"
+ PROPERTIES="validator.add=true;sourcepath=Mime
Mappings;actionpath=CreateActions/CreateMimeMapping"
+ WizardClassName="%Default%" displayName="Mime Mapping..."
+ kind="action" name="CreateMimeMapping"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.welcom_list"
+ displayName="Welcome File List" kind="action"
name="CreateWelcomeFileList">
+ <EntityData EntityName="WebAppWelcomFileList"/>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.error"
+ PROPERTIES="validator.add=true;sourcepath=Error
Pages;actionpath=CreateActions/CreateErrorPage"
+ displayName="Error Page..." kind="action"
name="CreateErrorPage"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.taglib"
+ PROPERTIES="validator.add=true" displayName="JSP Config..."
+ kind="action" name="CreateJspConfig">
+ <EntityData EntityName="WebAppJspConfig"/>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.security_constraint"
+ PROPERTIES="validator.add=true;sourcepath=Security
Constraints;actionpath=CreateActions/CreateSecurityConstraint"
+ WizardClassName="%Default%" displayName="Security
Constraint..."
+ kind="action" name="CreateSecurityConstraint"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.login_config"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Login Config..." kind="action"
name="CreateLoginConfig">
+ <EntityData EntityName="WebAppLoginConfig">
+ <AttributeData AttributeName="auth-method"
Mandatory="no"/>
+ <AttributeData AttributeName="realm-name"
Mandatory="no"/>
+ <AttributeData AttributeName="form-login-page"
Mandatory="no"/>
+ <AttributeData AttributeName="form-error-page"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.security_role"
+ PROPERTIES="validator.add=true;sourcepath=Security
Roles;actionpath=CreateActions/CreateSecurityRole"
+ WizardClassName="%Default%" displayName="Security Role..."
+ kind="action" name="CreateSecurityRole"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.env_entry"
+ PROPERTIES="validator.add=true;sourcepath=Env
Entries;actionpath=CreateActions/CreateEnvEntry"
+ WizardClassName="%Default%" displayName="Env Entry..."
+ kind="action" name="CreateEnvEntry"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.ejb_reference"
+
PROPERTIES="validator.add=true;sourcepath=EJB;actionpath=CreateActions/CreateEjbRef"
+ WizardClassName="%Default%" displayName="Ejb Ref..."
kind="action" name="CreateEjbRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.ejb_local_reference"
+
PROPERTIES="validator.add=true;sourcepath=EJB;actionpath=CreateActions/CreateEjbLocalRef"
+ WizardClassName="%Default%" displayName="Ejb Local Ref..."
+ kind="action" name="CreateEjbLocalRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.service"
+
PROPERTIES="validator.add=true;sourcepath=Services;actionpath=CreateActions/CreateServiceRef"
+ WizardClassName="%Default%" displayName="Service Ref..."
+ kind="action" name="CreateServiceRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_env_ref"
+
PROPERTIES="validator.add=true;sourcepath=Resources;actionpath=CreateActions/CreateResourceEnvRef"
+ WizardClassName="%Default%" displayName="Resource Env Ref..."
+ kind="action" name="CreateResourceEnvRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_ref"
+
PROPERTIES="validator.add=true;sourcepath=Resources;actionpath=CreateActions/CreateResourceRef"
+ WizardClassName="%Default%" displayName="Resource Ref..."
+ kind="action" name="CreateResourceRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.message"
+ PROPERTIES="validator.add=true;sourcepath=Message
Destinations;actionpath=CreateActions/CreateServiceMessageDestinationRef"
+ WizardClassName="%Default%"
+ displayName="Message Destination Ref..." kind="action"
name="CreateServiceMessageDestinationRef"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.message"
+ PROPERTIES="validator.add=true;sourcepath=Message
Destinations;actionpath=CreateActions/CreateServiceMessageDestination"
+ WizardClassName="%Default%" displayName="Message
Destination..."
+ kind="action" name="CreateServiceMessageDestination"/>
+ <XActionItem HIDE="always" HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.taglib"
+ PROPERTIES="validator.add=true"
+ displayName="Locale Encoding Mapping List..." kind="action"
name="CreateLocaleEncodingMappingList">
+ <EntityData EntityName="WebAppLocaleEncodingMappingList"/>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HandlerClassName="%RenameFile%"
ICON="action.empty"
+ PROPERTIES="validator.edit=true" WizardClassName="%Default%"
+ displayName="Rename..." kind="action"
name="Rename">
+ <EntityData EntityName="FileWebApp">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="SaveActions">
+ <XActionItem HIDE="always" HandlerClassName="%SaveFile%"
+ ICON="action.save" displayName="Save" kind="action"
name="Save"/>
+ <XActionItem
+
HandlerClassName="org.jboss.tools.jst.web.model.handlers.ResetFileDateHandler"
+ ICON="action.save" displayName="Change Timestamp"
kind="action" name="ChangeTimeStamp"/>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DiscardActions">
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.model.filesystems.impl.DiscardFileHandler"
+ ICON="action.delete"
+
PROPERTIES="significanceMessageClass=org.jboss.tools.common.model.filesystems.impl.DiscardFileSignificanceMessage"
+ displayName="Discard Changes" kind="action"
name="Discard"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ XMLSUBPATH="absolute-ordering" name="WebAppAbsoluteOrdering">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.mime_mapping" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="absolute ordering"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always;id=true" name="name"
xmlname="name.#text">
+ <Constraint loader="ListString">
+ <value name="doc"/>
+ <value name="gif"/>
+ <value name="html"/>
+ <value name="txt"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="others" xmlname="others">
+ <Constraint loader="List">
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
XMLSUBPATH="cookie-config" name="WebAppCookieConfig">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.mime_mapping" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="cookie config" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always;id=true" name="name"
xmlname="name.#text"/>
+ <XModelAttribute name="domain" xmlname="domain.#text"/>
+ <XModelAttribute name="path" xmlname="path.#text"/>
+ <XModelAttribute name="comment" xmlname="comment.#text"/>
+ <XModelAttribute name="http-only"
xmlname="http-only.#text">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="secure" xmlname="secure.#text">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="_comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute name="max-age" xmlname="max-age.#text"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
XMLSUBPATH="ejb-local-ref" name="WebAppEjbLocalRef30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInjectionTarget25"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.ejb_local_reference"
type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ejb reference" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always"
name="ejb-ref-name" xmlname="ejb-ref-name.#text">
+ <Editor name="Name"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="ejb-ref-type"
xmlname="ejb-ref-type.#text">
+ <Constraint loader="List">
+ <value name="Entity"/>
+ <value name="Session"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="local-home"
xmlname="local-home.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="local"
xmlname="local.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute name="ejb-link" xmlname="ejb-link.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Injection Target..." kind="action"
name="CreateInjectionTarget">
+ <EntityData EntityName="WebAppInjectionTarget25">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%" XMLSUBPATH="ejb-ref"
name="WebAppEjbRef30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInjectionTarget25"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.ejb_reference"
type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ejb reference" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always"
name="ejb-ref-name" xmlname="ejb-ref-name.#text">
+ <Editor name="Name"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="ejb-ref-type"
xmlname="ejb-ref-type.#text">
+ <Constraint loader="List">
+ <value name="Entity"/>
+ <value name="Session"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="home"
xmlname="home.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="remote"
xmlname="remote.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute name="ejb-link" xmlname="ejb-link.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Injection Target..." kind="action"
name="CreateInjectionTarget">
+ <EntityData EntityName="WebAppInjectionTarget25">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%" XMLSUBPATH="env-entry"
name="WebAppEnvEntry30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInjectionTarget25"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.env_entry" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="entry" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always"
+ name="env-entry-name" xmlname="env-entry-name.#text"/>
+ <XModelAttribute PROPERTIES="save=always"
default="java.lang.String"
+ name="env-entry-type" xmlname="env-entry-type.#text">
+ <Constraint loader="ListString">
+ <value name="java.lang.Boolean"/>
+ <value name="java.lang.String"/>
+ <value name="java.lang.Integer"/>
+ <value name="java.lang.Double"/>
+ <value name="java.lang.Float"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="env-entry-value"
xmlname="env-entry-value.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Injection Target..." kind="action"
name="CreateInjectionTarget">
+ <EntityData EntityName="WebAppInjectionTarget25">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementingClass="org.jboss.tools.jst.web.webapp.model.WebAppFilterImpl"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData"
+ XMLSUBPATH="filter" name="WebAppFilter30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInitParam"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="filter" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="description" xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="small-icon" xmlname="icon.small-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="large-icon" xmlname="icon.large-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always;category=general"
+ name="filter-name" xmlname="filter-name.#text"/>
+ <XModelAttribute PROPERTIES="save=always;category=general"
+ name="filter-class" xmlname="filter-class.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="async-supported" xmlname="async-supported.#text">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.param"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Init Param..." kind="action"
name="CreateInitParam">
+ <EntityData EntityName="WebAppInitParam">
+ <AttributeData AttributeName="param-name"/>
+ <AttributeData AttributeName="param-value"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderAbsoluteOrderings">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppAbsoluteOrdering"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="absolute ordering"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Absolute
Orderings"
+ name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.mime_mapping"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Absolute Ordering..." kind="action"
name="CreateAbsoluteOrdering">
+ <EntityData EntityName="WebAppAbsoluteOrdering">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="others" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderEJB30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppEjbRef30"/>
+ <XChildEntity name="WebAppEjbLocalRef30"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ejb" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="EJB"
name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.ejb_reference"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Ejb Ref..." kind="action"
name="CreateEjbRef">
+ <EntityData EntityName="WebAppEjbRef30">
+ <AttributeData AttributeName="ejb-ref-name"/>
+ <AttributeData AttributeName="ejb-ref-type"/>
+ <AttributeData AttributeName="home"/>
+ <AttributeData AttributeName="remote"/>
+ <AttributeData AttributeName="ejb-link" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.ejb_local_reference"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Ejb Local Ref..." kind="action"
name="CreateEjbLocalRef">
+ <EntityData EntityName="WebAppEjbLocalRef30">
+ <AttributeData AttributeName="ejb-ref-name"/>
+ <AttributeData AttributeName="ejb-ref-type"/>
+ <AttributeData AttributeName="local-home"/>
+ <AttributeData AttributeName="local"/>
+ <AttributeData AttributeName="ejb-link" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderEnvEntries30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppEnvEntry30"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="env entries" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Env Entries"
+ name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.env_entry"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Env Entry..." kind="action"
name="CreateEnvEntry">
+ <EntityData EntityName="WebAppEnvEntry30">
+ <AttributeData AttributeName="env-entry-name"/>
+ <AttributeData AttributeName="env-entry-type"/>
+ <AttributeData AttributeName="env-entry-value"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderFilters30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppFilter30"/>
+ <XChildEntity name="WebAppFilterMapping24"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="filters" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Filters"
name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.filter"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Filter..." kind="action"
name="CreateFilter">
+ <EntityData EntityName="WebAppFilter30">
+ <AttributeData AttributeName="filter-name"/>
+ <AttributeData AttributeName="display-name"
Mandatory="no"/>
+ <AttributeData AttributeName="filter-class"/>
+ <AttributeData AttributeName="description"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.filter_mapping"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Filter Mapping..." kind="action"
name="CreateFilterMapping">
+ <EntityData EntityName="WebAppFilterMapping24">
+ <AttributeData AttributeName="filter-name"/>
+ <AttributeData AttributeName="url-pattern"
Mandatory="no"/>
+ <AttributeData AttributeName="servlet-name"
Mandatory="no"/>
+ <AttributeData AttributeName="dispatchers"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderMessageDestinations30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppMessageDestinationRef30"/>
+ <XChildEntity name="WebAppMessageDestination30"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="message destinations"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Message
Destinations"
+ name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.message"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Message Destination Ref..." kind="action"
name="CreateServiceMessageDestinationRef">
+ <EntityData EntityName="WebAppMessageDestinationRef30">
+ <AttributeData AttributeName="message-destination-ref-name"/>
+ <AttributeData AttributeName="message-destination-type"/>
+ <AttributeData AttributeName="message-destination-usage"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.message"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Message Destination..." kind="action"
name="CreateServiceMessageDestination">
+ <EntityData EntityName="WebAppMessageDestination30">
+ <AttributeData AttributeName="message-destination-name"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderResources30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppResourceEnvRef30"/>
+ <XChildEntity name="WebAppResourceRef30"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="resources" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Resources"
+ name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%CreateForWeb23%"
+ ICON="action.new.struts.webapp.res_env_ref"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Resource Env Ref..." kind="action"
name="CreateResourceEnvRef">
+ <EntityData EntityName="WebAppResourceEnvRef30">
+ <AttributeData AttributeName="resource-env-ref-name"/>
+ <AttributeData AttributeName="resource-env-ref-type"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Resource Ref..." kind="action"
name="CreateResourceRef">
+ <EntityData EntityName="WebAppResourceRef30">
+ <AttributeData AttributeName="res-ref-name"/>
+ <AttributeData AttributeName="res-type"/>
+ <AttributeData AttributeName="res-auth"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%Ordered%"
name="WebAppFolderSecurityConstraints30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppSecurityConstraint30"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="security constraints"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Security
Constraints"
+ name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.security_constraint"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Security Constraint..." kind="action"
name="CreateSecurityConstraint">
+ <EntityData EntityName="WebAppSecurityConstraint30">
+ <AttributeData AttributeName="display-name"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%WebAppAuxFolder%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData;children=%EntityOrdered%"
name="WebAppFolderServlets30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppServlet30"/>
+ <XChildEntity name="WebAppServletMapping"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.jsf.components" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="servlets" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;" default="Servlets"
name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.servlet"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Servlet..." kind="action"
name="CreateServlet">
+ <EntityData EntityName="WebAppServlet30">
+ <AttributeData AttributeName="servlet-name"/>
+ <AttributeData AttributeName="display-name"
Mandatory="no"/>
+ <AttributeData AttributeName="servlet-class"/>
+ <AttributeData AttributeName="description"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.servlet_mapping"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Servlet Mapping..." kind="action"
name="CreateServletMapping">
+ <EntityData EntityName="WebAppServletMapping">
+ <AttributeData AttributeName="servlet-name"/>
+ <AttributeData AttributeName="url-pattern"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Copy"
HandlerClassName="%CopyChildren%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData"
+ XMLSUBPATH="jsp-property-group"
name="WebAppJSPPropertyGroup30">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.param" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jsp property group"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="name" visibility="false"
xmlname="#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="description" xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="small-icon" xmlname="icon.small-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="large-icon" xmlname="icon.large-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always;category=general"
+ name="url-pattern" xmlname="url-pattern.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="el-ignored" xmlname="el-ignored.#text">
+ <Constraint loader="List">
+ <value name="true"/>
+ <value name="false"/>
+ <value/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="page-encoding" xmlname="page-encoding.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="scripting-invalid" xmlname="scripting-invalid.#text">
+ <Constraint loader="List">
+ <value name="true"/>
+ <value name="false"/>
+ <value/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="is-xml"
xmlname="is-xml.#text">
+ <Constraint loader="List">
+ <value name="true"/>
+ <value name="false"/>
+ <value/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="include-prelude" xmlname="include-prelude.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="include-coda" xmlname="include-coda.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="deferred-syntax-allowed-as-literal"
xmlname="deferred-syntax-allowed-as-literal.#text">
+ <Constraint loader="List">
+ <value name="true"/>
+ <value name="false"/>
+ <value/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="trim-directive-whitespaces"
xmlname="trim-directive-whitespaces.#text">
+ <Constraint loader="List">
+ <value name="true"/>
+ <value name="false"/>
+ <value/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="default-content-type"
xmlname="default-content-type.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="buffer"
xmlname="buffer.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="error-on-undeclared-namespace"
xmlname="error-on-undeclared-namespace.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Ordered%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData"
+ XMLSUBPATH="jsp-config" name="WebAppJspConfig30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppTaglib"/>
+ <XChildEntity name="WebAppJSPPropertyGroup30"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.param" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jsp config" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="JSP Config" name="name"
xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.taglib"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Taglib..." kind="action"
name="CreateTaglib">
+ <EntityData EntityName="WebAppTaglib">
+ <AttributeData AttributeName="taglib-uri"/>
+ <AttributeData AttributeName="taglib-location"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add JSP Property Group..." kind="action"
name="CreatePropertyGroup">
+ <EntityData EntityName="WebAppJSPPropertyGroup30">
+ <AttributeData AttributeName="url-pattern"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+
ImplementingClass="org.jboss.tools.jst.web.webapp.model.WebAppMessageDestinationImpl"
+ XMLSUBPATH="message-destination"
name="WebAppMessageDestination30">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.message" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="message destination"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute name="display-name"
xmlname="display-name.#text"/>
+ <XModelAttribute name="small-icon"
xmlname="icon.small-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute name="large-icon"
xmlname="icon.large-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always;id=true"
+ name="message-destination-name"
xmlname="message-destination-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+
ImplementingClass="org.jboss.tools.jst.web.webapp.model.WebAppMessageDestinationRefImpl"
+ XMLSUBPATH="message-destination-ref"
name="WebAppMessageDestinationRef30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInjectionTarget25"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.message" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="message destination reference"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always;id=true"
+ name="message-destination-ref-name"
xmlname="message-destination-ref-name.#text"/>
+ <XModelAttribute PROPERTIES="save=always"
+ name="message-destination-type"
xmlname="message-destination-type.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always"
+ name="message-destination-usage"
xmlname="message-destination-usage.#text">
+ <Constraint loader="List">
+ <value/>
+ <value name="Consumes"/>
+ <value name="Produces"/>
+ <value name="ConsumesProduces"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute name="message-destination-link"
xmlname="message-destination-link.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Injection Target..." kind="action"
name="CreateInjectionTarget">
+ <EntityData EntityName="WebAppInjectionTarget25">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ XMLSUBPATH="multipart-config" name="WebAppMultipartConfig">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.security_role"
type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="multipart config"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always"
name="location" xmlname="location.#text">
+ <Constraint loader="JavaName"/>
+ <Editor name="Name"/>
+ </XModelAttribute>
+ <XModelAttribute name="max-file-size"
xmlname="max-file-size.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute name="max-request-size"
xmlname="max-request-size.#text">
+ <Constraint loader="ListString"/>
+ <Editor name="WebRoleList"/>
+ </XModelAttribute>
+ <XModelAttribute name="file-size-threshold"
xmlname="file-size-threshold.#text">
+ <Constraint loader="ListString"/>
+ <Editor name="WebRoleList"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="children=%Ordered%"
XMLSUBPATH="web-resource-collection"
name="WebAppResourceCollection30">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.web_resource_col"
type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="web resource collection"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="web-resource-name"
xmlname="web-resource-name.#text"/>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute name="url-patterns"
xmlname="url-patterns"/>
+ <XModelAttribute name="http-methods"
xmlname="http-methods">
+ <Constraint loader="ListAdd">
+ <value name="GET"/>
+ <value name="POST"/>
+ <value name="PUT"/>
+ <value name="DELETE"/>
+ <value name="HEAD"/>
+ <value name="OPTIONS"/>
+ <value name="TRACE"/>
+ </Constraint>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
+ <XModelAttribute name="http-method-omissions"
xmlname="http-method-omissions">
+ <Constraint loader="ListAdd">
+ <value name="GET"/>
+ <value name="POST"/>
+ <value name="PUT"/>
+ <value name="DELETE"/>
+ <value name="HEAD"/>
+ <value name="OPTIONS"/>
+ <value name="TRACE"/>
+ </Constraint>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ XMLSUBPATH="resource-env-ref" name="WebAppResourceEnvRef30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInjectionTarget25"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.res_env_ref" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="resource env reference"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always"
+ name="resource-env-ref-name"
xmlname="resource-env-ref-name.#text">
+ <Editor name="Name"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always"
+ name="resource-env-ref-type"
xmlname="resource-env-ref-type.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Injection Target..." kind="action"
name="CreateInjectionTarget">
+ <EntityData EntityName="WebAppInjectionTarget25">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
XMLSUBPATH="resource-ref" name="WebAppResourceRef30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInjectionTarget25"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.res_ref" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="resource reference"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="description"
xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="res-ref-name"
xmlname="res-ref-name.#text">
+ <Editor name="Name"/>
+ </XModelAttribute>
+ <XModelAttribute name="res-type" xmlname="res-type.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" default="Container"
+ name="res-auth" xmlname="res-auth.#text">
+ <Constraint loader="ListString">
+ <value name="Container"/>
+ <value name="Application"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="res-sharing-scope" visibility="false"
xmlname="res-sharing-scope.#text">
+ <Constraint loader="List">
+ <value/>
+ <value name="Shareable"/>
+ <value name="Unshareable"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="mapped-name" xmlname="mapped-name.#text"/>
+ <XModelAttribute PROPERTIES="category=general"
name="lookup-name" xmlname="lookup-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Injection Target..." kind="action"
name="CreateInjectionTarget">
+ <EntityData EntityName="WebAppInjectionTarget25">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+
ImplementingClass="org.jboss.tools.jst.web.webapp.model.WebAppSecurityConstraintImpl"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData"
+ XMLSUBPATH="security-constraint"
name="WebAppSecurityConstraint30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppResourceCollection30"/>
+ <XChildEntity maxCount="1" name="WebAppAuthConstraint"/>
+ <XChildEntity maxCount="1" name="WebAppUserConstraint"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.security_constraint"
type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="security constraint"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute name="_id_" visibility="false"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.web_resource_col"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Web Resource Collection..." kind="action"
name="CreateResourceCollection">
+ <EntityData EntityName="WebAppResourceCollection30">
+ <AttributeData AttributeName="web-resource-name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.auth_constraint"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Auth Constraint..." kind="action"
name="CreateAuthConstraint">
+ <EntityData EntityName="WebAppAuthConstraint">
+ <AttributeData AttributeName="description"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.user_constraint"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add User Data Constraint..." kind="action"
name="CreateUserConstraint">
+ <EntityData EntityName="WebAppUserConstraint">
+ <AttributeData AttributeName="transport-guarantee"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementingClass="org.jboss.tools.jst.web.webapp.model.WebAppServletImpl"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.jst.web.ui.editors.webapp.form.WebAppFormLayoutData"
+ XMLSUBPATH="servlet" name="WebAppServlet30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppInitParam"/>
+ <XChildEntity maxCount="1" name="WebAppRunAs"/>
+ <XChildEntity name="WebAppSecurityRoleRef"/>
+ <XChildEntity name="WebAppMultipartConfig"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.servlet" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="servlet" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="small-icon" xmlname="icon.small-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
name="large-icon" xmlname="icon.large-icon.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=gif,jpg"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always;category=general"
+ name="servlet-name" xmlname="servlet-name.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="description" xmlname="description.#text">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="servlet-class" xmlname="servlet-class.#text">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="jsp-file"
xmlname="jsp-file.#text">
+ <Constraint loader="Tree">
+ <value name="WebPageTree"/>
+ <value name="extensions=jsp,html,htm"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="load-on-startup" xmlname="load-on-startup.#text">
+ <Constraint loader="Int">
+ <value name="mandatory=false"/>
+ </Constraint>
+ <Editor name="Int"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="enabled"
xmlname="enabled.#text">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
name="async-supported" xmlname="async-supported.#text">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.param"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Init Param..." kind="action"
name="CreateInitParam">
+ <EntityData EntityName="WebAppInitParam">
+ <AttributeData AttributeName="param-name"/>
+ <AttributeData AttributeName="param-value"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%CreateForWeb23%"
+ ICON="action.new.struts.webapp.run_as"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Run As..." kind="action"
name="CreateRunAs">
+ <EntityData EntityName="WebAppRunAs">
+ <AttributeData AttributeName="role-name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.security_role"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Security Role Ref..." kind="action"
name="CreateSecurityRoleRef">
+ <EntityData EntityName="WebAppSecurityRoleRef">
+ <AttributeData AttributeName="role-name"/>
+ <AttributeData AttributeName="role-link"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.security_role"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Multipart Config..." kind="action"
name="CreateMultipartConfig">
+ <EntityData EntityName="WebAppMultipartConfig">
+ <AttributeData AttributeName="location"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+
ImplementingClass="org.jboss.tools.jst.web.webapp.model.WebAppSessionConfigImpl"
+ XMLSUBPATH="session-config" name="WebAppSessionConfig30">
+ <XChildrenEntities>
+ <XChildEntity name="WebAppCookieConfig"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.struts.webapp.session" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute name="session-timeout"
xmlname="session-timeout.#text">
+ <Constraint loader="Int">
+ <value name="mandatory=false"/>
+ </Constraint>
+ <Editor name="Int"/>
+ </XModelAttribute>
+ <XModelAttribute name="tracking-modes"
xmlname="tracking-modes">
+ <Constraint loader="ListAdd">
+ <value name="COOKIE"/>
+ <value name="SSL"/>
+ <value name="URL"/>
+ </Constraint>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
+ <XModelAttribute name="id" visibility="false"
xmlname="id"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.copy" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions"/>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XEntityExtension name="FileFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileWebApp30"/>
+ </XChildrenEntities>
+ <XActionItem kind="list"/>
+ </XEntityExtension>
+ <XEntityExtension name="FileSystemFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileWebApp30"/>
+ </XChildrenEntities>
+ <XActionItem kind="list"/>
+ </XEntityExtension>
+ <XEntityExtension name="FileSystemJar">
+ <XChildrenEntities>
+ <XChildEntity name="FileWebApp30"/>
+ </XChildrenEntities>
+ <XActionItem kind="list"/>
+ </XEntityExtension>
+ <XEntityExtension name="JarFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileWebApp30"/>
+ </XChildrenEntities>
+ <XActionItem kind="list"/>
+ </XEntityExtension>
+</XModelEntityGroup>
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/helpers/WebAppHelper.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/helpers/WebAppHelper.java 2010-03-09
14:38:14 UTC (rev 20706)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/helpers/WebAppHelper.java 2010-03-09
17:27:13 UTC (rev 20707)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.tools.jst.web.model.helpers;
+import org.jboss.tools.common.meta.XModelEntity;
import org.jboss.tools.common.meta.action.impl.handlers.DefaultCreateHandler;
import org.jboss.tools.common.model.XModel;
import org.jboss.tools.common.model.XModelException;
@@ -22,11 +23,13 @@
public class WebAppHelper {
public static String CONTEXT_PARAM_ENTITY = "WebAppContextParam";
//$NON-NLS-1$
public static String FILTER_ENTITY = "WebAppFilter"; //$NON-NLS-1$
+ public static String FILTER_30_ENTITY = "WebAppFilter30"; //$NON-NLS-1$
public static String FILTER_MAPPING_ENTITY = "WebAppFilterMapping";
//$NON-NLS-1$
public static String FILTER_MAPPING_24_ENTITY = "WebAppFilterMapping24";
//$NON-NLS-1$
public static String LISTENER_ENTITY = "WebAppListener"; //$NON-NLS-1$
public static String LISTENER_24_ENTITY = "WebAppListener24";
//$NON-NLS-1$
public static String SERVLET_ENTITY = "WebAppServlet"; //$NON-NLS-1$
+ public static String SERVLET_30_ENTITY = "WebAppServlet30"; //$NON-NLS-1$
public static String SERVLET_MAPPING_ENTITY = "WebAppServletMapping";
//$NON-NLS-1$
public static String TAGLIB_ENTITY = "WebAppTaglib"; //$NON-NLS-1$
public static String ROLE_ENTITY = "WebAppSecurityRole"; //$NON-NLS-1$
@@ -63,7 +66,7 @@
if(webxml == null) return null;
XModelObject folder = webxml.getChildByPath(SERVLET_FOLDER);
if(folder == null) folder = webxml;
- return folder.getChildren(SERVLET_ENTITY);
+ return folder.getChildren(getServletEntity(folder.getModelEntity()));
}
public static XModelObject[] getServletMappings(XModelObject webxml) {
@@ -106,7 +109,7 @@
if(s == null) {
XModelObject folder = webxml.getChildByPath(SERVLET_FOLDER);
if(folder == null) folder = webxml;
- s = webxml.getModel().createModelObject(SERVLET_ENTITY, null);
+ s =
webxml.getModel().createModelObject(getServletEntity(folder.getModelEntity()), null);
s.setAttributeValue("servlet-name", servletName); //$NON-NLS-1$
s.setAttributeValue("servlet-class", className); //$NON-NLS-1$
DefaultCreateHandler.addCreatedObject(folder, s, -1);
@@ -116,6 +119,11 @@
}
return s;
}
+
+ public static String getServletEntity(XModelEntity folder) {
+ if(folder != null && folder.getChild(SERVLET_30_ENTITY) != null) return
SERVLET_30_ENTITY;
+ return SERVLET_ENTITY;
+ }
/**
* Returns model object representing <servlet-mapping> with
@@ -326,6 +334,9 @@
if(webxml == null) return null;
XModelObject folder = webxml.getChildByPath(FILTER_FOLDER);
if(folder == null) folder = webxml;
+ if(folder.getModelEntity().getChild(FILTER_30_ENTITY) != null) {
+ folder.getChildren(FILTER_30_ENTITY);
+ }
return folder.getChildren(FILTER_ENTITY);
}
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/TLDUtil.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/TLDUtil.java 2010-03-09
14:38:14 UTC (rev 20706)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/model/TLDUtil.java 2010-03-09
17:27:13 UTC (rev 20707)
@@ -17,8 +17,8 @@
static String TAG_ENTITIES = ".TLDTag.TLDTag12.TLDTag20.TLDTag21.";
//$NON-NLS-1$
static String ATTR_ENTITIES =
".TLDAttribute.TLDAttribute12.TLDAttribute20.TLDAttribute2F."; //$NON-NLS-1$
- static String FACELET_TAGLIB_ENTITIES = ".FileFaceletTaglib.";
//$NON-NLS-1$
- static String FACELET_TAG_ENTITIES = ".FaceletTaglibTag."; //$NON-NLS-1$
+ static String FACELET_TAGLIB_ENTITIES =
".FileFaceletTaglib.FileFaceletTaglib20."; //$NON-NLS-1$
+ static String FACELET_TAG_ENTITIES =
".FaceletTaglibTag.FaceletTaglibTag20."; //$NON-NLS-1$
public static boolean isTaglib(XModelObject o) {
return isOfEntity(o, FILE_ENTITIES);
Added:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppFilteredTreeConstraint.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppFilteredTreeConstraint.java
(rev 0)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppFilteredTreeConstraint.java 2010-03-09
17:27:13 UTC (rev 20707)
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.webapp.model;
+
+import java.util.Properties;
+
+import org.jboss.tools.common.meta.XChild;
+import org.jboss.tools.common.meta.XModelEntity;
+import org.jboss.tools.common.model.XFilteredTreeConstraint;
+import org.jboss.tools.common.model.XModel;
+import org.jboss.tools.common.model.XModelObject;
+
+public class FileWebAppFilteredTreeConstraint implements XFilteredTreeConstraint {
+
+ public void update(XModel model) {
+ }
+
+ public boolean isHidingAllChildren(XModelObject object) {
+ return false;
+ }
+
+ static Properties checkedEntities = new Properties();
+
+ boolean checkEntity(XModelEntity entity) {
+ String res = checkedEntities.getProperty(entity.getName());
+ if(res != null) return "true".equals(res); //$NON-NLS-1$
+ XChild[] cs = entity.getChildren();
+ for (int i = 0; i < cs.length; i++) {
+ String n = cs[i].getName();
+ if(n.startsWith("WebAppFolder")) { //$NON-NLS-1$
+ checkedEntities.setProperty(n, "true"); //$NON-NLS-1$
+ return true;
+ }
+ }
+ checkedEntities.setProperty(entity.getName(), "false"); //$NON-NLS-1$
+ return false;
+ }
+
+ public boolean isHidingSomeChildren(XModelObject object) {
+ ///if(true) return false;
+ return checkEntity(object.getModelEntity());
+ }
+
+ public boolean accepts(XModelObject object) {
+ String entity = object.getModelEntity().getName();
+ if(entity.startsWith("WebAppFolder") && object.getChildren().length
== 0) return false; //$NON-NLS-1$
+ return true;
+ }
+
+}
Property changes on:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppFilteredTreeConstraint.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppLoader.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppLoader.java 2010-03-09
14:38:14 UTC (rev 20706)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppLoader.java 2010-03-09
17:27:13 UTC (rev 20707)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.jst.web.webapp.model;
+import java.util.ArrayList;
+import java.util.List;
import java.util.Set;
import org.w3c.dom.*;
@@ -37,9 +39,12 @@
protected Set<String> getAllowedChildren(XModelEntity entity) {
Set<String> children = super.getAllowedChildren(entity);
- if("WebAppResourceCollection".equals(entity.getName())) { //$NON-NLS-1$
+ if(entity.getName().startsWith("WebAppResourceCollection")) {
//$NON-NLS-1$
children.add("url-pattern"); //$NON-NLS-1$
children.add("http-method"); //$NON-NLS-1$
+ if("WebAppResourceCollection30".equals(entity.getName())) {
//$NON-NLS-1$
+ children.add("http-method-omission"); //$NON-NLS-1$
+ }
} else if("WebAppServiceRef".equals(entity.getName())) { //$NON-NLS-1$
children.add("port-component-ref"); //$NON-NLS-1$
children.add("handler"); //$NON-NLS-1$
@@ -47,12 +52,15 @@
children.add("dispatcher"); //$NON-NLS-1$
} else if(entity.getName().startsWith("FileWebApp")) { //$NON-NLS-1$
children.add("distributable"); //$NON-NLS-1$
+ } else if(entity.getName().startsWith("WebAppAbsoluteOrdering")) {
//$NON-NLS-1$
+ children.add("others"); //$NON-NLS-1$
+ } else if(entity.getName().equals("WebAppSessionConfig30")) {
//$NON-NLS-1$
+ children.add("tracking-mode"); //$NON-NLS-1$
}
return children;
}
protected boolean isSaveable(XModelEntity entity, String n, String v, String dv) {
- if("load-on-startup".equals(n)) return false; //$NON-NLS-1$
if(v == null) return false;
if(v.length() == 0 || v.equals(dv)) {
XAttribute attr = entity.getAttribute(n);
@@ -64,18 +72,24 @@
public String getAttribute(Element element, String xmlname, XAttribute attr) {
if("distributable".equals(xmlname)) //$NON-NLS-1$
return (XMLUtil.getUniqueChild(element, "distributable") != null) ?
"yes" : "no"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ if("others".equals(xmlname)) //$NON-NLS-1$
+ return (XMLUtil.getUniqueChild(element, "others") != null) ?
"true" : "false"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
if("role-names".equals(xmlname)) //$NON-NLS-1$
return loadArray(element, "role-name"); //$NON-NLS-1$
if("url-patterns".equals(xmlname)) //$NON-NLS-1$
return loadArray(element, "url-pattern"); //$NON-NLS-1$
if("http-methods".equals(xmlname)) //$NON-NLS-1$
return loadArray(element, "http-method"); //$NON-NLS-1$
+ if("http-method-omissions".equals(xmlname)) //$NON-NLS-1$
+ return loadArray(element, "http-method-omission"); //$NON-NLS-1$
if("handlers".equals(xmlname)) //$NON-NLS-1$
return loadArray(element, "handler"); //$NON-NLS-1$
if("port-component-refs".equals(xmlname)) //$NON-NLS-1$
return loadArray(element, "port-component-ref"); //$NON-NLS-1$
if("dispatchers".equals(xmlname)) //$NON-NLS-1$
return loadArray(element, "dispatcher"); //$NON-NLS-1$
+ if("tracking-modes".equals(xmlname)) //$NON-NLS-1$
+ return loadArray(element, "tracking-mode"); //$NON-NLS-1$
return super.getAttribute(element, xmlname, attr);
}
@@ -84,13 +98,13 @@
String entity = o.getModelEntity().getName();
if("WebAppErrorPage".equals(entity)) { //$NON-NLS-1$
eitherOr(element, WebAppConstants.ERROR_CODE, WebAppConstants.EXCEPTION_TYPE);
- } else if(WebAppHelper.FILTER_ENTITY.equals(entity) ||
entity.startsWith(WebAppHelper.FILTER_MAPPING_ENTITY)) {
+ } else if(entity.startsWith(WebAppHelper.FILTER_ENTITY)) { // both filter and filter
mapping
eitherOr(element, WebAppConstants.URL_PATTERN, WebAppConstants.SERVLET_NAME);
- } else if(WebAppHelper.SERVLET_ENTITY.equals(entity)) {
+ } else if(WebAppHelper.SERVLET_ENTITY.equals(entity) ||
WebAppHelper.SERVLET_30_ENTITY.equals(entity)) {
eitherOr(element, WebAppConstants.SERVLET_CLASS, WebAppConstants.JSP_FILE);
}
if(schema) {
- if(o.getModelEntity().getAttribute("description") != null) { //$NON-NLS-1$
+ if(o.getModelEntity().getAttribute("description") != null &&
!o.getModelEntity().getName().startsWith("WebAppResourceCollection")) {
//$NON-NLS-1$ //$NON-NLS-2$
makeChildrenFirst(element, new String[]{"description",
"display-name", "icon"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
if("WebAppEnvEntry".equals(o.getModelEntity().getName())) { //$NON-NLS-1$
@@ -106,18 +120,24 @@
public void saveAttribute(Element element, String xmlname, String value) {
if("distributable".equals(xmlname)) { //$NON-NLS-1$
if("yes".equals(value)) XMLUtil.createElement(element,
"distributable"); //$NON-NLS-1$ //$NON-NLS-2$
+ } else if("others".equals(xmlname)) { //$NON-NLS-1$
+ if("true".equals(value)) XMLUtil.createElement(element,
"others"); //$NON-NLS-1$ //$NON-NLS-2$
} else if("role-names".equals(xmlname)) { //$NON-NLS-1$
saveArray(element, "role-name", value); //$NON-NLS-1$
} else if("url-patterns".equals(xmlname)) { //$NON-NLS-1$
saveArray(element, "url-pattern", value); //$NON-NLS-1$
} else if("http-methods".equals(xmlname)) { //$NON-NLS-1$
saveArray(element, "http-method", value); //$NON-NLS-1$
+ } else if("http-method-omissions".equals(xmlname)) { //$NON-NLS-1$
+ saveArray(element, "http-method-omission", value); //$NON-NLS-1$
} else if("handlers".equals(xmlname)) { //$NON-NLS-1$
saveArray(element, "handler", value); //$NON-NLS-1$
} else if("port-component-refs".equals(xmlname)) { //$NON-NLS-1$
saveArray(element, "port-component-ref", value); //$NON-NLS-1$
} else if("dispatchers".equals(xmlname)) { //$NON-NLS-1$
saveArray(element, "dispatcher", value); //$NON-NLS-1$
+ } else if("tracking-modes".equals(xmlname)) { //$NON-NLS-1$
+ saveArray(element, "tracking-mode", value); //$NON-NLS-1$
} else {
super.saveAttribute(element, xmlname, value);
}
@@ -130,19 +150,30 @@
} else if(WebAppHelper.FILTER_MAPPING_24_ENTITY.equals(entity)) {
return true;
- } else if(!"WebAppServlet".equals(entity)) { //$NON-NLS-1$
+ } else if(entity.equals(WebAppHelper.SERVLET_ENTITY) ||
entity.equals(WebAppHelper.SERVLET_30_ENTITY)) {
boolean b = super.saveChildren(element, o);
+ String afterName = null;
+ String[] cs = {"run-as", "security-role-ref",
"multipart-config"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ for (int i = 0; i < cs.length && afterName == null; i++)
if(XMLUtilities.getChildren(element, cs[i]).length > 0) {
+ afterName = cs[i];
+ }
+ String[] attrs = {"load-on-startup", "enabled",
"async-supported"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ for (String a: attrs) if(o.getModelEntity().getAttribute(a) != null) {
+ moveChild(element, a, afterName);
+ }
+ } else {
+ boolean b = super.saveChildren(element, o);
if(o.getModelEntity().getAttribute("mapped-name") != null) {
//$NON-NLS-1$
moveChild(element, "mapped-name", "injection-target");
//$NON-NLS-1$ //$NON-NLS-2$
}
+ if(o.getModelEntity().getAttribute("lookup-name") != null) {
//$NON-NLS-1$
+ moveChild(element, "lookup-name", null); //$NON-NLS-1$
+ }
+ if(o.getModelEntity().getAttribute("tracking-modes") != null) {
//$NON-NLS-1$
+ moveChild(element, "tracking-mode", null); //$NON-NLS-1$ //$NON-NLS-2$
+ }
return b;
}
- saveChildren(element, o, "WebAppInitParam"); //$NON-NLS-1$
- String l = o.getAttributeValue("load-on-startup"); //$NON-NLS-1$
- if(l.length() > 0) saveAttribute(element, "load-on-startup.#text",
l); //$NON-NLS-1$
- saveChildren(element, o, "WebAppRunAs"); //$NON-NLS-1$
- saveChildren(element, o, "WebAppSecurityRoleRef"); //$NON-NLS-1$
-
return true;
}
@@ -220,24 +251,25 @@
private void moveChild(Element element, String child, String childAfter) {
NodeList l = element.getChildNodes();
- Element childE = null;
+ List<Element> childE = null;
Element childAfterE = null;
for (int i = 0; i < l.getLength(); i++) {
Node n = l.item(i);
if(n.getNodeType() != Node.ELEMENT_NODE) continue;
String name = n.getNodeName();
if(child.equals(name)) {
- childE = (Element)n;
- } else if(childAfter.equals(name)) {
+ if(childE == null) childE = new ArrayList<Element>();
+ childE.add((Element)n);
+ } else if(name.equals(childAfter)) {
if(childAfterE == null) childAfterE = (Element)n;
}
}
- if(childE != null) {
- element.removeChild(childE);
+ if(childE != null) for (Element c: childE) {
+ element.removeChild(c);
if(childAfterE != null) {
- element.insertBefore(childE, childAfterE);
+ element.insertBefore(c, childAfterE);
} else {
- element.appendChild(childE);
+ element.appendChild(c);
}
}
}
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppRecognizer.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppRecognizer.java 2010-03-09
14:38:14 UTC (rev 20706)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/FileWebAppRecognizer.java 2010-03-09
17:27:13 UTC (rev 20707)
@@ -38,14 +38,23 @@
if(xml.getSystemId() != null &&
xml.getSystemId().indexOf("web-app_2_3.dtd") >= 0) return
"FileWebApp"; //$NON-NLS-1$ //$NON-NLS-2$
return null;
}
-
- return (body.indexOf("<web-app") >= 0 //$NON-NLS-1$
- && body.indexOf("version=\"2.4\"") > 0
//$NON-NLS-1$
- &&
body.indexOf("xmlns=\"http://java.sun.com/xml/ns/j2ee\"&qu... > 0) ?
"FileWebApp24" : //$NON-NLS-1$ //$NON-NLS-2$
- (body.indexOf("<web-app") >= 0 //$NON-NLS-1$
- && body.indexOf("version=\"2.5\"") > 0
//$NON-NLS-1$
- &&
body.indexOf("xmlns=\"http://java.sun.com/xml/ns/javaee\"&... > 0) ?
"FileWebApp25" : //$NON-NLS-1$ //$NON-NLS-2$
- null;
+
+ if(body.indexOf("<web-app") >= 0) { //$NON-NLS-1$
+
if(body.indexOf("xmlns=\"http://java.sun.com/xml/ns/j2ee\"... >
0) { //$NON-NLS-1$
+ if(body.indexOf("version=\"2.4\"") > 0) { //$NON-NLS-1$
+ return "FileWebApp24"; //$NON-NLS-1$
+ }
+ } else
if(body.indexOf("xmlns=\"http://java.sun.com/xml/ns/javaee\&quo... > 0)
{ //$NON-NLS-1$
+ if(body.indexOf("version=\"2.5\"") > 0) { //$NON-NLS-1$
+ return "FileWebApp25"; //$NON-NLS-1$
+ } else if(body.indexOf("version=\"3.0\"") > 0) {
//$NON-NLS-1$
+ return "FileWebApp30"; //$NON-NLS-1$
+ }
+
+ }
+ }
+
+ return null;
}
}
Added:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/WebAppAuxFolderImpl.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/WebAppAuxFolderImpl.java
(rev 0)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/WebAppAuxFolderImpl.java 2010-03-09
17:27:13 UTC (rev 20707)
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.webapp.model;
+
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.impl.CustomizedObjectImpl;
+import org.jboss.tools.common.model.impl.XModelImpl;
+
+public class WebAppAuxFolderImpl extends CustomizedObjectImpl {
+ private static final long serialVersionUID = 5190269651082395100L;
+
+ public boolean addChild(XModelObject object) {
+ boolean b = super.addChild(object);
+ if(b && isActive() && children.size() == 1) {
+ notifyParent();
+ }
+ return b;
+ }
+
+ public void removeChild(XModelObject child) {
+ super.removeChild(child);
+ if(isActive() && children.size() == 0) {
+ notifyParent();
+ }
+ }
+
+ private void notifyParent() {
+ ((XModelImpl)getModel()).fireStructureChanged(getParent());
+ }
+
+}
Property changes on:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/webapp/model/WebAppAuxFolderImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain