Bug 49838 New Search: Tooltip texts should be commands
Tooltips usually don't describe what their widget does, but are just short commands in title case. Where the new search view e.g. says "Shows the next match", it should read "Show Next Match" (as in the old search view). This applies to all buttons.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
((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);
		updateGroupingActions();
	}
	
	protected StructuredViewer getViewer() {
		
		return super.getViewer();
	}
}