01: package org.drools.eclipse.editors.rete.figure;
02:
03: import org.eclipse.draw2d.Graphics;
04: import org.eclipse.draw2d.PolylineConnection;
05: import org.eclipse.swt.SWT;
06:
07: /**
08: * ConnectionFigure between two Vertices.
09: *
10: */
11: public class ConnectionFigure extends PolylineConnection {
12:
13: /**
14: * Painting antialiased connector
15: */
16: public void paint(Graphics g) {
17: g.setAntialias(SWT.ON);
18: super.paint(g);
19: }
20: }
|