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
return;
		Object l[] = openEventListeners.getListeners();
		for (int i = 0; i < l.length; i++) {
			((IOpenEventListener)l[i]).handleOpen(e);
		}
	}
	
	
	private void initializeHandler(final Display display) {
		eventHandler = new Listener() {
			boolean timerStarted = false;
			Event mouseUpEvent = null;
			Event mouseMoveEvent = null;
			SelectionEvent selectionPendent = null;
			boolean enterKeyDown = false;
			SelectionEvent defaultSelectionPendent = null;
			boolean arrowKeyDown = false;
			final int[] count = new int[1];
			
			long startTime = System.currentTimeMillis();
			public void handleEvent(final Event e) {
				if(e.type == SWT.DefaultSelection) {
					SelectionEvent event = new SelectionEvent(e);
					fireDefaultSelectionEvent(event);
					if(CURRENT_METHOD == DOUBLE_CLICK) {
						fireOpenEvent(event);
					} else {
						if(enterKeyDown) {
							fireOpenEvent(event);
							enterKeyDown = false;