Bug 90074 [search] Search view flashing while navigating workspace
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
private boolean fLimitElements= false;
	private int fElementLimit;
	public JavaSearchResultPage() {
		initSortActions();
		initGroupingActions();
		initFilterActions();
		fFilterListener= new ISearchResultListener() {
			public void searchResultChanged(SearchResultEvent e) {
				if (e instanceof MatchEvent) {
					MatchEvent evt= (MatchEvent) e;
					if (evt.getKind() == MatchEvent.ADDED) {
						Match[] matches= evt.getMatches();
						for (int i= 0; i < matches.length; i++) {
							updateFilterState(matches[i]);
						}
					}
				}
			}
		};
	}
	
	private void initFilterActions() {
		MatchFilter[] allFilters= MatchFilter.allFilters();
		fFilterActions= new FilterAction[allFilters.length];
		for (int i= 0; i < fFilterActions.length; i++) {
			fFilterActions[i]= new FilterAction(this, allFilters[i]);
			fFilterActions[i].setId("org.eclipse.jdt.search.filters."+i); 
		}
		fFilterDialogAction= new FiltersDialogAction(this);
		fFilterDialogAction.setId("org.eclipse.jdt.search.filters."+allFilters.length);