Search in sources :

Example 1 with NodeConnectorTool

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);
}
Also used : NodeConnectorTool(org.talend.designer.core.ui.editor.connections.NodeConnectorTool) INodeConnector(org.talend.core.model.process.INodeConnector)

Aggregations

INodeConnector (org.talend.core.model.process.INodeConnector)1 NodeConnectorTool (org.talend.designer.core.ui.editor.connections.NodeConnectorTool)1