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
this.setScope(scope);
			this.setWorkingSets(workingSets);
		}
		public void setCaseSensitive(boolean isCaseSensitive) {
			this.isCaseSensitive= isCaseSensitive;
		}
		public boolean isCaseSensitive() {
			return isCaseSensitive;
		}
		public void setJavaElement(IJavaElement javaElement) {
			this.javaElement= javaElement;
		}
		public IJavaElement getJavaElement() {
			return javaElement;
		}
		public void setLimitTo(int limitTo) {
			this.limitTo= limitTo;
		}
		public int getLimitTo() {
			return limitTo;
		}
		public void setPattern(String pattern) {
			this.pattern= pattern;
		}
		public String getPattern() {
			return pattern;
		}
		public void setScope(int scope) {
			this.scope= scope;
		}