[jbosstools-commits] JBoss Tools SVN: r12983 - in trunk/seam/plugins/org.jboss.tools.seam.xml: resources/meta and 1 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Sun Jan 11 08:01:44 EST 2009


Author: scabanovich
Date: 2009-01-11 08:01:44 -0500 (Sun, 11 Jan 2009)
New Revision: 12983

Modified:
   trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
   trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta
   trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.1.xsd
Log:
JBIDE-3527

Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml	2009-01-11 12:29:10 UTC (rev 12982)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml	2009-01-11 13:01:44 UTC (rev 12983)
@@ -111,49 +111,87 @@
 
 
 
-
-
          <uri 
             name="http://jboss.com/products/seam/async-2.0.xsd" 
             uri="schemas/async-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/async-2.1.xsd" 
+            uri="schemas/async-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/bpm-2.0.xsd" 
             uri="schemas/bpm-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/bpm-2.1.xsd" 
+            uri="schemas/bpm-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/components-2.0.xsd" 
             uri="schemas/components-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/components-2.1.xsd" 
+            uri="schemas/components-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/core-2.0.xsd" 
             uri="schemas/core-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/core-2.1.xsd" 
+            uri="schemas/core-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/drools-2.0.xsd" 
             uri="schemas/drools-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/drools-2.1.xsd" 
+            uri="schemas/drools-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/framework-2.0.xsd" 
             uri="schemas/framework-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/framework-2.1.xsd" 
+            uri="schemas/framework-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/international-2.0.xsd" 
             uri="schemas/international-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/international-2.1.xsd" 
+            uri="schemas/international-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/jms-2.0.xsd" 
             uri="schemas/jms-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/jms-2.1.xsd" 
+            uri="schemas/jms-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/mail-2.0.xsd" 
             uri="schemas/mail-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/mail-2.1.xsd" 
+            uri="schemas/mail-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/navigation-2.0.xsd" 
             uri="schemas/navigation-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/navigation-2.1.xsd" 
+            uri="schemas/navigation-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/pageflow-2.0.xsd" 
             uri="schemas/pageflow-2.0.xsd"/>
 
@@ -166,18 +204,34 @@
             uri="schemas/pdf-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/pdf-2.1.xsd" 
+            uri="schemas/pdf-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/persistence-2.0.xsd" 
             uri="schemas/persistence-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/persistence-2.1.xsd" 
+            uri="schemas/persistence-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/remoting-2.0.xsd" 
             uri="schemas/remoting-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/remoting-2.1.xsd" 
+            uri="schemas/remoting-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/security-2.0.xsd" 
             uri="schemas/security-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/security-2.1.xsd" 
+            uri="schemas/security-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/spring-2.0.xsd" 
             uri="schemas/spring-2.0.xsd"/>
 
@@ -194,10 +248,18 @@
             uri="schemas/transaction-2.0.xsd"/>
 
          <uri 
+            name="http://jboss.com/products/seam/transaction-2.1.xsd" 
+            uri="schemas/transaction-2.1.xsd"/>
+
+         <uri 
             name="http://jboss.com/products/seam/web-2.0.xsd" 
             uri="schemas/web-2.0.xsd"/>
 
+         <uri 
+            name="http://jboss.com/products/seam/web-2.1.xsd" 
+            uri="schemas/web-2.1.xsd"/>
 
+
       </catalogContribution>
    </extension>
-</plugin>
\ No newline at end of file
+</plugin>

Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta	2009-01-11 12:29:10 UTC (rev 12982)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta	2009-01-11 13:01:44 UTC (rev 12983)
@@ -335,6 +335,42 @@
  </XModelEntity>
  <XModelEntity ImplementingClass="%Custom%"
   PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.core.SeamComponentsCoreFormLayoutData"
+  XMLSUBPATH="web:hot-deploy-filter" name="SeamWebHotDeployFilter21">
+  <XChildrenEntities/>
+  <XEntityRenderer>
+   <ICONS>
+    <ICON info="main.seam.web.filter" type="main"/>
+   </ICONS>
+  </XEntityRenderer>
+  <XModelAttributes>
+   <XModelAttribute default="hot deploy filter" loader="ElementType" name="element type">
+    <Editor name="Uneditable"/>
+   </XModelAttribute>
+   <XModelAttribute PROPERTIES="id=true;category=general"
+    default="org.jboss.seam.web.hotDeployFilter" name="name" xmlname="name"/>
+   <XModelAttributeReference
+    attributes="class,scope,precedence,installed,auto-create,startup,startupDepends"
+    entity="SeamComponent21" name="component"/>
+   <XModelAttributeReference
+    attributes="url-pattern,disabled,regex-url-pattern"
+    entity="SeamWebContextFilter20" name="filter"/>
+   <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+    <Editor name="Note"/>
+   </XModelAttribute>
+  </XModelAttributes>
+  <XActionItem kind="list">
+   <XActionItemReference entity="SeamWebContextFilter"
+    name="CopyActions" path="CopyActions"/>
+   <XActionItemReference entity="SeamWebContextFilter"
+    name="DeleteActions" path="DeleteActions"/>
+   <XActionItemReference entity="SeamWebContextFilter" name="Properties" path="Properties"/>
+   <XActionItemReference entity="SeamWebContextFilter"
+    name="MoveActions" path="MoveActions"/>
+  </XActionItem>
+  <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+  PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.core.SeamComponentsCoreFormLayoutData"
   XMLSUBPATH="web:identity-filter" name="SeamWebIdentityFilter21">
   <XChildrenEntities/>
   <XEntityRenderer>
