if (ChainBuilderAgent.DEBUG)
if (ChainBuilderAgent.DEBUG >3)
	private void mousePressedLinkingModules(PNode node,PInputEvent e) {		int count = e.getClickCount();		if (ChainBuilderAgent.DEBUG) {			System.err.println("node is..."+node);			if (node instanceof ParamLink)				System.err.println("param link");			if (node instanceof ModuleLink)				System.err.println("module link");			System.err.println("caling mouse pressed linking modules..");		}		if (count ==2) {			if (ChainBuilderAgent.DEBUG)				System.err.println("2 presses. node is "+node);			if (node instanceof FormalParameter) {				FormalParameter p = (FormalParameter) node;				ModuleView mod = p.getModuleView();				finishModuleLinks(mod);			}			else if (node instanceof ModuleView) {				finishModuleLinks((ModuleView) node);			}			else				cancelModuleLinks();			wasDoubleClick = true;		}		else if (node instanceof PCamera){ // single click on camera			if (ChainBuilderAgent.DEBUG) {				System.err.println("on camera");				System.err.println("adding an intermediate point to modules link");			}						Iterator iter = links.iterator();			Point2D pos = e.getPosition();			ParamLink lnk;			int size = links.size();			float y = ((float) pos.getY()) - size/2*SPACING;			while (iter.hasNext()) {				lnk = (ParamLink) iter.next();				lnk.setIntermediatePoint((float) pos.getX(),y);				y += SPACING;			}		}		else  // single click ont on camera.			cancelModuleLinks();		postLinkCompletion = true;		e.setHandled(true);	}