Bug 66092 The old search API should be deprecated
We should deprecate the old search API. In package org.eclipse.search.ui. I support this request - CCin Jeem for final blessing IActionGroupFactory IContextMenuContributor IGroupByKeyComputer ISearchResultView ISearchResultViewEntry In class SearchUI: public static boolean activateSearchResultView() public static Image getSearchMarkerImage() public static ISearchResultView getSearchResultView() public static final String SEARCH_RESULT_VIEW_ID public static final String POTENTIAL_MATCH public static final String LINE
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
else 
				count++;
		}
		Match[] filteredMatches= new Match[count];
		
		int writeIndex= 0;
		for (int i= 0; i < matches.length; i++) {
			if (matches[i] != null)
				filteredMatches[writeIndex++]= matches[i];
		}
		
		return filteredMatches;
	}
	
	private boolean isFiltered(Match match) {
		MatchFilter[] filters= getMatchFilters();
		for (int j= 0; j < filters.length; j++) {
			if ((match instanceof JavaElementMatch) && filters[j].filters((JavaElementMatch) match))
				return true;
		}
		return false;
	}
	public void setInput(ISearchResult search, Object viewState) {
		updateFilterEnablement((JavaSearchResult)search);
		super.setInput(search, viewState);
	}
	private void updateFilterEnablement(JavaSearchResult result) {
		IActionBars bars= getSite().getActionBars();
		IMenuManager menu= bars.getMenuManager();
		for (int i= 0; i < fFilterActions.length; i++) {