for (int i = 0; i < listeners.length; i++) view.tree.removeTreeExpansionListener(listeners[i]);
	private void onClick(MouseEvent e)	{				int selRow = view.tree.getRowForLocation(e.getX(), e.getY());		if (selRow != -1) {	   		view.tree.setSelectionRow(selRow);	   		DataObject target = view.getCurrentOMEObject();			// remove tree expansion listener			//otherwise a tree expansion event is fired when we			//double-click			for (int i = 0; i < listeners.length; i++) 				view.tree.removeTreeExpansionListener(listeners[i]);	   		if (target != null) {				if (e.isPopupTrigger()) {					DataManagerUIF presentation = 								agentCtrl.getAbstraction().getPresentation();					TreePopupMenu popup = presentation.getPopupMenu();					popup.setTarget(target);  					popup.show(view.tree, e.getX(), e.getY());				} else {					if (e.getClickCount() == 2) {						agentCtrl.showProperties(target);						for (int i = 0; i < listeners.length; i++) 							view.tree.addTreeExpansionListener(listeners[i]);					}					}	   		}// else { //Test click on the root node.				//if (e.isPopupTrigger()) rebuildTree();	   		//}		}	}