Bug 45496 Global Search Dialog needs Persistent History Lists
Global Search Dialog should keep persistent history lists. At the moment all settings are lost after worckbench shutdown. I would recommend to limit the number of entries saved to 10.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
private boolean fIsCaseSensitive;
	
	private Combo fPattern;
	private ISearchPageContainer fContainer;
	private Button fCaseSensitive;
	
	private Button[] fSearchFor;
	private String[] fSearchForText= {
		SearchMessages.getString("SearchPage.searchFor.type"), 
		SearchMessages.getString("SearchPage.searchFor.method"), 
		SearchMessages.getString("SearchPage.searchFor.package"), 
		SearchMessages.getString("SearchPage.searchFor.constructor"), 
		SearchMessages.getString("SearchPage.searchFor.field")}; 
	private Button[] fLimitTo;
	private String[] fLimitToText= {
		SearchMessages.getString("SearchPage.limitTo.declarations"), 
		SearchMessages.getString("SearchPage.limitTo.implementors"), 
		SearchMessages.getString("SearchPage.limitTo.references"), 
		SearchMessages.getString("SearchPage.limitTo.allOccurrences"), 
		SearchMessages.getString("SearchPage.limitTo.readReferences"), 		
		SearchMessages.getString("SearchPage.limitTo.writeReferences")};
	private Button fSearchJRE; 
	private static final int INDEX_REFERENCES= 2;
	private static final int INDEX_ALL= 3;
	
	
	public boolean performAction() {
		return performNewSearch();
	}