JBoss Tools SVN: r5273 - trunk/struts/plugins/org.jboss.tools.struts/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-13 06:31:43 -0500 (Thu, 13 Dec 2007)
New Revision: 5273
Modified:
trunk/struts/plugins/org.jboss.tools.struts/resources/meta/struts11.meta
trunk/struts/plugins/org.jboss.tools.struts/resources/meta/strutsprojects.meta
trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta
Log:
JBIDE-1474
Modified: trunk/struts/plugins/org.jboss.tools.struts/resources/meta/struts11.meta
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/resources/meta/struts11.meta 2007-12-12 21:44:07 UTC (rev 5272)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/struts11.meta 2007-12-13 11:31:43 UTC (rev 5273)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.0"/>
<MAPPINGS>
@@ -27,19 +28,11 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="action" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="attribute" xmlname="attribute">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
+ <XModelAttribute name="attribute" xmlname="attribute"/>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="forward" xmlname="forward">
@@ -64,20 +57,10 @@
<Constraint loader="ListString"/>
<Editor name="StrutsActionNameEditor"/>
</XModelAttribute>
- <XModelAttribute name="parameter" xmlname="parameter">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="path" xmlname="path">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="prefix" xmlname="prefix">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="parameter" xmlname="parameter"/>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="path" xmlname="path"/>
+ <XModelAttribute name="prefix" xmlname="prefix"/>
<XModelAttribute name="roles" xmlname="roles">
- <Constraint/>
<Editor name="WebRoleChoiceList"/>
</XModelAttribute>
<XModelAttribute name="scope" xmlname="scope">
@@ -88,12 +71,8 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="suffix" xmlname="suffix">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="suffix" xmlname="suffix"/>
<XModelAttribute PROPERTIES="linkAction=OpenSource" name="type" xmlname="type">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute default="false" name="unknown" xmlname="unknown">
@@ -113,30 +92,16 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text"/>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="_shape" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="_shape" visibility="false"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem
@@ -266,24 +231,15 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="action-mappings" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="action-mappings" loader="ElementType"
name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="type" xmlname="type">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
+ <XModelAttribute name="type" xmlname="type"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -352,39 +308,23 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="struts-config 1.1" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="struts-config" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="struts-config" name="name" xmlname="NAME"/>
<XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
+ <XModelAttribute name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -392,10 +332,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute default="UTF-8" name="encoding">
<Constraint loader="ListString">
<value name="ISO-8859-1"/>
@@ -556,18 +493,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="controller" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="controller" loader="ElementType"
name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute name="bufferSize" xmlname="bufferSize">
<Constraint loader="Int">
<value name="minimum=0"/>
@@ -576,13 +508,9 @@
<Editor name="Int"/>
</XModelAttribute>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="contentType" xmlname="contentType">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="contentType" xmlname="contentType"/>
<XModelAttribute name="debug" xmlname="debug">
<Constraint loader="Int">
<value name="minimum=0"/>
@@ -590,10 +518,7 @@
</Constraint>
<Editor name="Int"/>
</XModelAttribute>
- <XModelAttribute name="forwardPattern" xmlname="forwardPattern">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="forwardPattern" xmlname="forwardPattern"/>
<XModelAttribute name="inputForward" xmlname="inputForward">
<Constraint loader="List">
<value/>
@@ -616,14 +541,11 @@
</XModelAttribute>
<XModelAttribute name="maxFileSize" xmlname="maxFileSize">
<Constraint loader="FileSize"/>
- <Editor/>
</XModelAttribute>
<XModelAttribute name="memFileSize" xmlname="memFileSize">
<Constraint loader="FileSize"/>
- <Editor/>
</XModelAttribute>
<XModelAttribute name="multipartClass" xmlname="multipartClass">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="nocache" xmlname="nocache">
@@ -636,20 +558,12 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="pagePattern" xmlname="pagePattern">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="pagePattern" xmlname="pagePattern"/>
<XModelAttribute name="processorClass" xmlname="processorClass">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="tempDir" xmlname="tempDir">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="tempDir" xmlname="tempDir"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -709,27 +623,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="data-source" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="key" xmlname="key">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
+ <XModelAttribute name="key" xmlname="key"/>
<XModelAttribute PROPERTIES="save=always" name="type" xmlname="type">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -786,20 +690,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="data-sources" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="data-sources" loader="ElementType"
name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -840,27 +738,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="exception" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="bundle" xmlname="bundle">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
+ <XModelAttribute name="bundle" xmlname="bundle"/>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="handler" xmlname="handler">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute name="path" xmlname="path">
@@ -879,33 +767,18 @@
</XModelAttribute>
<XModelAttribute
PROPERTIES="linkAction=OpenSource;id=true;save=always" name="type" xmlname="type">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text"/>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="_shape" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="_shape" visibility="false"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem
@@ -992,15 +865,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="form-bean" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="dynamic" xmlname="dynamic">
@@ -1013,33 +881,18 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="linkAction=OpenSource;save=always"
name="type" xmlname="type">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text"/>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1118,24 +971,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="form-beans" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="form-beans" loader="ElementType"
name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute name="type" xmlname="type">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1179,21 +1025,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="form-property" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute TRIM="no" name="initial" xmlname="initial">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute TRIM="no" name="initial" xmlname="initial"/>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute name="size" xmlname="size">
<Constraint loader="Int">
<value name="minimum=0"/>
@@ -1202,11 +1040,9 @@
<Editor name="Int"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="type" xmlname="type">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1264,15 +1100,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="forward" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute PROPERTIES="linkAction=OpenSource" name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute loader="ContextRelative" name="contextRelative" xmlname="contextRelative">
@@ -1285,10 +1116,7 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="linkAction=JumpByPath;save=always"
name="path" xmlname="path">
<Constraint loader="Properties">
@@ -1306,30 +1134,16 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text"/>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="_shape" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="_shape" visibility="false"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem
@@ -1418,20 +1232,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="global-exceptions" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="global-exceptions" loader="ElementType"
name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1473,24 +1281,15 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="global-forwards" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="global-forwards" loader="ElementType"
name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="type" xmlname="type">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
+ <XModelAttribute name="type" xmlname="type"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1536,25 +1335,16 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="message-resources" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="factory" xmlname="factory">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="key" xmlname="key">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="key" xmlname="key"/>
<XModelAttribute name="null" xmlname="null">
<Constraint loader="List">
<value/>
@@ -1574,7 +1364,6 @@
<Editor name="TreeChooser"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1628,11 +1417,9 @@
<XModelAttributes>
<XModelAttribute default="message-resources folder"
loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="resources" loader="ElementType" name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1672,19 +1459,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="plug-in" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute PROPERTIES="save=always" name="className" xmlname="className">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1730,11 +1511,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="plug-in folder" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="plug-ins" loader="ElementType" name="name" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1782,23 +1561,15 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="set-property" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute PROPERTIES="id=true;save=always" name="property" xmlname="property">
<Constraint loader="StrutsProperty"/>
<Editor name="Name"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="value" xmlname="value">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="value" xmlname="value"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1830,7 +1601,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem displayName="Struts" kind="list" name="Struts">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.struts.struts-config"
PROPERTIES="entity=StrutsConfig11;extensions=.xml.;validator.addfile=true;extension=xml;support=org.jboss.tools.struts.model.handlers.CreateStrutsConfigSupport;entityVersion=StrutsConfig"
displayName="Struts Config" kind="action" name="CreateStrutsConfig11">
@@ -1843,6 +1614,10 @@
<AttributeData AttributeName="register in web.xml" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.struts.struts-config"
+ PROPERTIES="plugin=org.jboss.tools.struts.ui;wizard=org.jboss.tools.struts.ui.wizard.newfile.NewStrutsConfigFileWizard"
+ displayName="Struts Config" kind="action" name="CreateStrutsConfig11V"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -1858,7 +1633,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem displayName="Struts" kind="list" name="Struts">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.struts.struts-config"
PROPERTIES="entity=StrutsConfig11;extensions=.xml.;validator.addfile=true;extension=xml;support=org.jboss.tools.struts.model.handlers.CreateStrutsConfigSupport;entityVersion=StrutsConfig"
displayName="Struts Config" kind="action" name="CreateStrutsConfig11">
@@ -1871,6 +1646,10 @@
<AttributeData AttributeName="register in web.xml" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.struts.struts-config"
+ PROPERTIES="plugin=org.jboss.tools.struts.ui;wizard=org.jboss.tools.struts.ui.wizard.newfile.NewStrutsConfigFileWizard"
+ displayName="Struts Config" kind="action" name="CreateStrutsConfig11V"/>
</XActionItem>
</XActionItem>
</XActionItem>
Modified: trunk/struts/plugins/org.jboss.tools.struts/resources/meta/strutsprojects.meta
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/resources/meta/strutsprojects.meta 2007-12-12 21:44:07 UTC (rev 5272)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/strutsprojects.meta 2007-12-13 11:31:43 UTC (rev 5273)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.0"/>
<MAPPINGS>
@@ -38,7 +39,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Configuration" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -63,7 +63,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.struts.model.pv.handler.StrutsProjectsConfigurationRedirectHandler"
ICON="action.new.struts.struts-config"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateStrutsConfig11"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateStrutsConfig11V"
displayName="Struts Config" kind="action" name="CreateStrutsConfig11"/>
</XActionItem>
</XActionItem>
@@ -81,7 +81,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -104,7 +103,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Resource Bundles" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -116,7 +114,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsResourceRedirectHandler"
ICON="action.new.file.unknow_file"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Common/CreateFileProperties"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Common/CreateFilePropertiesV"
displayName="Properties File..." kind="action" name="CreateFileProperties"/>
</XActionItem>
</XActionItem>
@@ -133,7 +131,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Tag Libraries" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -145,7 +142,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsTaglibsRedirectHandler"
ICON="main.tld.taglib"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Web/CreateFileTLD"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Web/CreateFileTLDV"
displayName="Tag Library..." kind="action" name="CreateFileTLD"/>
</XActionItem>
</XActionItem>
@@ -162,7 +159,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Tiles" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -173,7 +169,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsTaglibsRedirectHandler"
ICON="action.new.web.tiles.file"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateTiles"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateTilesV"
displayName="Tiles..." kind="action" name="CreateTiles"/>
</XActionItem>
</XActionItem>
@@ -191,7 +187,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Validation" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -202,7 +197,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsTaglibsRedirectHandler"
ICON="action.new.validator.file"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateValidator"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateValidatorV"
displayName="Validation..." kind="action" name="CreateValidator"/>
</XActionItem>
</XActionItem>
@@ -225,14 +220,11 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute default="StrutsProjects" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="StrutsProjects" name="name" xmlname="NAME"/>
</XModelAttributes>
<XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="Red Hat Developer Studio Struts"
- group="1" kind="list" name="StrutsStudio">
+ <XActionItem ICON="action.empty"
+ displayName="Red Hat Developer Studio Struts" group="1" kind="list" name="StrutsStudio">
<XActionItem
HandlerClassName="org.jboss.tools.struts.model.pv.handler.StrutsProjectsRootRedirectHandler"
ICON="action.empty" PROPERTIES="actionpath=SynchronizeModules"
@@ -240,7 +232,8 @@
<XActionItem kind="list" name="CreateActions">
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.project.handlers.CreateTemplateFromProjectHandler"
- ICON="action.empty" displayName="Save As Template..." kind="action" name="SaveAsTemplate"/>
+ ICON="action.empty" displayName="Save As Template..."
+ kind="action" name="SaveAsTemplate"/>
</XActionItem>
<XActionItem kind="list" name="Separator"/>
<XActionItem kind="list" name="Registration">
@@ -307,7 +300,6 @@
<XEntityRenderer/>
<XModelAttributes>
<XModelAttribute default="Struts Workspace" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
Modified: trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta 2007-12-12 21:44:07 UTC (rev 5272)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta 2007-12-13 11:31:43 UTC (rev 5273)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.1"/>
<MAPPINGS>
@@ -74,33 +75,21 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="validation rules" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
<XModelAttribute
default="http://jakarta.apache.org/commons/dtds/validator_1_0.dtd"
- name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -108,10 +97,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute default="true" name="expanded" visibility="false">
<Constraint loader="List">
<value name="false"/>
@@ -120,7 +106,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute default="UTF-8" name="encoding">
@@ -303,19 +288,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="arg0" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="arg0" loader="ElementType" name="arg">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
<XModelAttribute name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -326,7 +305,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -369,19 +347,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="arg1" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="arg1" loader="ElementType" name="arg">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
<XModelAttribute name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -392,7 +364,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -435,19 +406,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="arg2" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="arg2" loader="ElementType" name="arg">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
<XModelAttribute name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -458,7 +423,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -501,19 +465,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="arg3" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="arg3" loader="ElementType" name="arg">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
<XModelAttribute name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -524,7 +482,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -567,20 +524,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="constant" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always"
- name="constant-name" xmlname="constant-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="constant-value" xmlname="constant-value.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="constant-name" xmlname="constant-name.#text"/>
+ <XModelAttribute PROPERTIES="save=always" name="constant-value" xmlname="constant-value.#text"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -619,10 +568,7 @@
<XChildrenEntities/>
<XEntityRenderer/>
<XModelAttributes>
- <XModelAttribute name="dependency name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="dependency name"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem kind="list" name="CreateActions">
@@ -660,15 +606,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="field" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="property" xmlname="property">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="property" xmlname="property"/>
<XModelAttribute name="depends" xmlname="depends">
- <Constraint/>
<Editor name="ValidationDependency"/>
</XModelAttribute>
<XModelAttribute name="page" xmlname="page">
@@ -677,12 +618,8 @@
</Constraint>
<Editor name="Int"/>
</XModelAttribute>
- <XModelAttribute name="indexedListProperty" xmlname="indexedListProperty">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="indexedListProperty" xmlname="indexedListProperty"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -771,15 +708,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="form" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -834,7 +766,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="formset" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="language" xmlname="language">
@@ -846,7 +777,6 @@
<Editor name="CountriesList"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -906,11 +836,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="global" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -968,15 +896,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="msg" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="save=always" name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -987,7 +910,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1039,45 +961,29 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="validator" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="save=always" name="classname" xmlname="classname">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="method" xmlname="method">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="method" xmlname="method"/>
<XModelAttribute
PROPERTIES="save=always;trim=true;delimiter=comma;newValueClassName=org.jboss.tools.common.model.ui.attribute.adapter.JavaClassNewValueProvider"
name="methodParams" xmlname="methodParams">
- <Constraint/>
<Editor name="MutableList"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="msg" xmlname="msg">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute name="depends" xmlname="depends">
- <Constraint/>
<Editor name="ValidationDependency"/>
</XModelAttribute>
- <XModelAttribute name="jsFunctionName" xmlname="jsFunctionName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="jsFunctionName" xmlname="jsFunctionName"/>
<XModelAttribute TRIM="no" name="javascript" visibility="false" xmlname="javascript.CDATA">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1179,17 +1085,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="var" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="var-name" xmlname="var-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="var-value" xmlname="var-value.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="var-name" xmlname="var-name.#text"/>
+ <XModelAttribute name="var-value" xmlname="var-value.#text"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem HIDE="always" HandlerClassName="%Edit%"
@@ -1254,7 +1153,7 @@
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
<XActionItem displayName="File" group="1" kind="list" name="CreateFiles">
<XActionItem displayName="Struts" kind="list" name="Struts">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.validator.file"
PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.CreateValidationFileSupport;entity=FileValidationRules;extension=xml;validator.addfile=true;entityVersion=Validation"
displayName="Validation..." kind="action" name="CreateValidator">
@@ -1265,6 +1164,10 @@
<AttributeData AttributeName="version" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.validator.file"
+ PROPERTIES="plugin=org.jboss.tools.struts.ui;wizard=org.jboss.tools.struts.ui.wizard.newfile.NewValidationFileWizard"
+ displayName="Validation..." kind="action" name="CreateValidatorV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -1278,7 +1181,7 @@
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
<XActionItem displayName="File" group="1" kind="list" name="CreateFiles">
<XActionItem displayName="Struts" kind="list" name="Struts">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.validator.file"
PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.CreateValidationFileSupport;entity=FileValidationRules;extension=xml;validator.addfile=true;entityVersion=Validation"
displayName="Validation..." kind="action" name="CreateValidator">
@@ -1289,6 +1192,10 @@
<AttributeData AttributeName="version" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.validator.file"
+ PROPERTIES="plugin=org.jboss.tools.struts.ui;wizard=org.jboss.tools.struts.ui.wizard.newfile.NewValidationFileWizard"
+ displayName="Validation..." kind="action" name="CreateValidatorV"/>
</XActionItem>
</XActionItem>
</XActionItem>
17 years, 1 month
JBoss Tools SVN: r5272 - in trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui: util/composites and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-12-12 16:44:07 -0500 (Wed, 12 Dec 2007)
New Revision: 5272
Added:
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveFilesetDestinationComposite.java
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/dialogs/ArchiveNodeDestinationDialog.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveDestinationComposite.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java
Log:
Cleanup of fileset and archive creation dialogs. Preparing for possibility of variables ${currentProject} etc
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/dialogs/ArchiveNodeDestinationDialog.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/dialogs/ArchiveNodeDestinationDialog.java 2007-12-12 19:15:41 UTC (rev 5271)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/dialogs/ArchiveNodeDestinationDialog.java 2007-12-12 21:44:07 UTC (rev 5272)
@@ -31,49 +31,32 @@
public class ArchiveNodeDestinationDialog extends ElementTreeSelectionDialog {
- private boolean showWorkspace, showNodes;
-
- public ArchiveNodeDestinationDialog(Shell parent, Object destination, boolean showWorkspace, boolean showNodes) {
- super(parent, new DestinationLabelProvider(), new DestinationContentProvider());
- setAllowMultiple(false);
- setTitle(ArchivesUIMessages.PackageNodeDestinationDialog_title);
-
- this.showWorkspace = showWorkspace;
- this.showNodes = showNodes;
- setupDestinationList();
+ public ArchiveNodeDestinationDialog(Shell parent, Object destination,
+ boolean showWorkspace, boolean showNodes) {
+ super(parent, new DestinationLabelProvider(),
+ new DestinationContentProvider(showWorkspace, showNodes));
+ setAllowMultiple(false);
+ setTitle(ArchivesUIMessages.PackageNodeDestinationDialog_title);
+ setInput(ResourcesPlugin.getWorkspace());
}
-
- private void setupDestinationList () {
- ArrayList destinations = new ArrayList();
- if (showWorkspace) {
- destinations.addAll(Arrays.asList(ResourcesPlugin.getWorkspace().getRoot().getProjects()));
- }
-
- IProgressMonitor monitor = new NullProgressMonitor();
-
- if( showNodes ) {
- // add ALL packages from ALL projects
- IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
- for( int i = 0; i < projects.length; i++ ) {
- if( projects[i].isAccessible()) {
- destinations.addAll(Arrays.asList(
- ArchivesModel.instance().getProjectArchives(projects[i].getLocation(), true, monitor)));
- }
- }
- }
-
- setInput(destinations);
- }
-
- private static class DestinationContentProvider implements ITreeContentProvider {
- private static final Object[] NO_CHILDREN = new Object[0];
-
+ private static class DestinationContentProvider implements
+ ITreeContentProvider {
+ private static final Object[] NO_CHILDREN = new Object[0];
+ private boolean showWorkspace, showNodes;
+
+ public DestinationContentProvider(boolean showWorkspace,
+ boolean showNodes) {
+ this.showWorkspace = showWorkspace;
+ this.showNodes = showNodes;
+ }
+
public Object[] getChildren(Object parentElement) {
if (parentElement instanceof IArchiveNode) {
IArchiveNode node = (IArchiveNode) parentElement;
- List children = new ArrayList(Arrays.asList(node.getAllChildren()));
- for (Iterator iter = children.iterator(); iter.hasNext(); ) {
+ List children = new ArrayList(Arrays.asList(node
+ .getAllChildren()));
+ for (Iterator iter = children.iterator(); iter.hasNext();) {
IArchiveNode child = (IArchiveNode) iter.next();
if (child.getNodeType() == IArchiveNode.TYPE_ARCHIVE_FILESET)
iter.remove();
@@ -81,17 +64,24 @@
return children.toArray();
} else if (parentElement instanceof IContainer) {
IContainer container = (IContainer) parentElement;
- try {
- IResource members[] = container.members();
- List folders = new ArrayList();
- for (int i = 0; i < members.length; i++) {
- if (members[i].getType() == IResource.FOLDER) folders.add(members[i]);
+ ArrayList result = new ArrayList();
+ if (showWorkspace) {
+ try {
+ IResource members[] = container.members();
+ for (int i = 0; i < members.length; i++) {
+ if (members[i].getType() == IResource.FOLDER)
+ result.add(members[i]);
+ }
+ } catch (CoreException e) {
}
-
- return folders.toArray();
- } catch (CoreException e) {
- // swallow
}
+ if (showNodes && parentElement instanceof IProject) {
+ result.addAll(Arrays.asList(ArchivesModel.instance()
+ .getProjectArchives(
+ ((IProject) parentElement).getLocation(),
+ true, new NullProgressMonitor())));
+ }
+ return result.toArray();
}
return NO_CHILDREN;
}
@@ -112,30 +102,52 @@
}
public Object[] getElements(Object inputElement) {
- if (inputElement instanceof Collection)
- return ((Collection)inputElement).toArray();
-
- return NO_CHILDREN;
+ ArrayList destinations = new ArrayList();
+
+ if (showWorkspace) {
+ destinations.addAll(Arrays.asList(ResourcesPlugin.getWorkspace().getRoot().getProjects()));
+ }
+
+ IProgressMonitor monitor = new NullProgressMonitor();
+
+ if( showNodes ) {
+ // add ALL packages from ALL projects
+ IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
+ for( int i = 0; i < projects.length; i++ ) {
+ if( projects[i].isAccessible()) {
+ List tmp = Arrays.asList(
+ ArchivesModel.instance().getProjectArchives(projects[i].getLocation(), true, monitor));
+ if( tmp.size() > 0 && !destinations.contains(projects[i]))
+ destinations.add(projects[i]);
+ }
+ }
+ }
+ return destinations.toArray();
}
- public void dispose() {}
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {}
- }
-
- private static class DestinationLabelProvider implements ILabelProvider {
+ public void dispose() {
+ }
+
+ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
+ }
+ }
+
+ private static class DestinationLabelProvider implements ILabelProvider {
private ArchivesLabelProvider delegate;
-
- public DestinationLabelProvider () {
+
+ public DestinationLabelProvider() {
delegate = new ArchivesLabelProvider();
}
-
+
public Image getImage(Object element) {
if (element instanceof IArchiveNode) {
return delegate.getImage(element);
} else if (element instanceof IProject) {
- return PlatformUI.getWorkbench().getSharedImages().getImage(IDE.SharedImages.IMG_OBJ_PROJECT);
+ return PlatformUI.getWorkbench().getSharedImages().getImage(
+ IDE.SharedImages.IMG_OBJ_PROJECT);
} else if (element instanceof IFolder) {
- return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER);
+ return PlatformUI.getWorkbench().getSharedImages().getImage(
+ ISharedImages.IMG_OBJ_FOLDER);
}
return null;
}
@@ -144,7 +156,7 @@
if (element instanceof IArchiveNode) {
return delegate.getText(element);
} else if (element instanceof IContainer) {
- return ((IContainer)element).getName();
+ return ((IContainer) element).getName();
}
return "";
}
@@ -161,6 +173,6 @@
public void removeListener(ILabelProviderListener listener) {
}
-
- }
+
+ }
}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveDestinationComposite.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveDestinationComposite.java 2007-12-12 19:15:41 UTC (rev 5271)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveDestinationComposite.java 2007-12-12 21:44:07 UTC (rev 5272)
@@ -3,6 +3,7 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
+import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@@ -13,6 +14,7 @@
import org.jboss.ide.eclipse.archives.core.model.IArchiveNode;
import org.jboss.ide.eclipse.archives.ui.ArchivesSharedImages;
import org.jboss.ide.eclipse.archives.ui.ArchivesUIMessages;
+import org.jboss.ide.eclipse.archives.ui.dialogs.ArchiveNodeDestinationDialog;
public class ArchiveDestinationComposite extends ArchiveNodeDestinationComposite {
@@ -23,11 +25,6 @@
super(parent, style, destination);
}
-// public PackageDestinationComposite (Composite parent, int style, GridData textLayoutData, GridData buttonLayoutData, Object destination)
-// {
-// super (parent, style, textLayoutData, buttonLayoutData, destination);
-// }
-//
protected void fillBrowseComposite(Composite parent) {
Composite browseComposite = new Composite(parent, SWT.NONE);
browseComposite.setLayout(new GridLayout(2, false));
@@ -49,44 +46,37 @@
});
}
- protected void browseFilesystem ()
- {
+ protected void openDestinationDialog() {
+ ArchiveNodeDestinationDialog dialog = new ArchiveNodeDestinationDialog(getShell(), nodeDestination, true, true);
+ if (nodeDestination != null)
+ dialog.setInitialSelection(nodeDestination);
+
+ if (dialog.open() == Dialog.OK)
+ setPackageNodeDestination(dialog.getResult()[0]);
+ }
+
+ protected void browseFilesystem () {
DirectoryDialog dialog = new DirectoryDialog(getShell());
String currentPath = destinationText.getText();
- if (currentPath != null && currentPath.length() > 0 && !inWorkspace)
- {
+ if (currentPath != null && currentPath.length() > 0 && !inWorkspace) {
dialog.setFilterPath(destinationText.getText());
}
String path = dialog.open();
- if (path != null)
- {
- nodeDestination = new Path(path);
- updateDestinationViewer();
- }
+ if (path != null)
+ setPackageNodeDestination(new Path(path));
}
- protected void updateDestinationViewer()
- {
+ protected void updateDestinationViewer() {
super.updateDestinationViewer();
- if (nodeDestination instanceof IPath)
- {
+ if (nodeDestination instanceof IPath) {
inWorkspace = false;
IPath path = (IPath) nodeDestination;
- setDestinationText(path.toString());
- setDestinationImage(ArchivesSharedImages.getImage(ArchivesSharedImages.IMG_EXTERNAL_FILE));
- }
- else if (nodeDestination instanceof IContainer || nodeDestination instanceof IArchiveNode)
- {
+ destinationText.setText(path.toString());
+ destinationImage.setImage(ArchivesSharedImages.getImage(ArchivesSharedImages.IMG_EXTERNAL_FILE));
+ } else if (nodeDestination instanceof IContainer || nodeDestination instanceof IArchiveNode) {
inWorkspace = true;
}
}
-
- public void setEditable(boolean editable) {
- super.setEditable(editable);
-
- workspaceBrowseButton.setEnabled(editable);
- filesystemBrowseButton.setEnabled(editable);
- }
}
Added: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveFilesetDestinationComposite.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveFilesetDestinationComposite.java (rev 0)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveFilesetDestinationComposite.java 2007-12-12 21:44:07 UTC (rev 5272)
@@ -0,0 +1,41 @@
+package org.jboss.ide.eclipse.archives.ui.util.composites;
+
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.jboss.ide.eclipse.archives.ui.ArchivesUIMessages;
+import org.jboss.ide.eclipse.archives.ui.dialogs.ArchiveNodeDestinationDialog;
+
+public class ArchiveFilesetDestinationComposite extends ArchiveNodeDestinationComposite {
+ protected Button filesystemBrowseButton;
+ public ArchiveFilesetDestinationComposite(Composite parent, int style,
+ Object destination) {
+ super(parent, style, destination);
+ }
+
+ protected void fillBrowseComposite(Composite parent) {
+ Composite browseComposite = new Composite(parent, SWT.NONE);
+ browseComposite.setLayout(new GridLayout(2, false));
+
+ filesystemBrowseButton = new Button(browseComposite, SWT.PUSH);
+ filesystemBrowseButton.setText(ArchivesUIMessages.PackageDestinationComposite_workspaceBrowseButton_label);
+ filesystemBrowseButton.addSelectionListener(new SelectionAdapter () {
+ public void widgetSelected(SelectionEvent e) {
+ openDestinationDialog();
+ }
+ });
+ }
+
+ protected void openDestinationDialog() {
+ ArchiveNodeDestinationDialog dialog = new ArchiveNodeDestinationDialog(getShell(), nodeDestination, false, true);
+ if (nodeDestination != null)
+ dialog.setInitialSelection(nodeDestination);
+
+ if (dialog.open() == Dialog.OK)
+ setPackageNodeDestination(dialog.getResult()[0]);
+ }
+}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java 2007-12-12 19:15:41 UTC (rev 5271)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/util/composites/ArchiveNodeDestinationComposite.java 2007-12-12 21:44:07 UTC (rev 5272)
@@ -5,11 +5,7 @@
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
-import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
@@ -25,26 +21,21 @@
import org.jboss.ide.eclipse.archives.core.model.IArchive;
import org.jboss.ide.eclipse.archives.core.model.IArchiveFolder;
import org.jboss.ide.eclipse.archives.ui.ArchivesSharedImages;
-import org.jboss.ide.eclipse.archives.ui.ArchivesUIMessages;
-import org.jboss.ide.eclipse.archives.ui.dialogs.ArchiveNodeDestinationDialog;
import org.jboss.ide.eclipse.archives.ui.util.DestinationChangeListener;
-public class ArchiveNodeDestinationComposite extends Composite {
+public abstract class ArchiveNodeDestinationComposite extends Composite {
protected Composite parent;
protected Label destinationImage;
protected Text destinationText;
- protected Button destinationBrowseButton;
protected Object nodeDestination;
- protected boolean editable;
- protected ArrayList listeners;
+ protected ArrayList<DestinationChangeListener> listeners;
public ArchiveNodeDestinationComposite(Composite parent, int style, Object destination) {
super(parent, style);
this.parent = parent;
this.nodeDestination = destination;
- this.editable = true;
- this.listeners = new ArrayList();
+ this.listeners = new ArrayList<DestinationChangeListener>();
createComposite();
}
@@ -73,16 +64,7 @@
updateDestinationViewer();
}
- protected void fillBrowseComposite(Composite browseComposite) {
- destinationBrowseButton = new Button(browseComposite, SWT.PUSH);
- destinationBrowseButton.setText(ArchivesUIMessages.PackageNodeDestinationComposite_destinationBrowseButton_label);
- destinationBrowseButton.addSelectionListener(new SelectionAdapter () {
- public void widgetSelected(SelectionEvent e) {
- openDestinationDialog();
- }
- });
- destinationBrowseButton.setEnabled(editable);
- }
+ protected abstract void fillBrowseComposite(Composite browseComposite);
private FormData createFormData(Object topStart, int topOffset, Object bottomStart, int bottomOffset,
Object leftStart, int leftOffset, Object rightStart, int rightOffset) {
@@ -110,110 +92,66 @@
return data;
}
-
- protected void openDestinationDialog ()
- {
- ArchiveNodeDestinationDialog dialog = new ArchiveNodeDestinationDialog(getShell(), nodeDestination, true, true);
- if (nodeDestination != null)
- dialog.setInitialSelection(nodeDestination);
-
- int response = dialog.open();
- if (response == Dialog.OK)
- {
- Object object = dialog.getResult()[0];
- nodeDestination = object;
-
- updateDestinationViewer();
- fireDestinationChanged();
- }
- }
-
- public void setPackageNodeDestination (Object destination)
- {
+
+ public void setPackageNodeDestination (Object destination) {
+ System.out.println("setting destination to " + destination);
nodeDestination = destination;
updateDestinationViewer();
+ fireDestinationChanged();
}
- protected void setDestinationImage (Image image)
- {
- destinationImage.setImage(image);
- }
-
- protected void setDestinationText (String text)
- {
- destinationText.setText(text);
- }
-
- protected void updateDestinationViewer ()
- {
+ protected void updateDestinationViewer () {
if (nodeDestination == null) return;
destinationText.setText("");
- if (nodeDestination instanceof IArchive)
- {
+ if (nodeDestination instanceof IArchive) {
IArchive pkg = (IArchive) nodeDestination;
-
- if (pkg.isTopLevel())
- {
- setDestinationText(pkg.getName());
- } else {
- setDestinationText(pkg.getRootArchiveRelativePath().toOSString());
- }
- if (pkg.isExploded()) {
- setDestinationImage(ArchivesSharedImages.getImage(ArchivesSharedImages.IMG_PACKAGE_EXPLODED));
- } else {
- setDestinationImage(ArchivesSharedImages.getImage(ArchivesSharedImages.IMG_PACKAGE));
- }
- }
- else if (nodeDestination instanceof IArchiveFolder)
- {
+ String txt = pkg.isTopLevel() ? pkg.getName() : pkg.getRootArchiveRelativePath().toOSString();
+ String imgKey = pkg.isExploded() ? ArchivesSharedImages.IMG_PACKAGE_EXPLODED : ArchivesSharedImages.IMG_PACKAGE;
+
+ destinationText.setText(txt);
+ destinationImage.setImage(ArchivesSharedImages.getImage(imgKey));
+ } else if (nodeDestination instanceof IArchiveFolder) {
IArchiveFolder folder = (IArchiveFolder) nodeDestination;
- setDestinationText(folder.getRootArchiveRelativePath().toString());
- setDestinationImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER));
- }
- else if (nodeDestination instanceof IProject)
- {
+ destinationText.setText(folder.getRootArchiveRelativePath().toString());
+ destinationImage.setImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER));
+ } else if (nodeDestination instanceof IProject) {
IProject project = (IProject) nodeDestination;
- setDestinationText(project.getName());
- setDestinationImage(PlatformUI.getWorkbench().getSharedImages().getImage(IDE.SharedImages.IMG_OBJ_PROJECT));
- }
- else if (nodeDestination instanceof IFolder)
- {
+ destinationText.setText(project.getName());
+ destinationImage.setImage(PlatformUI.getWorkbench().getSharedImages().getImage(IDE.SharedImages.IMG_OBJ_PROJECT));
+ } else if (nodeDestination instanceof IFolder) {
IFolder folder = (IFolder) nodeDestination;
- setDestinationText("/" + folder.getProject().getName() + "/" + folder.getProjectRelativePath().toString());
- setDestinationImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER));
+ destinationText.setText("/" + folder.getProject().getName() + "/" + folder.getProjectRelativePath().toString());
+ destinationImage.setImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER));
}
}
- public Object getPackageNodeDestination ()
- {
+
+ /**
+ * The current destination
+ * @return
+ */
+
+ public Object getPackageNodeDestination () {
return nodeDestination;
}
-
- public void setEditable(boolean editable) {
- this.editable = editable;
- if (destinationBrowseButton != null)
- {
- destinationBrowseButton.setEnabled(editable);
- }
- }
- public void addDestinationChangeListener (DestinationChangeListener listener)
- {
+
+ /*
+ * Destination change listeners
+ */
+
+ public void addDestinationChangeListener (DestinationChangeListener listener) {
listeners.add(listener);
}
- public void removeDestinationChangeListener (DestinationChangeListener listener)
- {
+ public void removeDestinationChangeListener (DestinationChangeListener listener) {
listeners.remove(listener);
}
- private void fireDestinationChanged ()
- {
- for (Iterator iter = listeners.iterator(); iter.hasNext(); )
- {
- DestinationChangeListener listener = (DestinationChangeListener) iter.next();
- listener.destinationChanged(nodeDestination);
+ private void fireDestinationChanged () {
+ for (Iterator<DestinationChangeListener> iter = listeners.iterator(); iter.hasNext(); ) {
+ ((DestinationChangeListener) iter.next()).destinationChanged(nodeDestination);
}
}
}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java 2007-12-12 19:15:41 UTC (rev 5271)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java 2007-12-12 21:44:07 UTC (rev 5272)
@@ -33,6 +33,7 @@
import org.jboss.ide.eclipse.archives.core.model.IArchiveNode;
import org.jboss.ide.eclipse.archives.ui.ArchivesSharedImages;
import org.jboss.ide.eclipse.archives.ui.ArchivesUIMessages;
+import org.jboss.ide.eclipse.archives.ui.util.composites.ArchiveFilesetDestinationComposite;
import org.jboss.ide.eclipse.archives.ui.util.composites.ArchiveNodeDestinationComposite;
import org.jboss.ide.eclipse.archives.ui.util.composites.FilesetPreviewComposite;
@@ -128,6 +129,7 @@
previewGroup.setText(ArchivesUIMessages.FilesetInfoWizardPage_previewGroup_label);
return previewGroup;
}
+
private Group createInfoGroup(Composite mainComposite) {
Group infoGroup = new Group(mainComposite, SWT.NONE);
infoGroup.setText(ArchivesUIMessages.FilesetInfoWizardPage_infoGroup_title);
@@ -143,7 +145,7 @@
// destination row
Label destinationKey = new Label(infoGroup, SWT.NONE);
- destinationComposite = new ArchiveNodeDestinationComposite(infoGroup, SWT.NONE, parentNode);
+ destinationComposite = new ArchiveFilesetDestinationComposite(infoGroup, SWT.NONE, parentNode);
destinationKey.setLayoutData(createFormData(0,10,null,0,null,5, 0, max));
destinationComposite.setLayoutData(createFormData(0,5,null,0,destinationKey,5, 100, -5));
17 years, 1 month
JBoss Tools SVN: r5271 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-12-12 14:15:41 -0500 (Wed, 12 Dec 2007)
New Revision: 5271
Modified:
trunk/documentation/jboss-tools-docs/index.html
Log:
JBoos -> JBoss
Modified: trunk/documentation/jboss-tools-docs/index.html
===================================================================
--- trunk/documentation/jboss-tools-docs/index.html 2007-12-12 17:17:49 UTC (rev 5270)
+++ trunk/documentation/jboss-tools-docs/index.html 2007-12-12 19:15:41 UTC (rev 5271)
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Books on JBoss tools" content="text/html; charset=iso-8859-1" />
-<title>JBoos Tools Guides</title>
+<title>JBoss Tools Guides</title>
</head>
<h1>JBoss Tools Guides - Version 1.0.0.GA:</h1>
17 years, 1 month
JBoss Tools SVN: r5270 - trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 12:17:49 -0500 (Wed, 12 Dec 2007)
New Revision: 5270
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsfprojects.meta
Log:
JBIDE-1474
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsfprojects.meta
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsfprojects.meta 2007-12-12 17:17:29 UTC (rev 5269)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsfprojects.meta 2007-12-12 17:17:49 UTC (rev 5270)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.0"/>
<MAPPINGS>
@@ -38,17 +39,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="bean" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="class name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="class name"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem HandlerClassName="%OpenJavaSource%" ICON="action.empty"
@@ -72,17 +68,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="method" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="class name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="class name"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -109,15 +100,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="class name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="class name"/>
<XModelAttribute default="property" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -145,7 +131,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Beans" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -166,7 +151,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Configuration" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -179,7 +163,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jsf.model.pv.handler.JSFProjectsConfigurationRedirectHandler"
ICON="action.new.jsf.faces-config"
- PROPERTIES="actionpath=CreateActions/CreateFiles/JSF/CreateFacesConfig"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/JSF/CreateFacesConfigV"
displayName="Faces Config" kind="action" name="CreateFacesConfig"/>
</XActionItem>
</XActionItem>
@@ -200,7 +184,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Resource Bundles" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -212,7 +195,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsResourceRedirectHandler"
ICON="action.new.file.unknow_file"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Common/CreateFileProperties"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Common/CreateFilePropertiesV"
displayName="Properties File..." kind="action" name="CreateFileProperties"/>
</XActionItem>
</XActionItem>
@@ -232,7 +215,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Tag Libraries" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -244,7 +226,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsTaglibsRedirectHandler"
ICON="main.tld.taglib"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Web/CreateFileTLD"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Web/CreateFileTLDV"
displayName="Tag Library..." kind="action" name="CreateFileTLD"/>
</XActionItem>
</XActionItem>
@@ -264,7 +246,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="Tiles" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -275,7 +256,7 @@
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.pv.handler.ProjectsTaglibsRedirectHandler"
ICON="action.new.web.tiles.file"
- PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateTiles"
+ PROPERTIES="actionpath=CreateActions/CreateFiles/Struts/CreateTilesV"
displayName="Tiles..." kind="action" name="CreateTiles"/>
</XActionItem>
</XActionItem>
@@ -298,10 +279,7 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute default="JSFProjects" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="JSFProjects" name="name" xmlname="NAME"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="JBoss Tools JSF"
@@ -322,7 +300,8 @@
<XActionItem kind="list" name="CreateActions">
<XActionItem
HandlerClassName="org.jboss.tools.jst.web.project.handlers.CreateTemplateFromProjectHandler"
- ICON="action.empty" displayName="Save As Template..." kind="action" name="SaveAsTemplate"/>
+ ICON="action.empty" displayName="Save As Template..."
+ kind="action" name="SaveAsTemplate"/>
</XActionItem>
<XActionItem kind="list" name="Separator"/>
<XActionItem
@@ -382,7 +361,6 @@
<XEntityRenderer/>
<XModelAttributes>
<XModelAttribute default="JSF Workspace" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
17 years, 1 month
JBoss Tools SVN: r5269 - trunk/common/plugins/org.jboss.tools.common.model/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 12:17:29 -0500 (Wed, 12 Dec 2007)
New Revision: 5269
Modified:
trunk/common/plugins/org.jboss.tools.common.model/resources/meta/filesystems.meta
Log:
JBIDE-1474
Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/filesystems.meta
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/resources/meta/filesystems.meta 2007-12-12 16:57:50 UTC (rev 5268)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/filesystems.meta 2007-12-12 17:17:29 UTC (rev 5269)
@@ -36,23 +36,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="file" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="body" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="extension" xmlname="EXTENSION">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
+ <XModelAttribute TRIM="no" name="body" visibility="false"/>
+ <XModelAttribute TRIM="no" name="extension" xmlname="EXTENSION"/>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -139,19 +128,15 @@
<XModelAttributes>
<XModelAttribute default="auxiliary file" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -169,23 +154,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="file" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="name" xmlname="NAME"/>
<XModelAttribute TRIM="no" name="body" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute TRIM="no" name="extension" xmlname="EXTENSION">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute TRIM="no" name="extension" xmlname="EXTENSION"/>
<XModelAttribute name="_file" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -278,12 +254,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
<Constraint loader="FolderName"/>
- <Editor/>
</XModelAttribute>
</XModelAttributes>
<XActionItem kind="list">
@@ -319,7 +293,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.unknow_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FilePROPERTIES;extension=properties;validator.addfile=true"
displayName="Properties..." kind="action" name="CreateFileProperties">
@@ -329,6 +303,10 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.unknow_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard"
+ displayName="Properties..." kind="action" name="CreateFilePropertiesV"/>
</XActionItem>
<XActionItem displayName="Web" kind="list" name="Web"/>
<XActionItem kind="list" name="JSF"/>
@@ -393,13 +371,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="file system" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute name="location" xmlname="LOCATION">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -408,14 +382,8 @@
</Constraint>
<Editor name="FolderChooser"/>
</XModelAttribute>
- <XModelAttribute name="owner" visibility="false" xmlname="OWNER">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="info" visibility="false" xmlname="INFO">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="owner" visibility="false" xmlname="OWNER"/>
+ <XModelAttribute name="info" visibility="false" xmlname="INFO"/>
<XModelAttribute default="false"
name="set location relative to project" visibility="false">
<Constraint loader="ListString">
@@ -458,7 +426,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.unknow_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FilePROPERTIES;extension=properties;validator.addfile=true"
displayName="Properties..." kind="action" name="CreateFileProperties">
@@ -468,6 +436,10 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.unknow_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard"
+ displayName="Properties..." kind="action" name="CreateFilePropertiesV"/>
</XActionItem>
<XActionItem displayName="Web" kind="list" name="Web"/>
<XActionItem kind="list" name="JSF"/>
@@ -527,13 +499,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="file system" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute name="location" xmlname="LOCATION">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -543,14 +511,8 @@
</Constraint>
<Editor name="FileChooser"/>
</XModelAttribute>
- <XModelAttribute name="owner" visibility="false" xmlname="OWNER">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="info" visibility="false" xmlname="INFO">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="owner" visibility="false" xmlname="OWNER"/>
+ <XModelAttribute name="info" visibility="false" xmlname="INFO"/>
<XModelAttribute default="false"
name="set location relative to project" visibility="false">
<Constraint loader="ListString">
@@ -597,23 +559,14 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="FileSystems" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="application name" xmlname="APPLICATION_NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="quick start class" visibility="false" xmlname="QUICK_START_CLASS">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="application name" xmlname="APPLICATION_NAME"/>
+ <XModelAttribute name="quick start class" visibility="false" xmlname="QUICK_START_CLASS"/>
<XModelAttribute name="version" visibility="false" xmlname="VERSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -685,13 +638,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" visibility="false" xmlname="NAME"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" kind="list" name="Properties">
17 years, 1 month
JBoss Tools SVN: r5268 - trunk/jst/plugins/org.jboss.tools.jst.web.tiles/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 11:57:50 -0500 (Wed, 12 Dec 2007)
New Revision: 5268
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.tiles/resources/meta/tiles.meta
Log:
JBIDE-1474
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles/resources/meta/tiles.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles/resources/meta/tiles.meta 2007-12-12 16:47:31 UTC (rev 5267)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles/resources/meta/tiles.meta 2007-12-12 16:57:50 UTC (rev 5268)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.1"/>
<MAPPINGS>
@@ -64,13 +65,9 @@
<Editor name="ContainerChooser"/>
</XModelAttribute>
<XModelAttribute name="separator">
- <Constraint/>
<Editor name="Separator"/>
</XModelAttribute>
- <XModelAttribute name="name" visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" visibility="false" xmlname="NAME"/>
<XModelAttribute default="yes" name="register">
<Constraint loader="List">
<value name="yes"/>
@@ -99,33 +96,21 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="tiles definitions" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
<XModelAttribute
default="http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"
- name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -133,10 +118,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute default="false" name="expanded" visibility="false">
<Constraint loader="List">
<value name="false"/>
@@ -145,7 +127,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute name="encoding">
@@ -298,10 +279,7 @@
<XChildrenEntities/>
<XEntityRenderer/>
<XModelAttributes>
- <XModelAttribute name="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name"/>
<XModelAttribute default="true" name="update references">
<Constraint loader="List">
<value name="true"/>
@@ -324,12 +302,8 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute name="value" xmlname="value|#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute name="type" xmlname="type">
@@ -350,7 +324,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute name="content" xmlname="content|#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -389,10 +362,7 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute PROPERTIES="id=true" name="classtype" xmlname="classtype">
<Constraint loader="QClassName"/>
<Editor name="AccessibleJava"/>
@@ -401,9 +371,9 @@
<XActionItem kind="list">
<XActionItem kind="list" name="CreateActions">
<XActionItem HandlerClassName="%Create%"
- ICON="action.new.struts.set-property" PROPERTIES="validator.add=true"
- WizardClassName="%Default%" displayName="Create Set Property..."
- kind="action" name="CreateSetProperty">
+ ICON="action.new.struts.set-property"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Create Set Property..." kind="action" name="CreateSetProperty">
<EntityData EntityName="StrutsSetProperty">
<AttributeData AttributeName="property"/>
<AttributeData AttributeName="value"/>
@@ -447,27 +417,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="definition" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="linkAction=JumpByPath" name="path" xmlname="path">
<Constraint loader="Properties">
<value name="linkAction=JumpByPath"/>
</Constraint>
<Editor name="StrutsPathEditor"/>
</XModelAttribute>
- <XModelAttribute name="page" xmlname="page">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="template" xmlname="template">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="page" xmlname="page"/>
+ <XModelAttribute name="template" xmlname="template"/>
<XModelAttribute name="extends" xmlname="extends">
<Constraint loader="ListString"/>
<Editor name="DefinitionsList"/>
@@ -487,28 +447,14 @@
</Constraint>
<Editor name="StrutsPathEditor"/>
</XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="small-icon" xmlname="icon.small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="icon.large-icon.#text"/>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -586,30 +532,15 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="value" xmlname="value">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="link" xmlname="link">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
+ <XModelAttribute PROPERTIES="id=true" name="value" xmlname="value"/>
+ <XModelAttribute name="link" xmlname="link"/>
<XModelAttribute name="classtype" xmlname="classtype">
<Constraint loader="QClassName"/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="icon" xmlname="icon">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="tooltip" xmlname="tooltip">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="icon" xmlname="icon"/>
+ <XModelAttribute name="tooltip" xmlname="tooltip"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -649,14 +580,8 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
+ <XModelAttribute name="id" xmlname="id"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem kind="list" name="CreateActions">
@@ -728,15 +653,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="process" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="module" visibility="false" xmlname="MODULE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="no" name="hide comments" visibility="false" xmlname="HIDE_COMMENTS">
@@ -806,35 +728,27 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="definition" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="title" xmlname="TITLE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="id" xmlname="ID">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="type" xmlname="TYPE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="subtype" xmlname="SUBTYPE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="path" xmlname="PATH">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="shape" xmlname="SHAPE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute COPYABLE="no" default="false" name="confirmed" visibility="false">
@@ -896,39 +810,30 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="extends" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="title" xmlname="TITLE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="id" xmlname="ID">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="type" xmlname="TYPE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="subtype" xmlname="SUBTYPE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="path" xmlname="PATH">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="shape" xmlname="SHAPE">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="target" xmlname="TARGET">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="no" name="hidden" xmlname="HIDDEN">
@@ -968,16 +873,9 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute name="value" xmlname="value|#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute name="type" xmlname="type">
@@ -998,7 +896,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute name="content" xmlname="content|#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1032,7 +929,7 @@
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
<XActionItem displayName="File" group="1" kind="list" name="CreateFiles">
<XActionItem displayName="Struts" kind="list" name="Struts">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.web.tiles.file"
PROPERTIES="support=org.jboss.tools.jst.web.tiles.model.handlers.CreateTilesSupport;entity=FileTiles;extension=xml;validator.addfile=true"
displayName="Tiles..." kind="action" name="CreateTiles">
@@ -1043,6 +940,10 @@
<AttributeData AttributeName="register" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.web.tiles.file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.tiles.ui;wizard=org.jboss.tools.jst.web.tiles.ui.wizard.newfile.NewTilesFileWizard"
+ displayName="Tiles..." kind="action" name="CreateTilesV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -1056,7 +957,7 @@
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
<XActionItem displayName="File" group="1" kind="list" name="CreateFiles">
<XActionItem displayName="Struts" kind="list" name="Struts">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.web.tiles.file"
PROPERTIES="support=org.jboss.tools.jst.web.tiles.model.handlers.CreateTilesSupport;entity=FileTiles;extension=xml;validator.addfile=true"
displayName="Tiles..." kind="action" name="CreateTiles">
@@ -1067,6 +968,10 @@
<AttributeData AttributeName="register" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.web.tiles.file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.tiles.ui;wizard=org.jboss.tools.jst.web.tiles.ui.wizard.newfile.NewTilesFileWizard"
+ displayName="Tiles..." kind="action" name="CreateTilesV"/>
</XActionItem>
</XActionItem>
</XActionItem>
17 years, 1 month
JBoss Tools SVN: r5267 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 11:47:31 -0500 (Wed, 12 Dec 2007)
New Revision: 5267
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutswebapp.meta
Log:
JBIDE-1474
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 2007-12-12 16:37:30 UTC (rev 5266)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutswebapp.meta 2007-12-12 16:47:31 UTC (rev 5267)
@@ -124,32 +124,20 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="deployment descriptor" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
<XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
<XModelAttribute default="http://java.sun.com/dtd/web-app_2_3.dtd"
- name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -157,10 +145,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute default="false" name="expanded" visibility="false">
<Constraint loader="List">
<value name="false"/>
@@ -182,12 +167,8 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="display-name" xmlname="display-name.#text"/>
<XModelAttribute PROPERTIES="category=general" name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" default="no"
@@ -199,13 +180,9 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute PROPERTIES="category=advanced" default="UTF-8" name="encoding">
<Constraint loader="ListString">
<value name="ISO-8859-1"/>
@@ -548,19 +525,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="auth constraint" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -605,27 +576,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="context param" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="param-name" xmlname="param-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="param-name" xmlname="param-name.#text"/>
<XModelAttribute PROPERTIES="save=always" name="param-value" xmlname="param-value.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -660,15 +621,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="ejb reference" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always" name="ejb-ref-name" xmlname="ejb-ref-name.#text">
- <Constraint/>
<Editor name="Name"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="ejb-ref-type" xmlname="ejb-ref-type.#text">
@@ -679,23 +637,14 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="local-home" xmlname="local-home.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="local" xmlname="local.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="ejb-link" xmlname="ejb-link.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="ejb-link" xmlname="ejb-link.#text"/>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -730,15 +679,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="ejb reference" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always" name="ejb-ref-name" xmlname="ejb-ref-name.#text">
- <Constraint/>
<Editor name="Name"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="ejb-ref-type" xmlname="ejb-ref-type.#text">
@@ -749,23 +695,14 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="home" xmlname="home.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="remote" xmlname="remote.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="ejb-link" xmlname="ejb-link.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="ejb-link" xmlname="ejb-link.#text"/>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -800,22 +737,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="entry" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always"
- name="env-entry-name" xmlname="env-entry-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="env-entry-value" xmlname="env-entry-value.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="env-entry-name" xmlname="env-entry-name.#text"/>
+ <XModelAttribute name="env-entry-value" xmlname="env-entry-value.#text"/>
<XModelAttribute PROPERTIES="save=always" default="java.lang.String"
name="env-entry-type" xmlname="env-entry-type.#text">
<Constraint loader="ListString">
@@ -827,12 +756,8 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -869,7 +794,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="error page" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="error-code" xmlname="error-code.#text">
@@ -880,7 +804,6 @@
<Editor name="Int"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="exception-type" xmlname="exception-type.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" name="location" xmlname="location.#text">
@@ -890,12 +813,8 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -947,7 +866,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="filter" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="small-icon" xmlname="icon.small-icon.#text">
@@ -965,29 +883,17 @@
<Editor name="TreeChooser"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always;category=general"
- name="filter-name" xmlname="filter-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="filter-name" xmlname="filter-name.#text"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="display-name" xmlname="display-name.#text"/>
<XModelAttribute PROPERTIES="category=advanced" name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always;category=general"
name="filter-class" xmlname="filter-class.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1035,27 +941,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="filter mapping" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="filter-name" xmlname="filter-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="url-pattern" xmlname="url-pattern.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="servlet-name" xmlname="servlet-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="filter-name" xmlname="filter-name.#text"/>
+ <XModelAttribute PROPERTIES="id=true" name="url-pattern" xmlname="url-pattern.#text"/>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="servlet-name" xmlname="servlet-name.#text"/>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1093,11 +985,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="context params" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Context Params" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1148,11 +1038,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="ejb" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="EJB" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1216,12 +1104,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="env entries" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Env Entries"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1271,12 +1157,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="error pages" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Error Pages"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1327,11 +1211,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="filters" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Filters" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1392,12 +1274,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="listeners" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Listeners"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1446,12 +1326,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="message destinations" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Message Destinations"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1509,12 +1387,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="mime mappings" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Mime Mappings"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1564,12 +1440,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="resources" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Resources"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1628,12 +1502,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="security constraints" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Security Constraints"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1681,12 +1553,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="roles" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Security Roles"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1734,11 +1604,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="services" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Services" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1788,11 +1656,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="servlets" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="Servlets" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1852,12 +1718,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="jsp config" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;" default="JSP Config"
name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1903,27 +1767,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="parameter" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="param-name" xmlname="param-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="param-name" xmlname="param-name.#text"/>
<XModelAttribute PROPERTIES="save=always" name="param-value" xmlname="param-value.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -1958,19 +1812,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="listener" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="listener-class" xmlname="listener-class.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2003,14 +1851,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="login config" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="login-config" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ visibility="false" xmlname="NAME"/>
<XModelAttribute PROPERTIES="save=always" default="BASIC"
name="auth-method" xmlname="auth-method.#text">
<Constraint loader="List">
@@ -2021,10 +1865,7 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="realm-name" xmlname="realm-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="realm-name" xmlname="realm-name.#text"/>
<XModelAttribute name="form-login-page" xmlname="form-login-config.form-login-page.#text">
<Constraint loader="Tree">
<value name="FileSystemResource"/>
@@ -2039,12 +1880,8 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2072,7 +1909,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="mime mapping" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always;id=true" name="extension" xmlname="extension.#text">
@@ -2116,12 +1952,8 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2158,21 +1990,13 @@
<XModelAttributes>
<XModelAttribute default="web resource collection"
loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="web-resource-name" xmlname="web-resource-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="web-resource-name" xmlname="web-resource-name.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="url-patterns" xmlname="url-patterns">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="url-patterns" xmlname="url-patterns"/>
<XModelAttribute name="http-methods" xmlname="http-methods">
<Constraint loader="ListAdd">
<value name="GET"/>
@@ -2185,12 +2009,8 @@
</Constraint>
<Editor name="ListAdd"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2227,29 +2047,21 @@
<XModelAttributes>
<XModelAttribute default="resource env reference"
loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always"
name="resource-env-ref-name" xmlname="resource-env-ref-name.#text">
- <Constraint/>
<Editor name="Name"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always"
name="resource-env-ref-type" xmlname="resource-env-ref-type.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2284,19 +2096,15 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="resource reference" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="res-ref-name" xmlname="res-ref-name.#text">
- <Constraint/>
<Editor name="Name"/>
</XModelAttribute>
<XModelAttribute name="res-type" xmlname="res-type.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" default="Container"
@@ -2315,12 +2123,8 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2355,19 +2159,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="role" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="role-name" xmlname="#text">
<Constraint loader="ListString"/>
<Editor name="WebRoleList"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2402,23 +2201,17 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="run as" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always" name="role-name" xmlname="role-name.#text">
<Constraint loader="ListString"/>
<Editor name="WebRoleList"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2456,25 +2249,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="security constraint" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </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">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="_id_" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="_id_" visibility="false"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="Create" kind="list" name="CreateActions">
@@ -2535,11 +2317,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="security role" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="role-name" xmlname="role-name.#text">
@@ -2548,12 +2328,8 @@
</Constraint>
<Editor name="Name"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2590,11 +2366,9 @@
<XModelAttributes>
<XModelAttribute default="security role reference"
loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always" name="role-name" xmlname="role-name.#text">
@@ -2605,12 +2379,8 @@
<Constraint loader="ListString"/>
<Editor name="WebRoleList"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2652,7 +2422,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="servlet" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="small-icon" xmlname="icon.small-icon.#text">
@@ -2670,20 +2439,12 @@
<Editor name="TreeChooser"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always;category=general"
- name="servlet-name" xmlname="servlet-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ 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">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" name="servlet-class" xmlname="servlet-class.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="jsp-file" xmlname="jsp-file.#text">
@@ -2699,12 +2460,8 @@
</Constraint>
<Editor name="Int"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2771,23 +2528,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="servlet mapping" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="servlet-name" xmlname="servlet-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="url-pattern" xmlname="url-pattern.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="servlet-name" xmlname="servlet-name.#text"/>
+ <XModelAttribute PROPERTIES="save=always" name="url-pattern" xmlname="url-pattern.#text"/>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2829,12 +2575,8 @@
</Constraint>
<Editor name="Int"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2866,13 +2608,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="taglib" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="taglib-uri" xmlname="taglib-uri.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="taglib-uri" xmlname="taglib-uri.#text"/>
<XModelAttribute PROPERTIES="save=always" name="taglib-location" xmlname="taglib-location.#text">
<Constraint loader="Tree">
<value name="WebPageTree"/>
@@ -2880,12 +2618,8 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2922,11 +2656,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="user data constraint" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute name="transport-guarantee" xmlname="transport-guarantee.#text">
@@ -2937,12 +2669,8 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -2977,7 +2705,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="welcome file" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="file name" xmlname="#text">
@@ -2987,12 +2714,8 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -3031,20 +2754,14 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="welcome file list" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="welcome-file-list" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -3081,7 +2798,7 @@
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
<XActionItem displayName="File" group="1" kind="list" name="CreateFiles">
<XActionItem displayName="Web" kind="list" name="Web">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.struts.webapp.file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileWebApp;extension=xml;validator.addfile=true;entityVersion=WebApp"
displayName="Web Descriptor..." kind="action" name="CreateWebApp">
@@ -3092,6 +2809,10 @@
<AttributeData AttributeName="version" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.struts.webapp.file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewWebFileWizard"
+ displayName="Web Descriptor..." kind="action" name="CreateWebAppV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -3105,7 +2826,7 @@
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
<XActionItem displayName="File" group="1" kind="list" name="CreateFiles">
<XActionItem displayName="Web" kind="list" name="Web">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.struts.webapp.file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileWebApp;extension=xml;validator.addfile=true;entityVersion=WebApp"
displayName="Web Descriptor..." kind="action" name="CreateWebApp">
@@ -3116,6 +2837,10 @@
<AttributeData AttributeName="version" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.struts.webapp.file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewWebFileWizard"
+ displayName="Web Descriptor..." kind="action" name="CreateWebAppV"/>
</XActionItem>
</XActionItem>
</XActionItem>
17 years, 1 month
JBoss Tools SVN: r5266 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 11:37:30 -0500 (Wed, 12 Dec 2007)
New Revision: 5266
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta
Log:
JBIDE-1474
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta 2007-12-12 16:37:11 UTC (rev 5265)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta 2007-12-12 16:37:30 UTC (rev 5266)
@@ -800,7 +800,7 @@
</XActionItem>
<XActionItem HandlerClassName="%WizardInvoker%"
ICON="main.tld.taglib"
- PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewTLDFileWizard"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizard.newfile.NewTLDFileWizard"
displayName="Tag Library..." kind="action" name="CreateFileTLDV"/>
</XActionItem>
</XActionItem>
17 years, 1 month
JBoss Tools SVN: r5265 - trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 11:37:11 -0500 (Wed, 12 Dec 2007)
New Revision: 5265
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta
Log:
JBIDE-1474
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta 2007-12-12 16:27:13 UTC (rev 5264)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta 2007-12-12 16:37:11 UTC (rev 5265)
@@ -4779,7 +4779,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem displayName="JSF" kind="list" name="JSF">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.jsf.faces-config"
PROPERTIES="entity=FacesConfig;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.jsf.model.handlers.CreateFacesConfigSupport;extension=xml;entityVersion=FacesConfig"
displayName="Faces Config" kind="action" name="CreateFacesConfig">
@@ -4791,6 +4791,10 @@
<AttributeData AttributeName="register in web.xml" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.jsf.faces-config"
+ PROPERTIES="plugin=org.jboss.tools.jsf.ui;wizard=org.jboss.tools.jsf.ui.wizard.newfile.NewFacesConfigFileWizard"
+ displayName="Faces Config" kind="action" name="CreateFacesConfigV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -4808,7 +4812,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem displayName="JSF" kind="list" name="JSF">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.jsf.faces-config"
PROPERTIES="entity=FacesConfig;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.jsf.model.handlers.CreateFacesConfigSupport;extension=xml;entityVersion=FacesConfig"
displayName="Faces Config" kind="action" name="CreateFacesConfig">
@@ -4820,6 +4824,10 @@
<AttributeData AttributeName="register in web.xml" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.jsf.faces-config"
+ PROPERTIES="plugin=org.jboss.tools.jsf.ui;wizard=org.jboss.tools.jsf.ui.wizard.newfile.NewFacesConfigFileWizard"
+ displayName="Faces Config" kind="action" name="CreateFacesConfigV"/>
</XActionItem>
</XActionItem>
</XActionItem>
17 years, 1 month
JBoss Tools SVN: r5264 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-12-12 11:27:13 -0500 (Wed, 12 Dec 2007)
New Revision: 5264
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta
trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta
Log:
JBIDE-1474
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta 2007-12-12 16:26:48 UTC (rev 5263)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta 2007-12-12 16:27:13 UTC (rev 5264)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.1"/>
<MAPPINGS>
@@ -40,33 +41,21 @@
<XModelAttributes>
<XModelAttribute default="tag library descriptor"
loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute default="tld" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
<XModelAttribute
default="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
- name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -74,10 +63,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute default="false" name="expanded" visibility="false">
<Constraint loader="List">
<value name="false"/>
@@ -86,10 +72,7 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" default="1.0"
- name="tlibversion" xmlname="tlib-version.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="tlibversion" xmlname="tlib-version.#text"/>
<XModelAttribute PROPERTIES="save=always" default="1.2"
name="jspversion" xmlname="jsp-version.#text">
<Constraint loader="ListString">
@@ -100,36 +83,16 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="shortname" xmlname="short-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="uri" xmlname="uri.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="shortname" xmlname="short-name.#text"/>
+ <XModelAttribute name="uri" xmlname="uri.#text"/>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute name="small-icon" xmlname="small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="large-icon.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute default="UTF-8" name="encoding">
@@ -285,10 +248,7 @@
<XChildrenEntities/>
<XEntityRenderer/>
<XModelAttributes>
- <XModelAttribute name="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name"/>
<XModelAttribute name="tld">
<Constraint loader="Tree">
<value name="AllTldsTree"/>
@@ -297,14 +257,8 @@
</Constraint>
<Editor name="TreeChooser"/>
</XModelAttribute>
- <XModelAttribute name="default prefix">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="library uri">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="default prefix"/>
+ <XModelAttribute name="library uri"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem kind="list" name="CreateActions">
@@ -335,19 +289,13 @@
</Constraint>
<Editor name="ContainerChooser"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute name="version">
<Constraint loader="ListString"/>
<Editor name="DropDown"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always" default="1.0"
- name="tlibversion" xmlname="tlib-version.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="tlibversion" xmlname="tlib-version.#text"/>
<XModelAttribute PROPERTIES="save=always" default="1.2"
name="jspversion" xmlname="jsp-version.#text">
<Constraint loader="ListString">
@@ -358,20 +306,12 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="shortname" xmlname="short-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="uri" xmlname="uri.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="shortname" xmlname="short-name.#text"/>
+ <XModelAttribute name="uri" xmlname="uri.#text"/>
<XModelAttribute name="separator">
- <Constraint/>
<Editor name="Separator"/>
</XModelAttribute>
<XModelAttribute name="separator2">
- <Constraint/>
<Editor name="Separator"/>
</XModelAttribute>
</XModelAttributes>
@@ -387,13 +327,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="attribute" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="name" xmlname="name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="name" xmlname="name.#text"/>
<XModelAttribute default="false" name="required" xmlname="required.#text">
<Constraint loader="List">
<value name="true"/>
@@ -414,15 +350,12 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute name="type" xmlname="type.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -455,19 +388,13 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="listener" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" name="listener-class" xmlname="listener-class.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -503,11 +430,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="listeners list" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Listeners" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -547,13 +472,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="tag" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always;id=true" name="name" xmlname="name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always;id=true" name="name" xmlname="name.#text"/>
<XModelAttribute PROPERTIES="save=always" name="tagclass" xmlname="tag-class.#text">
<Constraint loader="QClassName"/>
<Editor name="AccessibleJava"/>
@@ -570,32 +491,17 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute name="display-name" xmlname="display-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="small-icon" xmlname="small-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="large-icon" xmlname="large-icon.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="display-name" xmlname="display-name.#text"/>
+ <XModelAttribute name="small-icon" xmlname="small-icon.#text"/>
+ <XModelAttribute name="large-icon" xmlname="large-icon.#text"/>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute name="example" xmlname="example.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -657,11 +563,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="tags list" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Tags" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -698,23 +602,16 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="validator" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="validator-class" xmlname="validator-class.#text">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="id" visibility="false" xmlname="id">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="id" visibility="false" xmlname="id"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -773,25 +670,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="validator" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always;id=true" name="name-given" xmlname="name-given.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="name-from-attribute" xmlname="name-from-attribute.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="variable-class" xmlname="variable-class.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="declare" xmlname="declare.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always;id=true" name="name-given" xmlname="name-given.#text"/>
+ <XModelAttribute PROPERTIES="id=true" name="name-from-attribute" xmlname="name-from-attribute.#text"/>
+ <XModelAttribute name="variable-class" xmlname="variable-class.#text"/>
+ <XModelAttribute name="declare" xmlname="declare.#text"/>
<XModelAttribute name="scope" xmlname="scope.#text">
<Constraint loader="List">
<value/>
@@ -802,11 +686,9 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute name="description" xmlname="description.#text">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -865,7 +747,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem displayName="Web" kind="list" name="Web">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="main.tld.taglib"
PROPERTIES="entity=FileTLD_1_2;extensions=.tld.;validator.addfile=true;extension=tld;support=org.jboss.tools.jst.web.tld.model.handlers.CreateTLDFileSupport;entityVersion=TLD"
displayName="Tag Library..." kind="action" name="CreateFileTLD">
@@ -881,6 +763,10 @@
<AttributeData AttributeName="uri" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="main.tld.taglib"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizard.newfile.NewTLDFileWizard"
+ displayName="Tag Library..." kind="action" name="CreateFileTLDV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -896,7 +782,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem displayName="Web" kind="list" name="Web">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="main.tld.taglib"
PROPERTIES="entity=FileTLD_1_2;extensions=.tld.;validator.addfile=true;extension=tld;support=org.jboss.tools.jst.web.tld.model.handlers.CreateTLDFileSupport;entityVersion=TLD"
displayName="Tag Library..." kind="action" name="CreateFileTLD">
@@ -912,6 +798,10 @@
<AttributeData AttributeName="uri" Mandatory="no"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="main.tld.taglib"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewTLDFileWizard"
+ displayName="Tag Library..." kind="action" name="CreateFileTLDV"/>
</XActionItem>
</XActionItem>
</XActionItem>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta 2007-12-12 16:26:48 UTC (rev 5263)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta 2007-12-12 16:27:13 UTC (rev 5264)
@@ -79,10 +79,7 @@
</ICONS>
</XEntityRenderer>
<XModelAttributes>
- <XModelAttribute default="Bundle List" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="Bundle List" name="name" xmlname="NAME"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="Create" kind="list" name="CreateActions">
@@ -111,23 +108,12 @@
<XModelAttributes>
<XModelAttribute default="file" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="body" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute default="css" name="extension" xmlname="EXTENSION">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
+ <XModelAttribute TRIM="no" name="body" visibility="false"/>
+ <XModelAttribute default="css" name="extension" xmlname="EXTENSION"/>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -200,23 +186,12 @@
<XModelAttributes>
<XModelAttribute default="file" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="body" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute default="js" name="extension" xmlname="EXTENSION">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
+ <XModelAttribute TRIM="no" name="body" visibility="false"/>
+ <XModelAttribute default="js" name="extension" xmlname="EXTENSION"/>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -289,23 +264,14 @@
<XModelAttributes>
<XModelAttribute default="tld" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="body" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
+ <XModelAttribute TRIM="no" name="body" visibility="false"/>
<XModelAttribute default="tld" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -357,13 +323,9 @@
<XModelAttributes>
<XModelAttribute default="tld" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -371,16 +333,11 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute TRIM="no" name="body" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute TRIM="no" name="body" visibility="false"/>
<XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -451,23 +408,15 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="Web" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="model path" xmlname="MODEL_PATH">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="Web" name="name" xmlname="NAME"/>
+ <XModelAttribute name="model path" xmlname="MODEL_PATH"/>
<XModelAttribute name="servlet version" visibility="false" xmlname="SERVLET_VERSION">
<Constraint loader="List">
<value name="2.2"/>
<value name="2.3"/>
<value name="2.4"/>
- <value name="2.5"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
@@ -487,17 +436,12 @@
<XModelAttributes>
<XModelAttribute default="config" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="URI" xmlname="URI">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="URI" xmlname="URI"/>
<XModelAttribute name="path on disk">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -507,10 +451,7 @@
</Constraint>
<Editor name="FileChooser"/>
</XModelAttribute>
- <XModelAttribute name="model path" xmlname="MODEL_PATH">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="model path" xmlname="MODEL_PATH"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
@@ -529,17 +470,12 @@
<XModelAttributes>
<XModelAttribute default="module" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="URI" xmlname="URI">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="URI" xmlname="URI"/>
<XModelAttribute name="path on disk">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -565,18 +501,9 @@
</Constraint>
<Editor name="FolderChooser"/>
</XModelAttribute>
- <XModelAttribute name="model path" xmlname="MODEL_PATH">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="root file system" xmlname="ROOT">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="src file system" xmlname="SRC">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="model path" xmlname="MODEL_PATH"/>
+ <XModelAttribute name="root file system" xmlname="ROOT"/>
+ <XModelAttribute name="src file system" xmlname="SRC"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
@@ -590,7 +517,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="run page helper" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="url" xmlname="url">
@@ -624,10 +550,7 @@
<XChildrenEntities/>
<XEntityRenderer/>
<XModelAttributes>
- <XModelAttribute name="filter">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="filter"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
@@ -636,10 +559,7 @@
<XChildrenEntities/>
<XEntityRenderer/>
<XModelAttributes>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute name="path">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -676,13 +596,9 @@
</XModelAttribute>
<XModelAttribute default="org.apache.struts.action.ActionServlet"
name="servlet class" xmlname="servlet_class">
- <Constraint/>
<Editor name="EclipseClassChooser"/>
</XModelAttribute>
- <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern"/>
<XModelAttribute name="tld files" xmlname="tld_files">
<Constraint loader="ListAdd"/>
<Editor name="ListAdd"/>
@@ -750,7 +666,6 @@
<Constraint loader="List">
<value name="2.3"/>
<value name="2.4"/>
- <value name="2.5"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
@@ -781,7 +696,6 @@
<XModelAttributes>
<XModelAttribute default="WebProject" name="name" xmlname="NAME">
<Constraint loader="FolderName"/>
- <Editor/>
</XModelAttribute>
<XModelAttribute name="web.xml location" visibility="false" xmlname="LOCATION">
<Constraint loader="FileFilter">
@@ -807,10 +721,7 @@
</Constraint>
<Editor name="FileChooser"/>
</XModelAttribute>
- <XModelAttribute name="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name"/>
<XModelAttribute default="true" name="use default path">
<Constraint loader="List">
<value name="true"/>
@@ -850,15 +761,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Classes" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -877,15 +785,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Classpath" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" visibility="false" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -902,13 +807,9 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="WebProject" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="WebProject" name="name" xmlname="NAME"/>
<XModelAttribute name="webroot" visibility="false" xmlname="LOCATION">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -962,7 +863,6 @@
<Constraint loader="List">
<value name="2.3"/>
<value name="2.4"/>
- <value name="2.5"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
@@ -980,13 +880,9 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="WebProject" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="WebProject" name="name" xmlname="NAME"/>
<XModelAttribute default="1.1" name="version" xmlname="VERSION">
<Constraint loader="List">
<value name="1.0"/>
@@ -995,7 +891,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute name="use default path">
- <Constraint/>
<Editor name="CheckBox"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
@@ -1024,12 +919,10 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="WebProject" name="name" xmlname="NAME">
<Constraint loader="FolderName"/>
- <Editor/>
</XModelAttribute>
<XModelAttribute default="1.1" name="version" xmlname="VERSION">
<Constraint loader="List">
@@ -1060,11 +953,9 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="TLDs">
- <Constraint/>
<Editor name="ListAdd"/>
</XModelAttribute>
</XModelAttributes>
@@ -1083,15 +974,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1110,15 +998,12 @@
<XModelAttributes>
<XModelAttribute default="jar file" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1137,15 +1022,12 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Lib" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1164,19 +1046,24 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Meta-Inf" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
<XActionItem kind="list">
+ <XActionItem
+ HandlerClassName="org.jboss.tools.struts.webprj.model.handlers.SetLocationHandler"
+ ICON="action.webprj.set_location" WizardClassName="%Default%"
+ displayName="Set location..." kind="action" name="SetLocation">
+ <EntityData EntityName="WebPrjCreateStepDirs">
+ <AttributeData AttributeName="location" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
</XActionItem>
<XDependencies/>
</XModelEntity>
@@ -1193,7 +1080,6 @@
</XModelAttribute>
<XModelAttribute name="application name" xmlname="NAME">
<Constraint loader="FolderName"/>
- <Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" visibility="false" xmlname="LOCATION">
<Constraint loader="FileFilter">
@@ -1216,7 +1102,6 @@
<Editor name="MutableMultipleChoice"/>
</XModelAttribute>
<XModelAttribute name="separator">
- <Constraint/>
<Editor name="Separator"/>
</XModelAttribute>
</XModelAttributes>
@@ -1239,13 +1124,9 @@
<XModelAttributes>
<XModelAttribute default="partition" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="WebProject" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="WebProject" name="name" xmlname="NAME"/>
<XModelAttribute name="location" visibility="false" xmlname="LOCATION">
<Constraint loader="FileFilter">
<value name="allFiles=false"/>
@@ -1273,15 +1154,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="none" name="build" xmlname="BUILD">
@@ -1300,10 +1178,7 @@
</Constraint>
<Editor name="FolderChooser"/>
</XModelAttribute>
- <XModelAttribute name="create jar" xmlname="JAR">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="create jar" xmlname="JAR"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
@@ -1320,15 +1195,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Sources" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1349,15 +1221,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Web-Inf" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1378,15 +1247,12 @@
<XModelAttributes>
<XModelAttribute default="folder" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Web-Root" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="location" xmlname="LOCATION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1398,7 +1264,6 @@
<XEntityRenderer/>
<XModelAttributes>
<XModelAttribute default="Eclipse Workspace" name="name" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1439,7 +1304,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem kind="list" name="Web">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.jsp_file"
PROPERTIES="support=org.jboss.tools.jst.web.model.handlers.CreateJSPFileSupport;entity=FileJSP;extension=jsp;validator.addfile=true"
displayName="JSP..." kind="action" name="CreateFileJSP">
@@ -1453,7 +1318,7 @@
<AttributeData AttributeName="taglibs" Mandatory="no"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.html_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileHTML;extension=html;validator.addfile=true"
displayName="HTML..." kind="action" name="CreateFileHTML">
@@ -1463,7 +1328,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.css_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileCSS;extension=css;validator.addfile=true"
displayName="CSS..." kind="action" name="CreateFileCSS">
@@ -1473,7 +1338,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.js_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileJS;extension=js;validator.addfile=true"
displayName="JS..." kind="action" name="CreateFileJS">
@@ -1483,7 +1348,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.xhtml_file"
PROPERTIES="support=org.jboss.tools.jst.web.model.handlers.CreateJSPFileSupport;entity=FileXHTML;extension=xhtml;validator.addfile=true"
displayName="XHTML..." kind="action" name="CreateFileXHTML">
@@ -1505,6 +1370,26 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.jsp_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewJSPFileWizard"
+ displayName="JSP..." kind="action" name="CreateFileJSPV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.html_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewHTMLFileWizard"
+ displayName="HTML..." kind="action" name="CreateFileHTMLV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.css_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSFileWizard"
+ displayName="CSS..." kind="action" name="CreateFileCSSV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.js_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewJSFileWizard"
+ displayName="JS..." kind="action" name="CreateFileJSV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.xhtml_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewXHTMLFileWizard"
+ displayName="XHTML..." kind="action" name="CreateFileXHTMLV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -1543,7 +1428,7 @@
<XActionItem ICON="action.newattribute" displayName="File" group="1"
kind="list" name="CreateFiles">
<XActionItem kind="list" name="Web">
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.jsp_file"
PROPERTIES="support=org.jboss.tools.jst.web.model.handlers.CreateJSPFileSupport;entity=FileJSP;extension=jsp;validator.addfile=true"
displayName="JSP..." kind="action" name="CreateFileJSP">
@@ -1557,7 +1442,7 @@
<AttributeData AttributeName="taglibs" Mandatory="no"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.html_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileHTML;extension=html;validator.addfile=true"
displayName="HTML..." kind="action" name="CreateFileHTML">
@@ -1567,7 +1452,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.css_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileCSS;extension=css;validator.addfile=true"
displayName="CSS..." kind="action" name="CreateFileCSS">
@@ -1577,7 +1462,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.js_file"
PROPERTIES="support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;entity=FileJS;extension=js;validator.addfile=true"
displayName="JS..." kind="action" name="CreateFileJS">
@@ -1587,7 +1472,7 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%"
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
ICON="action.new.file.xhtml_file"
PROPERTIES="support=org.jboss.tools.jst.web.model.handlers.CreateJSPFileSupport;entity=FileXHTML;extension=xhtml;validator.addfile=true"
displayName="XHTML..." kind="action" name="CreateFileXHTML">
@@ -1609,6 +1494,26 @@
<AttributeData AttributeName="name"/>
</EntityData>
</XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.jsp_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewJSPFileWizard"
+ displayName="JSP..." kind="action" name="CreateFileJSPV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.html_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewHTMLFileWizard"
+ displayName="HTML..." kind="action" name="CreateFileHTMLV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.css_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSFileWizard"
+ displayName="CSS..." kind="action" name="CreateFileCSSV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.js_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.jst.web.ui.wizards.newfile.NewJSFileWizard"
+ displayName="JS..." kind="action" name="CreateFileJSV"/>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.file.xhtml_file"
+ PROPERTIES="plugin=org.jboss.tools.jst.web.ui;wizard=org.jboss.tools.common.model.ui.wizard.newfile.NewXHTMLFileWizard"
+ displayName="XHTML..." kind="action" name="CreateFileXHTMLV"/>
</XActionItem>
</XActionItem>
</XActionItem>
@@ -1630,15 +1535,32 @@
HandlerClassName="org.jboss.tools.jst.web.project.handlers.CreateWebPrjHandler"
ICON="main.projects.new" SAVE_REQUIRED="yes"
displayName="Create New Project..." kind="action" name="CreateStrutsProject"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.struts.webprj.model.handlers.ImportWebPrjHandler"
+ ICON="main.projects.item"
+ PROPERTIES="support=org.jboss.tools.struts.webprj.model.handlers.ImportWebPrjSupport"
+ SAVE_REQUIRED="yes" displayName="Adopt Existing Project..."
+ kind="action" name="ImportStrutsProject">
+ <EntityData EntityName="WebPrjCreateStepName">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="location"/>
+ </EntityData>
+ <EntityData EntityName="WebPrjCreateStepDirs">
+ <AttributeData AttributeName="webroot"/>
+ <AttributeData AttributeName="classes" Mandatory="no"/>
+ <AttributeData AttributeName="lib" Mandatory="no"/>
+ <AttributeData AttributeName="src" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
<XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
PROPERTIES="support=org.jboss.tools.struts.webprj.model.helpers.sync.SyncProjectSupport"
displayName="Modules Configuration" kind="action" name="SynchronizeModules"/>
<XActionItem kind="list" name="Registration">
- <XActionItem HIDE="always"
+ <XActionItem HIDE="disabled"
HandlerClassName="org.jboss.tools.jst.web.model.handlers.UnregisterInServerXmlHandler"
ICON="action.empty"
displayName="Unregister Web Context from server.xml" kind="action" name="UnregisterInServerXML"/>
- <XActionItem HIDE="always"
+ <XActionItem
HandlerClassName="org.jboss.tools.jst.web.model.handlers.RegisterInServerXmlHandler"
ICON="action.empty"
displayName="Register Web Context in server.xml" kind="action" name="RegisterInServerXML"/>
17 years, 1 month