Author: bbrodt
Date: 2011-04-06 16:03:21 -0400 (Wed, 06 Apr 2011)
New Revision: 30396
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/policies/BPELOrderedLayoutEditPolicy.java
Log:
https://issues.jboss.org/browse/JBIDE-8694
isHorizontal() has been deprecated in GEF 3.7
See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88884
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/policies/BPELOrderedLayoutEditPolicy.java
===================================================================
---
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/policies/BPELOrderedLayoutEditPolicy.java 2011-04-06
19:57:14 UTC (rev 30395)
+++
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/policies/BPELOrderedLayoutEditPolicy.java 2011-04-06
20:03:21 UTC (rev 30396)
@@ -38,6 +38,7 @@
import org.eclipse.draw2d.FlowLayout;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.LayoutManager;
+import org.eclipse.draw2d.OrderedLayout;
import org.eclipse.draw2d.PolygonDecoration;
import org.eclipse.draw2d.PolylineConnection;
import org.eclipse.draw2d.geometry.Point;
@@ -269,6 +270,14 @@
protected EditPolicy createChildEditPolicy(EditPart child) {
return null;
}
+
+ //
https://issues.jboss.org/browse/JBIDE-8694
+ // isHorizontal() has been deprecated in GEF 3.7
+ // See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88884
+ @Override
+ protected boolean isLayoutHorizontal() {
+ return this.isHorizontal();
+ }
@Override
protected boolean isHorizontal() {