if (connectionFigure instanceof FlowConnection && !InputState.isCtrlDown())
{
FlowConnection flowConnectionFigure = (FlowConnection) connectionFigure;
SocketFigure sourceSocketFigure = ((TagConnector) flowConnectionFigure.getStartConnector()).getSocketFigure();
SocketFigure targetSocketFigure = ((TagConnector) flowConnectionFigure.getEndConnector()).getSocketFigure();
AutoConnector autoConnector = new AutoConnector((Modeler) getEditor(), sourceSocketFigure, targetSocketFigure);
autoConnector.autoConnectDataLinks();
}
}
}
}