return sourceAnchor;
}
public ConnectionAnchor getTargetConnectionAnchor(ConnectionEditPart connection) {
if (connection.getSource() == connection.getTarget()) {
((PolylineConnection)connection.getFigure()).setConnectionRouter(new SelfLoopConnectionRouter());
return new SelfConnectionTargetAnchor(getFigure());
}
if (targetAnchor == null) {
targetAnchor = new ChopboxAnchor(getFigure());
}