if (ChainBuilderAgent.DEBUG) System.err.println("mouse pressed linking module targets "+e);
	private void mousePressedLinkingModuleTargets(PNode node,PInputEvent e) {		//System.err.println("mouse pressed linking module targets "+e);		PNode n = e.getPickedNode();		if (e.getClickCount() ==2) {			cancelModuleTargetLink();			//System.err.println("mouse pressed linking params. setting to linking cancellation");			linkState = LINKING_CANCELLATION;			postLinkCompletion = true;		}		else if (n instanceof ModuleView) {			finishModuleTargetLink((ModuleView) n);			postLinkCompletion = true;		}		else if (!(n instanceof ModuleLinkTarget)) { // we're on canvas.			Point2D pos = e.getPosition();			moduleLink.setIntermediatePoint((float) pos.getX(),(float) pos.getY());		}		else if (moduleLinkOriginTarget != null) {			finishModuleTargetLink((ModuleLinkTarget) n);			postLinkCompletion = true;		}		e.setHandled(true);	}