@@ -573,6 +609,40 @@
  </XModelEntity>
  <XModelEntity ImplementingClass="%Custom%"
   PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.core.SeamComponentsCoreFormLayoutData"
+  XMLSUBPATH="web:rewrite-filter" name="SeamWebRewriteFilter21">
+  <XChildrenEntities/>
+  <XEntityRenderer>
+   <ICONS>
+    <ICON info="main.seam.web.filter" type="main"/>
+   </ICONS>
+  </XEntityRenderer>
+  <XModelAttributes>
+   <XModelAttribute default="rewrite filter" loader="ElementType" name="element type">
+    <Editor name="Uneditable"/>
+   </XModelAttribute>
+   <XModelAttribute PROPERTIES="id=true;category=general"
+    default="org.jboss.seam.web.rewriteFilter" name="name" xmlname="name"/>
+   <XModelAttributeReference
+    attributes="class,scope,precedence,installed,auto-create,startup,startupDepends"
+    entity="SeamComponent21" name="component"/>
+   <XModelAttribute PROPERTIES="category=general" name="view-mapping" xmlname="view-mapping"/>
+   <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+    <Editor name="Note"/>
+   </XModelAttribute>
+  </XModelAttributes>
+  <XActionItem kind="list">
+   <XActionItemReference entity="SeamWebContextFilter"
+    name="CopyActions" path="CopyActions"/>
+   <XActionItemReference entity="SeamWebContextFilter"
+    name="DeleteActions" path="DeleteActions"/>
+   <XActionItemReference entity="SeamWebContextFilter" name="Properties" path="Properties"/>
+   <XActionItemReference entity="SeamWebContextFilter"
+    name="MoveActions" path="MoveActions"/>
+  </XActionItem>
+  <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+  PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.core.SeamComponentsCoreFormLayoutData"
   XMLSUBPATH="web:servlet-session" name="SeamWebServletSession20">
   <XChildrenEntities/>
   <XEntityRenderer>
@@ -904,6 +974,8 @@
    <XChildEntity name="SeamWebSession21"/>
    <XChildEntity name="SeamWebIdentityFilter21"/>
    <XChildEntity name="SeamWebWicketFilter21"/>
+   <XChildEntity name="SeamWebHotDeployFilter21"/>
+   <XChildEntity name="SeamWebRewriteFilter21"/>
   </XChildrenEntities>
   <XActionItem kind="list">
    <XActionItem ICON="action.empty" displayName="New" group="1"
@@ -998,6 +1070,21 @@
        <AttributeData AttributeName="url-pattern" Mandatory="no"/>
       </EntityData>
      </XActionItem>
+     <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+      PROPERTIES="validator.add=true" WizardClassName="%Default%"
+      displayName="Identity Filter..." kind="action" name="AddHotDeployFilter">
+      <EntityData EntityName="SeamWebHotDeployFilter21">
+       <AttributeData AttributeName="name"/>
+       <AttributeData AttributeName="url-pattern" Mandatory="no"/>
+      </EntityData>
+     </XActionItem>
+     <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+      PROPERTIES="validator.add=true" WizardClassName="%Default%"
+      displayName="Identity Filter..." kind="action" name="AddRewriteFilter">
+      <EntityData EntityName="SeamWebRewriteFilter21">
+       <AttributeData AttributeName="name"/>
+      </EntityData>
+     </XActionItem>
     </XActionItem>
    </XActionItem>
   </XActionItem>

Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.1.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.1.xsd	2009-01-11 12:29:10 UTC (rev 12982)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.1.xsd	2009-01-11 13:01:44 UTC (rev 12983)
@@ -4,6 +4,16 @@
     xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
     <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.1.xsd"/>
 
+    <xs:element name="hot-deploy-filter">
+        <xs:annotation>
+            <xs:documentation>This filter triggers a scan for hot deployable components and descriptor files on each request. The URL pattern should be set to the same pattern as used by the Faces Servlet. Note that this filter is automatically disabled when Seam debug mode is disabled.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType mixed="true">
+            <xs:attributeGroup ref="components:attlist.component"/>
+            <xs:attributeGroup ref="web:attlist.filter"/>
+        </xs:complexType>
+    </xs:element>
+
     <xs:element name="identity-filter">
         <xs:annotation>
             <xs:documentation>This filter provides integration between Servlet Security and the identity component.</xs:documentation>
@@ -120,6 +130,16 @@
         </xs:complexType>
     </xs:element>    
     
+    <xs:element name="rewrite-filter">
+        <xs:annotation>
+            <xs:documentation>This filter performs URL rewriting.</xs:documentation>
+        </xs:annotation>
+        <xs:complexType mixed="true">
+            <xs:attributeGroup ref="components:attlist.component"/>
+            <xs:attributeGroup ref="web:rewrite.filter"/>
+        </xs:complexType>
+    </xs:element>
+    
     <xs:attributeGroup name="attlist.filter">
         <xs:attribute name="url-pattern" type="components:string"/>
         <xs:attribute name="regex-url-pattern" type="components:string"/>
@@ -153,5 +173,16 @@
     <xs:attributeGroup name="attlist.session">
         <xs:attribute name="invalidate-on-scheme-change" type="components:boolean"/>
     </xs:attributeGroup>   
+    
+    <xs:attributeGroup name="rewrite.filter">
+        <xs:attribute name="view-mapping" type="components:string">
+            <xs:annotation>
+                <xs:documentation>
+                    This is the servlet mapping.  It should be set to the same pattern as used by the
+                    Faces Servlet.  If no value is specified, a pattern of *.seam will be assumed.
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
+    </xs:attributeGroup>
    
 </xs:schema>




More information about the jbosstools-commits mailing list