Author: scabanovich
Date: 2009-10-09 11:30:34 -0400 (Fri, 09 Oct 2009)
New Revision: 18012
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-5003
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-10-09
15:13:19 UTC (rev 18011)
+++
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java 2009-10-09
15:30:34 UTC (rev 18012)
@@ -149,4 +149,12 @@
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddRouteTo")
//$NON-NLS-1$
);
+ static IFormData ESB_OBJECT_PATH_LIST_DEFINITION = new FormData(
+ "Object Paths List", //$NON-NLS-1$
+ ModelFormLayoutData.EMPTY_DESCRIPTION,
+ new FormAttributeData[]{new FormAttributeData("esb", 100)},
+ new String[]{ENT_ESB_OBJECT_PATH},
+ FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddObjectPath")
//$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-10-09
15:13:19 UTC (rev 18011)
+++
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-10-09
15:30:34 UTC (rev 18012)
@@ -71,6 +71,8 @@
if(entityName.startsWith(PREACTION_PREFIX)) {
if(entity.getChild(ENT_ESB_ROUTE_TO) != null) {
list.add(ESBListsFormLayoutData.ESB_ROUTE_LIST_DEFINITION);
+ } else if(entity.getChild(ENT_ESB_OBJECT_PATH) != null) {
+ list.add(ESBListsFormLayoutData.ESB_OBJECT_PATH_LIST_DEFINITION);
}
//do nothing; when specific children exist use specific forms
} else if(entity.getChild(ENT_ESB_PROPERTY) != null) {