Bug 16527 New API in ISearchResultView breaks old if null is used
Build 20020519 ISearchResultView.searchStarted(.....). Clients were passing a null parameter that now has to be cast to IActionGroupFactory or IContextMenuProvider to get rid of compile errors.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultCollector.java
/*
	 * @see IJavaSearchResultCollector#getProgressMonitor().
	 */
	public IProgressMonitor getProgressMonitor() {
		return fMonitor;
	};
	
	void setProgressMonitor(IProgressMonitor pm) {
		fMonitor= pm;
	}	
	
	void setOperation(JavaSearchOperation operation) {
		fOperation= operation;
	}
	
	private String getFormattedMatchesString(int count) {
		if (fMatchCount == 1)
			return MATCH;
		fMessageFormatArgs[0]= new Integer(count);
		return MessageFormat.format(MATCHES, fMessageFormatArgs);
	}
	private IWorkbenchWindow getWorbenchWindow() {
		IWorkbenchWindow wbWindow= null;
		if (fView != null && fView.getSite() != null)
			wbWindow= fView.getSite().getWorkbenchWindow();
		if (wbWindow == null)
			wbWindow= JavaPlugin.getActiveWorkbenchWindow();
		return wbWindow;
	}
}