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(defaultSelectionPendent != null) {
								fireOpenEvent(new SelectionEvent(e));
								enterKeyDown = false;
								defaultSelectionPendent = null;
							} else {
								enterKeyDown = true;
							}
						}	
						break;
					case SWT.Selection:
						SelectionEvent event = new SelectionEvent(e);
						fireSelectionEvent(event);
						mouseMoveEvent = null;
						if (mouseUpEvent != null)
							mouseSelectItem(event);
						else
							selectionPendent = event;
						count[0]++;
						
						
						
						
						display.asyncExec(new Runnable() {
							public void run() {
								if (arrowKeyDown) {
									display.timerExec(TIME, new Runnable() {
										int id = count[0];
										public void run() {
											if (id == count[0]) {
												firePostSelectionEvent(new SelectionEvent(e));