Bug 44280 Add regex content assist support for File search page
I20031007
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java
private JavaSearchQuery fQuery;
	private Map fElementsToParticipants;
	
	public JavaSearchResult(JavaSearchQuery query) {
		fQuery= query;
		fElementsToParticipants= new HashMap();
	}
	public ImageDescriptor getImageDescriptor() {
		return fQuery.getImageDescriptor();
	}
	/* (non-Javadoc)
	 * @see org.eclipse.search.ui.ISearchCategory#getText(org.eclipse.search.core.basic.ITextSearchResult)
	 */
	public String getLabel() {
		int matchCount= getMatchCount();
		String format= null;
		if (matchCount == 1)
			return fQuery.getSingularLabel();
		else 
			format= fQuery.getPluralLabelPattern();
		return MessageFormat.format(format, new Object[] { new Integer(matchCount) });
	}
	public String getTooltip() {
		return getLabel();
	}
	public Match[] computeContainedMatches(AbstractTextSearchResult result, IEditorPart editor) {
		IEditorInput editorInput= editor.getEditorInput();
		if (editorInput instanceof IFileEditorInput)  {