if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking params. setting to linking cancellation");
	private void mousePressedLinkingParams(PNode node,PInputEvent e) {		//System.err.println("mouse pressed linking params "+e);				if (e.getClickCount() ==2) {			cancelParamLink();			//System.err.println("mouse pressed linking params. setting to linking cancellation");			linkState = LINKING_CANCELLATION;			postLinkCompletion = true;		}		else if (lastParameterEntered == null) { // we're on canvas.			Point2D pos = e.getPosition();			link.setIntermediatePoint((float) pos.getX(),(float) pos.getY());		}		else if (lastParameterEntered != null) {			finishParamLink();			postLinkCompletion = true;		}		e.setHandled(true);	}