else if (node instanceof ModuleView && linkState == NOT_LINKING) { ModuleView mod = (ModuleView) node;  mod.setModulesHighlighted(true);
else if (node instanceof SingleModuleView && linkState == NOT_LINKING) { SingleModuleView mod = (SingleModuleView) node;
	public void mouseEntered(PInputEvent e) {		PNode node = e.getPickedNode();		if (node instanceof FormalParameter) {			lastParameterEntered = (FormalParameter) node;			//System.err.println("mouse entered last entered.."+			if (linkState == NOT_LINKING) {				// turn on params for this parameter 				lastParameterEntered.setParamsHighlighted(true);				// set all modules of this same type to be highlighted.				ModuleView mod = lastParameterEntered.getModuleView();				mod.setModulesHighlighted(true);				}			e.setHandled(true);		}		else if (node instanceof ModuleLinkTarget && linkState == NOT_LINKING) {			((ModuleLinkTarget) node).setParametersHighlighted(true);			//ModuleView mod = ((ModuleLinkTarget) node).getModuleView();		     //mod.setAllHighlights(true);			e.setHandled(true);		}		else if (node instanceof ModuleView && linkState == NOT_LINKING) {			ModuleView mod = (ModuleView) node;			// highlight all matching params..			mod.setModulesHighlighted(true);			mod.setAllHighlights(true);			e.setHandled(true);		}		else {			super.mouseEntered(e);		}	}