[jbosstools-commits] JBoss Tools SVN: r6764 - trunk/struts/plugins/org.jboss.tools.struts/resources/meta.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Mar 7 07:54:07 EST 2008


Author: scabanovich
Date: 2008-03-07 07:54:06 -0500 (Fri, 07 Mar 2008)
New Revision: 6764

Modified:
   trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta
   trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta
Log:
JBIDE-1692

Modified: trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta	2008-03-07 12:53:58 UTC (rev 6763)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta	2008-03-07 12:54:06 UTC (rev 6764)
@@ -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>
@@ -24,33 +25,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.1.3//EN"
-    name="publicId" visibility="false">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
+    name="publicId" visibility="false"/>
    <XModelAttribute
     default="http://jakarta.apache.org/commons/dtds/validator_1_1_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"/>
@@ -58,10 +47,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"/>
@@ -70,7 +56,6 @@
     <Editor name="Uneditable"/>
    </XModelAttribute>
    <XModelAttribute TRIM="no" name="comment" xmlname="#comment">
-    <Constraint/>
     <Editor name="Note"/>
    </XModelAttribute>
    <XModelAttribute default="UTF-8" name="encoding">
@@ -124,7 +109,7 @@
     </XActionItem>
     <XActionItem HandlerClassName="%SpecialWizard%"
      ICON="action.new.validator.formset"
-     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
      displayName="Add Formset..." kind="action" name="AddFormset">
      <EntityData EntityName="ValidationFormset11">
       <AttributeData AttributeName="language" Mandatory="no"/>
@@ -198,7 +183,7 @@
     </XActionItem>
     <XActionItem HandlerClassName="%SpecialWizard%"
      ICON="action.new.validator.formset"
-     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
      displayName="Add Formset..." kind="action" name="AddFormset">
      <EntityData EntityName="ValidationFormset11">
       <AttributeData AttributeName="language" Mandatory="no"/>
@@ -231,27 +216,15 @@
   </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="position" xmlname="position">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
-   <XModelAttribute name="bundle" xmlname="bundle">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
+   <XModelAttribute name="name" xmlname="name"/>
+   <XModelAttribute name="position" xmlname="position"/>
+   <XModelAttribute name="bundle" xmlname="bundle"/>
    <XModelAttribute PROPERTIES="save=always" name="key" xmlname="key">
-    <Constraint/>
     <Editor name="SelectResourceKey"/>
    </XModelAttribute>
    <XModelAttribute default="true" name="resource" xmlname="resource">
@@ -262,7 +235,6 @@
     <Editor name="List"/>
    </XModelAttribute>
    <XModelAttribute TRIM="no" name="comment" xmlname="#comment">
-    <Constraint/>
     <Editor name="Note"/>
    </XModelAttribute>
   </XModelAttributes>
@@ -305,20 +277,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>
@@ -368,15 +332,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">
@@ -385,12 +344,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>
@@ -480,15 +435,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>
@@ -543,7 +493,6 @@
   </XEntityRenderer>
   <XModelAttributes>
    <XModelAttribute default="formset" loader="ElementType" name="element type">
-    <Constraint/>
     <Editor name="Uneditable"/>
    </XModelAttribute>
    <XModelAttribute name="language" xmlname="language">
@@ -554,12 +503,8 @@
     <Constraint loader="ListString"/>
     <Editor name="CountriesList"/>
    </XModelAttribute>
-   <XModelAttribute name="variant" xmlname="variant">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
+   <XModelAttribute name="variant" xmlname="variant"/>
    <XModelAttribute TRIM="no" name="comment" xmlname="#comment">
-    <Constraint/>
     <Editor name="Note"/>
    </XModelAttribute>
   </XModelAttributes>
@@ -619,11 +564,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>
@@ -681,15 +624,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">
@@ -700,13 +638,9 @@
     <Editor name="List"/>
    </XModelAttribute>
    <XModelAttribute TRIM="no" name="comment" xmlname="#comment">
-    <Constraint/>
     <Editor name="Note"/>
    </XModelAttribute>
-   <XModelAttribute name="bundle" xmlname="bundle">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
+   <XModelAttribute name="bundle" xmlname="bundle"/>
   </XModelAttributes>
   <XActionItem kind="list">
    <XActionItem HIDE="always" HandlerClassName="%Edit%"
@@ -757,43 +691,25 @@
   </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="methodParams" xmlname="methodParams">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
+   <XModelAttribute PROPERTIES="save=always" name="method" xmlname="method"/>
+   <XModelAttribute PROPERTIES="save=always" name="methodParams" xmlname="methodParams"/>
    <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>
@@ -895,21 +811,11 @@
   </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 name="var-jstype" xmlname="var-jstype.#text">
-    <Constraint/>
-    <Editor/>
-   </XModelAttribute>
+   <XModelAttribute PROPERTIES="id=true" name="var-name" xmlname="var-name.#text"/>
+   <XModelAttribute name="var-value" xmlname="var-value.#text"/>
+   <XModelAttribute name="var-jstype" xmlname="var-jstype.#text"/>
   </XModelAttributes>
   <XActionItem kind="list">
    <XActionItem HIDE="always" HandlerClassName="%Edit%"

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	2008-03-07 12:53:58 UTC (rev 6763)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta	2008-03-07 12:54:06 UTC (rev 6764)
@@ -15,6 +15,9 @@
   <MAPPING name="Handlers">
    <PAIR name="ValidatorPaste" value="org.jboss.tools.struts.validators.model.handlers.ValidatorPasteHandler"/>
   </MAPPING>
+  <MAPPING name="HelpPlugins">
+   <PAIR name="struts" value="org.jboss.tools.jsf.doc.user."/>
+  </MAPPING>
   <MAPPING name="ObjectEditor">
    <PAIR name="Validator" value="org.jboss.tools.struts.validator.ui.ValidationCompoundEditor"/>
   </MAPPING>
@@ -159,7 +162,7 @@
     </XActionItem>
     <XActionItem HandlerClassName="%SpecialWizard%"
      ICON="action.new.validator.formset"
-     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
      displayName="Add Formset..." kind="action" name="AddFormset">
      <EntityData EntityName="ValidationFormset">
       <AttributeData AttributeName="language" Mandatory="no"/>
@@ -233,7 +236,7 @@
     </XActionItem>
     <XActionItem HandlerClassName="%SpecialWizard%"
      ICON="action.new.validator.formset"
-     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+     PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
      displayName="Add Formset..." kind="action" name="AddFormset">
      <EntityData EntityName="ValidationFormset">
       <AttributeData AttributeName="language" Mandatory="no"/>




More information about the jbosstools-commits mailing list