Bug 55531 Single click mode opens on collapse
I20040318 - do a New Java Search - set Group by Project - expand tree to see a method containing a match - select the method - collapse the project containing the selection observe: the node collapses, the selection is set to the project node and the node is expanded again. I have single selection enabled.
bundles/org.eclipse.jface/src/org/eclipse/jface/util/OpenStrategy.java
if((method & (SINGLE_CLICK | SELECT_ON_HOVER | ARROW_KEYS_OPEN)) == 0)
			throw new IllegalArgumentException("Invalid open mode"); 
		CURRENT_METHOD = method;
	}
	/**
	 * Return true if editors should be activated when opened.
	 */
	public static boolean activateOnOpen() {
		return getOpenMethod() == DOUBLE_CLICK;
	}
	/*
	 * Adds all needed listener to the control in order to implement
	 * single-click/double-click strategies.
	 */ 
	private void addListener(Control c) {
		c.addListener(SWT.MouseEnter,eventHandler);
		c.addListener(SWT.MouseExit,eventHandler);
		c.addListener(SWT.MouseMove,eventHandler);
		c.addListener(SWT.MouseDown, eventHandler);
		c.addListener(SWT.MouseUp, eventHandler);
		c.addListener(SWT.KeyDown, eventHandler);
		c.addListener(SWT.Selection, eventHandler);
		c.addListener(SWT.DefaultSelection, eventHandler);
	}
	/*
	 * Fire the selection event to all selectionEventListeners
	 */ 
	private void fireSelectionEvent(SelectionEvent e) {
		if(e.item != null && e.item.isDisposed())
			return;