Author: scabanovich
Date: 2007-07-24 12:19:59 -0400 (Tue, 24 Jul 2007)
New Revision: 2634
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/PropertyListFormLayoutData.java
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/SeamComponentsCoreFormLayoutData.java
Log:
EXIN-326 - xmodel objects for core:filter implemented
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/PropertyListFormLayoutData.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/PropertyListFormLayoutData.java 2007-07-24
16:19:34 UTC (rev 2633)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/PropertyListFormLayoutData.java 2007-07-24
16:19:59 UTC (rev 2634)
@@ -36,6 +36,9 @@
static String ENT_ENTITY_MANAGER_FACTORY = "SeamCoreEntityManagerFactory";
static String ENT_PERSISTENCE_UNIT_PROPERTIES =
"SeamCorePersistenceUnitProperties";
+
+ static String ENT_FILTER = "SeamCoreFilter";
+ static String ENT_PARAMETERS = "SeamCoreParameters";
private static IFormData createListDefinition(String header) {
return new FormData(
@@ -174,6 +177,19 @@
final static IFormData ENTITY_MANAGER_FACTORY_FORM_DEFINITION = new FormData(
ENT_ENTITY_MANAGER_FACTORY, new String[]{null}, ENTITY_MANAGER_FACTORY_DEFINITIONS);
+ private final static IFormData[] PARAMETERS_DEFINITIONS = new IFormData[] {
+ createMapDefinition("Parameters")
+ };
+
+ final static IFormData PARAMETERS_FORM_DEFINITION = new FormData(
+ ENT_PARAMETERS, new String[]{null}, PARAMETERS_DEFINITIONS);
+
+ private final static IFormData[] FILTER_DEFINITIONS =
+ createDefinitionsForMapHolder("Filter", ENT_FILTER, "Parameters",
"parameters");
+
+ final static IFormData FILTER_FORM_DEFINITION = new FormData(
+ ENT_FILTER, new String[]{null}, FILTER_DEFINITIONS);
+
/**
* Theme
*/
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/SeamComponentsCoreFormLayoutData.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/SeamComponentsCoreFormLayoutData.java 2007-07-24
16:19:34 UTC (rev 2633)
+++
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/src/org/jboss/tools/seam/xml/ui/editor/form/core/SeamComponentsCoreFormLayoutData.java 2007-07-24
16:19:59 UTC (rev 2634)
@@ -46,6 +46,9 @@
PropertyListFormLayoutData.ENTITY_MANAGER_FACTORY_FORM_DEFINITION,
PropertyListFormLayoutData.PERSISTENCE_UNIT_PROPERTIES_FORM_DEFINITION,
+
+ PropertyListFormLayoutData.FILTER_FORM_DEFINITION,
+ PropertyListFormLayoutData.PARAMETERS_FORM_DEFINITION,
};
Show replies by date