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>