use of org.talend.designer.core.ui.editor.connections.TalendDummyConnection in project tdi-studio-se by Talend.
the class NodeGraphicalEditPolicy method createDummyConnection.
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy#createDummyConnection(org.eclipse.gef.Request)
*/
@Override
protected org.eclipse.draw2d.Connection createDummyConnection(Request req) {
if (DesignerPlugin.getDefault().getPreferenceStore().getBoolean(TalendDesignerPrefConstants.EDITOR_LINESTYLE)) {
TalendDummyConnection dummyConn = new TalendDummyConnection();
dummyConn.setRoundedBendpointsRadius(32);
return dummyConn;
}
return super.createDummyConnection(req);
}
Aggregations