Bug 62865 Filter text in title is wrong
I200405190010 1. Search for declaration of T ==> 1 match 2. Enable one of the filters ==> "Filters Matched 1" This is wrong since it did not match anything. It should be like in the Task view where it says; "Filter matched i of n items".
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java
}
					public void run() throws Exception {
						participantDescriptors[iPrime].getParticipant().search(requestor, fPatternData, participantPM);
					}
				};
				
				Platform.run(runnable);
			}
			
		} catch (CoreException e) {
			return e.getStatus();
		}
		String message= SearchMessages.getFormattedString("JavaSearchQuery.status.ok.message", String.valueOf(textResult.getMatchCount())); 
		return new Status(IStatus.OK, JavaPlugin.getPluginId(), 0, message, null);
	}
	public String getLabel() {
		return SearchMessages.getString("JavaSearchQuery.label"); 
	}
	public String getResultLabel(int nMatches) {
		if (nMatches == 1) {
			String[] args= { getSearchPatternDescription(), fPatternData.getScopeDescription() };
			switch (fPatternData.getLimitTo()) {
				case IJavaSearchConstants.IMPLEMENTORS:
					return SearchMessages.getFormattedString("JavaSearchOperation.singularImplementorsPostfix", args); 
				case IJavaSearchConstants.DECLARATIONS:
					return SearchMessages.getFormattedString("JavaSearchOperation.singularDeclarationsPostfix", args); 
				case IJavaSearchConstants.REFERENCES:
					return SearchMessages.getFormattedString("JavaSearchOperation.singularReferencesPostfix", args); 
				case IJavaSearchConstants.ALL_OCCURRENCES:
					return SearchMessages.getFormattedString("JavaSearchOperation.singularOccurrencesPostfix", args);