Author: bbrodt
Date: 2010-03-09 13:24:28 -0500 (Tue, 09 Mar 2010)
New Revision: 20714
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/FlowEditPart.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6032 force auto layout at BPEL editor startup.
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/FlowEditPart.java
===================================================================
---
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/FlowEditPart.java 2010-03-09
18:02:57 UTC (rev 20713)
+++
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/FlowEditPart.java 2010-03-09
18:24:28 UTC (rev 20714)
@@ -235,6 +235,9 @@
IFigure child = ((GraphicalEditPart) childEditPart).getFigure();
getContentPane().add(child,
getFigure().getLayoutManager().getConstraint(child), index);
+ // JBIDE-6032: force an auto layout at startup
+ if (getShowFreeformFlow() && getAutoLayout())
+ doAutoLayout(false);
}
protected void setFlowEditPolicies() {