use of org.talend.designer.gefabstractmap.figures.anchors.FilterColumnAnchor in project tdi-studio-se by Talend.
the class TreeNodeEditPart method getSourceConnectionAnchor.
@Override
public ConnectionAnchor getSourceConnectionAnchor(ConnectionEditPart connection) {
IFigure figure = null;
boolean forceDarshDot = false;
if (getRootAnchor() != null) {
figure = getRootAnchor();
forceDarshDot = true;
} else {
figure = getFigure();
}
if (connection instanceof XmlMapLookupConnectionPart) {
return new LookupColumnAnchor(figure, connection, entityManger);
}
if (connection instanceof XmlMapFilterConnectionPart) {
return new FilterColumnAnchor(figure, connection, entityManger);
}
return new ConnectionColumnAnchor(figure, connection, entityManger, forceDarshDot);
}
Aggregations