ILabelProvider labelProvider= view.getLabelProvider(); if (labelProvider instanceof JavaSearchResultLabelProvider) ((JavaSearchResultLabelProvider)labelProvider).setOrder(JavaSearchResultLabelProvider.SHOW_PATH);
fLabelProvider= view.getLabelProvider(); if (fLabelProvider instanceof JavaSearchResultLabelProvider) ((JavaSearchResultLabelProvider)fLabelProvider).setOrder(JavaSearchResultLabelProvider.SHOW_PATH);
	public void sort(Viewer viewer, Object[] elements) {		// Set label provider to show "path - resource"		ISearchResultView view= SearchUI.getSearchResultView();		if (view == null)			return;				ILabelProvider labelProvider= view.getLabelProvider();		if (labelProvider instanceof JavaSearchResultLabelProvider)			((JavaSearchResultLabelProvider)labelProvider).setOrder(JavaSearchResultLabelProvider.SHOW_PATH);		super.sort(viewer, elements);	}