fTestSessionContentProvider.setLayout(layoutMode); fTestSessionLabelProvider.setLayout(layoutMode); if (failuresOnly) { if (! isShowFailuresOnly()) { fFailuresOnlyFilter= new FailuresOnlyFilter(); fTreeViewer.addFilter(fFailuresOnlyFilter);
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; }
	public void setShowFailuresOnly(boolean failuresOnly, int layoutMode) {		fLayoutMode= layoutMode;		fTestSessionContentProvider.setLayout(layoutMode);		fTestSessionLabelProvider.setLayout(layoutMode);		if (failuresOnly) {			if (! isShowFailuresOnly()) {				fFailuresOnlyFilter= new FailuresOnlyFilter();				fTreeViewer.addFilter(fFailuresOnlyFilter);			}		} else {			if (isShowFailuresOnly()) {				fTreeViewer.removeFilter(fFailuresOnlyFilter);				fFailuresOnlyFilter= null;			}		}	}