Hello!
I need some help with my view, which displays figures like ellipses, connections.
I use draw2d from GEF.
After long searching I have found a class for displaying bezier connections. They look like braces )( . I am speaking of this class
http://mail.eclipse.org/viewcvs/inde...n.java?view=co
Actually my view looks almost like i want it, but only almost

Let me explain:
The first time I open my view the arrow heads of the connections seems not to know where to look. As soon as I am resizing the view or moving one of the ellipses all arrow heads turn the right way.
I create the connections this way:
Code:
private BezierConnection createConnection(State from, State to) {
final BezierConnection conn = new BezierConnection(20, 0.4, 20, 0.4);
conn.setSourceAnchor(new EllipseAnchor(from));
conn.setTargetAnchor(new EllipseAnchor(to));
PolygonDecoration dec = new PolygonDecoration();
dec.setTemplate(PolygonDecoration.TRIANGLE_TIP);
conn.setTargetDecoration(dec);
return conn;
}
I do not know what to do?
Is someone using the same class and had the same problem.
Does anyone know the solution?
Or can you recommend me another code which constructs a bezierConnection?
Please Help!
Thanks in advance!
Best regards
p.s.:sorry for my english