Author: scabanovich
Date: 2009-08-28 07:23:26 -0400 (Fri, 28 Aug 2009)
New Revision: 17346
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentFormLayoutData.java
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentsFileFormLayoutData.java
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamXMLFormLayoutData.java
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages_ja.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-4811
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml 2009-08-28 10:25:35 UTC (rev
17345)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml 2009-08-28 11:23:26 UTC (rev
17346)
@@ -22,7 +22,7 @@
<xmlEditor
class="org.jboss.tools.jst.web.ui.editors.WebCompoundEditor"
contributorClass="org.jboss.tools.common.model.ui.texteditors.MultiPageContributor"
-
entities="FileSeamComponents11,FileSeamComponents12,FileSeamComponents20,FileSeamComponents21,FileSeamComponent12,FileSeamComponent20,FileSeamComponent21"
+
entities="FileSeamComponents11,FileSeamComponents12,FileSeamComponents20,FileSeamComponents21,FileSeamComponents22,FileSeamComponent12,FileSeamComponent20,FileSeamComponent21,FileSeamComponent22"
icon="$nl$/images/xstudio/editors/seam-components.gif"
name="%editors.spring-beans.name">
</xmlEditor>
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentFormLayoutData.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentFormLayoutData.java 2009-08-28
10:25:35 UTC (rev 17345)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentFormLayoutData.java 2009-08-28
11:23:26 UTC (rev 17346)
@@ -103,6 +103,20 @@
)
};
+ private final static IFormData[] COMPONENT_FILE_22_DEFINITIONS = new IFormData[] {
+ new FormData(
+ SeamXMLUIMessages.getString("SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_2_FILE"),
//$NON-NLS-1$
+ SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
+ FormLayoutDataUtil.createGeneralFormAttributeData(ENT_SEAM_COMPONENT_FILE_22)
+ ),
+ SEAM_PROPERTY_LIST_DEFINITION,
+ new FormData(
+ SeamXMLUIMessages.getString("SEAM_COMPONENT_FORM_LAYOUT_DATA_ADVANCED"),
//$NON-NLS-1$
+ SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
+ FormLayoutDataUtil.createAdvancedFormAttributeData(ENT_SEAM_COMPONENT_FILE_22)
+ )
+ };
+
final static IFormData SEAM_COMPONENT_FILE_FORM_DEFINITION = new FormData(
ENT_SEAM_COMPONENT_12, new String[]{null}, COMPONENT_FILE_12_DEFINITIONS);
@@ -112,4 +126,8 @@
final static IFormData SEAM_COMPONENT_FILE_21_FORM_DEFINITION = new FormData(
ENT_SEAM_COMPONENT_FILE_21, new String[]{null}, COMPONENT_FILE_21_DEFINITIONS);
+
+ final static IFormData SEAM_COMPONENT_FILE_22_FORM_DEFINITION = new FormData(
+ ENT_SEAM_COMPONENT_FILE_22, new String[]{null}, COMPONENT_FILE_22_DEFINITIONS);
+
}
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentsFileFormLayoutData.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentsFileFormLayoutData.java 2009-08-28
10:25:35 UTC (rev 17345)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentsFileFormLayoutData.java 2009-08-28
11:23:26 UTC (rev 17346)
@@ -105,6 +105,18 @@
SEAM_IMPORT_LIST_DEFINITION
};
+ private final static IFormData[] FILE_22_DEFINITIONS = new IFormData[] {
+ new FormData(
+ "Seam Components 2.2 File", //$NON-NLS-1$
+ SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
+ FormLayoutDataUtil.createGeneralFormAttributeData(ENT_SEAM_COMPONENTS_22)
+ ),
+ SEAM_COMPONENT_20_LIST_DEFINITION,
+ getFactoryList(ENT_SEAM_FACTORY_20),
+ getEventList(ENT_SEAM_EVENT_20),
+ SEAM_IMPORT_LIST_DEFINITION
+ };
+
final static IFormData FILE_12_FORM_DEFINITION = new FormData(
ENT_SEAM_COMPONENTS_12, new String[]{null}, FILE_12_DEFINITIONS);
@@ -117,4 +129,6 @@
final static IFormData FILE_21_FORM_DEFINITION = new FormData(
ENT_SEAM_COMPONENTS_21, new String[]{null}, FILE_21_DEFINITIONS);
+ final static IFormData FILE_22_FORM_DEFINITION = new FormData(
+ ENT_SEAM_COMPONENTS_22, new String[]{null}, FILE_22_DEFINITIONS);
}
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamXMLFormLayoutData.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamXMLFormLayoutData.java 2009-08-28
10:25:35 UTC (rev 17345)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamXMLFormLayoutData.java 2009-08-28
11:23:26 UTC (rev 17346)
@@ -26,9 +26,11 @@
SeamComponentsFileFormLayoutData.FILE_12_FORM_DEFINITION,
SeamComponentsFileFormLayoutData.FILE_20_FORM_DEFINITION,
SeamComponentsFileFormLayoutData.FILE_21_FORM_DEFINITION,
+ SeamComponentsFileFormLayoutData.FILE_22_FORM_DEFINITION,
SeamComponentFormLayoutData.SEAM_COMPONENT_FILE_FORM_DEFINITION,
SeamComponentFormLayoutData.SEAM_COMPONENT_FILE_20_FORM_DEFINITION,
SeamComponentFormLayoutData.SEAM_COMPONENT_FILE_21_FORM_DEFINITION,
+ SeamComponentFormLayoutData.SEAM_COMPONENT_FILE_22_FORM_DEFINITION,
SeamComponentFormLayoutData.SEAM_COMPONENT_FORM_DEFINITION,
SeamComponentFormLayoutData.SEAM_COMPONENT_20_FORM_DEFINITION,
SeamPropertyFormLayoutData.SEAM_PROPERTY_LIST_FORM_DEFINITION,
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages.properties
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages.properties 2009-08-28
10:25:35 UTC (rev 17345)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages.properties 2009-08-28
11:23:26 UTC (rev 17346)
@@ -17,7 +17,9 @@
SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_1_2_FILE=Seam Component 1.2 File
SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_0_FILE=Seam Component 2.0 File
SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_1_FILE=Seam Component 2.1 File
+SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_2_FILE=Seam Component 2.2 File
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_11_FILE=Seam Components 1.1 File
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_12_FILE=Seam Components 1.2 File
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_20_FILE=Seam Components 2.0 File
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_21_FILE=Seam Components 2.1 File
+SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_22_FILE=Seam Components 2.2 File
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages_ja.properties
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages_ja.properties 2009-08-28
10:25:35 UTC (rev 17345)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/messages_ja.properties 2009-08-28
11:23:26 UTC (rev 17346)
@@ -17,7 +17,9 @@
SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_1_2_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 1.2 \u30D5\u30A1\u30A4\u30EB
SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_0_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 2.0 \u30D5\u30A1\u30A4\u30EB
SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_1_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 2.1 \u30D5\u30A1\u30A4\u30EB
+SEAM_COMPONENT_FORM_LAYOUT_DATA_SEAM_COMPONENT_2_2_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 2.2 \u30D5\u30A1\u30A4\u30EB
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_11_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 1.1 \u30D5\u30A1\u30A4\u30EB
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_12_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 1.2 \u30D5\u30A1\u30A4\u30EB
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_20_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 2.0 \u30D5\u30A1\u30A4\u30EB
SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_21_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 2.1 \u30D5\u30A1\u30A4\u30EB
+SEAM_COMPONENTS_FILE_FORM_LAYOUT_DATA_SEAM_COMPONENTS_22_FILE=Seam
\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 2.2 \u30D5\u30A1\u30A4\u30EB