refresh();
}
public ConnectionAnchor getSourceConnectionAnchor(ConnectionEditPart connection) {
if (connection.getSource() == connection.getTarget()) {
return new SelfConnectionSourceAnchor(getFigure());
}
if (sourceAnchor == null) {
sourceAnchor = new ChopboxAnchor(getFigure());
}
return sourceAnchor;