Bug 53383 incorrect progress message in new search view
1) perform a file search for "deprecated" in *.java files in the workspace. -> while the search is running the following message is shown: running)(deprecated - 123 match in Workspace The parenthesis aren't match and no plural is used.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
DelegatingLabelProvider lpWrapper= (DelegatingLabelProvider) viewer.getLabelProvider();
		((JavaSearchResultLabelProvider)lpWrapper.getLabelProvider()).setOrder(order);
		if (order == JavaSearchResultLabelProvider.SHOW_ELEMENT_CONTAINER) {
			viewer.setSorter(new NameSorter());
		} else if (order == JavaSearchResultLabelProvider.SHOW_PATH) {
			viewer.setSorter(new PathSorter());
		} else
			viewer.setSorter(new ParentSorter());
	}
	public void init(IPageSite site) {
		super.init(site);
		fActionGroup.fillActionBars(site.getActionBars());
	}
	/**
	 * Precondition here: the viewer must be shwing a tree with a LevelContentProvider.
	 * @param order
	 */
	void setGrouping(int grouping) {
		fCurrentGrouping= grouping;
		StructuredViewer viewer= getViewer();
		LevelTreeContentProvider cp= (LevelTreeContentProvider) viewer.getContentProvider();
		cp.setLevel(grouping);
	}
	
	protected StructuredViewer getViewer() {
		
		return super.getViewer();
	}
}