Author: scabanovich
Date: 2007-07-17 07:42:32 -0400 (Tue, 17 Jul 2007)
New Revision: 2458
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/SeamXMLFormLayoutData.java
Log:
EXIN-217 .component.xml files processed
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml 2007-07-17 11:41:53 UTC (rev
2457)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.xml 2007-07-17 11:42:32 UTC (rev
2458)
@@ -21,7 +21,7 @@
<xmlEditor
class="org.jboss.tools.jst.web.ui.editors.WebCompoundEditor"
contributorClass="org.jboss.tools.common.model.ui.texteditors.MultiPageContributor"
- entities="FileSeamComponents11,FileSeamComponents12"
+
entities="FileSeamComponents11,FileSeamComponents12,FileSeamComponent12"
icon="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 2007-07-17
11:41:53 UTC (rev 2457)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamComponentFormLayoutData.java 2007-07-17
11:42:32 UTC (rev 2458)
@@ -43,4 +43,20 @@
final static IFormData SEAM_COMPONENT_FORM_DEFINITION = new FormData(
ENT_SEAM_COMPONENT, new String[]{null}, SEAM_COMPONENT_DEFINITIONS);
+ private final static IFormData[] COMPONENT_FILE_12_DEFINITIONS = new IFormData[] {
+ new FormData(
+ "Seam Component File",
+ SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
+ FormLayoutDataUtil.createGeneralFormAttributeData(ENT_SEAM_COMPONENT_12)
+ ),
+ SEAM_PROPERTY_LIST_DEFINITION,
+ new FormData(
+ "Advanced",
+ SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
+ FormLayoutDataUtil.createAdvancedFormAttributeData(ENT_SEAM_COMPONENT_12)
+ )
+ };
+
+ final static IFormData SEAM_COMPONENT_FILE_FORM_DEFINITION = new FormData(
+ ENT_SEAM_COMPONENT_12, new String[]{null}, COMPONENT_FILE_12_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 2007-07-17
11:41:53 UTC (rev 2457)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/SeamXMLFormLayoutData.java 2007-07-17
11:42:32 UTC (rev 2458)
@@ -24,14 +24,14 @@
private final static IFormData[] FORM_LAYOUT_DEFINITIONS = new IFormData[] {
SeamComponentsFileFormLayoutData.FILE_12_FORM_DEFINITION,
SeamComponentsFileFormLayoutData.FILE_11_FORM_DEFINITION,
+ SeamComponentFormLayoutData.SEAM_COMPONENT_FILE_FORM_DEFINITION,
SeamComponentFormLayoutData.SEAM_COMPONENT_FORM_DEFINITION,
SeamPropertyFormLayoutData.SEAM_PROPERTY_LIST_FORM_DEFINITION,
SeamPropertyFormLayoutData.SEAM_PROPERTY_MAP_FORM_DEFINITION,
SeamFactoryFormLayoutData.SEAM_FACTORY_FORM_DEFINITION,
SeamEventFormLayoutData.SEAM_EVENT_FORM_DEFINITION,
- SeamEventFormLayoutData.SEAM_ACTION_FORM_DEFINITION,
+ SeamEventFormLayoutData.SEAM_ACTION_FORM_DEFINITION,
-
};
private static Map<String,IFormData> FORM_LAYOUT_DEFINITION_MAP =
Collections.synchronizedMap(new ArrayToMap(FORM_LAYOUT_DEFINITIONS));