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
/** A single click will generate an open
	 * event and key arrows will generate an open event after a
	 * small time.
	 * 
	 * @deprecated
	 */
	public static final int FILE_EXPLORER = SINGLE_CLICK | ARROW_KEYS_OPEN;
	/** Pointing to an item will change the selection
	 * and a single click will gererate an open event
	 * 
	 * @deprecated
	 */
	public static final int ACTIVE_DESKTOP = SINGLE_CLICK | SELECT_ON_HOVER;		
	
	
	private static final int TIME = 500;
	
	/* SINGLE_CLICK or DOUBLE_CLICK;
	 * In case of SINGLE_CLICK, the bits SELECT_ON_HOVER and ARROW_KEYS_OPEN
	 * my be set as well. */
	private static int CURRENT_METHOD = DOUBLE_CLICK;
	
	private Listener eventHandler;
	
	private ListenerList openEventListeners = new ListenerList(1);
	private ListenerList selectionEventListeners = new ListenerList(1);
	private ListenerList postSelectionEventListeners = new ListenerList(1);
	
	public OpenStrategy(Control control) {
		initializeHandler(control.getDisplay());