Bug 89463 [search] new search filters (inexact & erasure) should be in view menu where applicable
I20050329-2000 The new search filters (inexact & erasure) should appear directly in the view menu where applicable. Currently the user always has to open the filters dialog to toggle them. Inexact is always applicable. Erasure is applicable for references and occurrences search for generic types and methods.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java
public boolean filters(JavaElementMatch match) {
		return match.isJavadoc();
	}
	public String getName() {
		return SearchMessages.MatchFilter_JavadocFilter_name; 
	}
	public String getActionLabel() {
		return SearchMessages.MatchFilter_JavadocFilter_actionLabel; 
	}
	public String getDescription() {
		return SearchMessages.MatchFilter_JavadocFilter_description; 
	}
	public boolean isApplicable(JavaSearchQuery query) {
		return true;
	}
	public String getID() {
		return "filter_javadoc"; 
	}
}
abstract class GenericTypeFilter extends MatchFilter {