use of org.talend.designer.core.ui.editor.connections.NodeConnectorTool in project tdi-studio-se by Talend.
the class SelectionFeedbackEditPolicy method showSelection.
@Override
public void showSelection() {
if (this.sourceFigure == null) {
this.sourceFigure = getHostFigure();
this.sourceFigure.addFigureListener(this.figureListener);
}
INodeConnector connector = new NodeConnectorTool(nodePart).getConnector();
if (connector == null) {
this.setHideHandle(true);
return;
} else {
this.setHideHandle(false);
}
showFeedback(false, connector);
}
Aggregations