Bug 66794 Out of sync filter message [search]
I200406111238 - search for references to Refactoring - limit number of matches to 10 - switch group mode to CU observe: filters matched 21 - switch to flat mode observe: filters matched 84 <== seems already wrong - switch back observe: filters matched 0 <== is definitelly wrong
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.ActionContext;
import org.eclipse.ui.ide.IDE;
import org.eclipse.ui.part.IPageSite;
import org.eclipse.ui.part.IShowInTargetList;
import org.eclipse.ui.texteditor.ITextEditor;
public class JavaSearchResultPage extends AbstractTextSearchViewPage implements IAdaptable {
	private static final int DEFAULT_ELEMENT_LIMIT = 1000;
	private static final String FALSE = "FALSE"; 
	private static final String TRUE = "TRUE"; 
	private static final String KEY_GROUPING= "org.eclipse.jdt.search.resultpage.grouping"; 
	private static final String KEY_SORTING= "org.eclipse.jdt.search.resultpage.sorting"; 
	private static final String KEY_FILTERS= "org.eclipse.jdt.search.resultpage.filters"; 
	private static final String KEY_LIMIT_ENABLED= "org.eclipse.jdt.search.resultpage.limit_enabled"; 
	private static final String KEY_LIMIT= "org.eclipse.jdt.search.resultpage.limit"; 
	
	private static final String GROUP_GROUPING= "org.eclipse.jdt.search.resultpage.grouping"; 
	private static final String GROUP_FILTERING = "org.eclipse.jdt.search.resultpage.filtering"; 
	
	private NewSearchViewActionGroup fActionGroup;
	private JavaSearchContentProvider fContentProvider;
	private int fCurrentSortOrder;
	private SortAction fSortByNameAction;