Author: scabanovich
Date: 2009-11-17 09:42:02 -0500 (Tue, 17 Nov 2009)
New Revision: 18712
Modified:
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5199
Modified:
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java 2009-11-17
14:41:29 UTC (rev 18711)
+++
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java 2009-11-17
14:42:02 UTC (rev 18712)
@@ -82,12 +82,20 @@
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddAnyAction")
//$NON-NLS-1$
);
+ static IFormData ESB_ACTION_120_LIST_DEFINITION = new FormData(
+ "Actions", //$NON-NLS-1$
+ ModelFormLayoutData.EMPTY_DESCRIPTION,
+ new FormAttributeData[]{new FormAttributeData(ATTR_NAME, 100)},
+ getActionEntities(ENT_ESB_ACTIONS_120),
+ FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddAnyAction")
//$NON-NLS-1$
+ );
+
static IFormData ESB_ACTION_SUB_LIST_DEFINITION = new FormData(
"Actions", //$NON-NLS-1$
ModelFormLayoutData.EMPTY_DESCRIPTION,
"Actions", //$NON-NLS-1$
new FormAttributeData[]{new FormAttributeData(ATTR_NAME, 100)},
- new String[]{ENT_ESB_ACTION},
+ new String[]{ENT_ESB_ACTION,ENT_ESB_ACTION_120},
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddAction")
//$NON-NLS-1$
);
Modified:
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-11-17
14:41:29 UTC (rev 18711)
+++
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-11-17
14:42:02 UTC (rev 18712)
@@ -85,6 +85,8 @@
list.add(ESBListsFormLayoutData.ESB_ACTION_101_LIST_DEFINITION);
} else if(entityName.equals(ENT_ESB_ACTIONS_110)) {
list.add(ESBListsFormLayoutData.ESB_ACTION_110_LIST_DEFINITION);
+ } else if(entityName.equals(ENT_ESB_ACTIONS_120)) {
+ list.add(ESBListsFormLayoutData.ESB_ACTION_120_LIST_DEFINITION);
} else if(entityName.startsWith(ENT_ESB_SERVICES)) {
list.add(ESBListsFormLayoutData.ESB_SERVICE_LIST_DEFINITION);
} else if(entityName.startsWith(ENT_ESB_SERVICE)) {