Bug 127441 junit view: showing errors only takes a long time
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestViewer.java
TestElement testElement= null;
		if (selection.size() == 1) {
			testElement= (TestElement) selection.getFirstElement();
		}
		fTestRunnerPart.handleTestSelected(testElement);
	}
	
	void disposeIcons() {
		fHierarchyIcon.dispose();
	}
	public void setShowFailuresOnly(boolean failuresOnly, int layoutMode) {
		fLayoutMode= layoutMode;
		try {
			fTreeViewer.getTree().setRedraw(false);
			fTestSessionContentProvider.setLayout(layoutMode);
			fTestSessionLabelProvider.setLayout(layoutMode);
			if (failuresOnly) {
				if (!isShowFailuresOnly()) {
					fFailuresOnlyFilter= new FailuresOnlyFilter();
					fTreeViewer.addFilter(fFailuresOnlyFilter);
				}
			} else {
				if (isShowFailuresOnly()) {
					fTreeViewer.removeFilter(fFailuresOnlyFilter);
					fFailuresOnlyFilter= null;
				}
			}
		} finally {
			fTreeViewer.getTree().setRedraw(true);
		}