Author: scabanovich
Date: 2008-09-22 07:59:11 -0400 (Mon, 22 Sep 2008)
New Revision: 10392
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesPageRefUpdateManager.java
Log:
JBIDE-2611 Autolayout for links that have identical source and target nodes.
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesPageRefUpdateManager.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesPageRefUpdateManager.java 2008-09-22
11:33:22 UTC (rev 10391)
+++
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesPageRefUpdateManager.java 2008-09-22
11:59:11 UTC (rev 10392)
@@ -118,7 +118,7 @@
private void onChildAdded(XModelTreeEvent event) {
XModelObject c = (XModelObject)event.getInfo();
- if(!c.getModelEntity().getName().equals("JSFProcessGroup")) return;
+ if(!c.getModelEntity().getName().equals(SeamPagesConstants.ENT_DIAGRAM_ITEM))
return;
SeamPagesDiagramImpl pi = (SeamPagesDiagramImpl)event.getModelObject();
PageLinks pl = getPageLinks(c);
if(pl == null || pi.getHelper() == null) return;