Bug 90569 combobox needs to remember more items
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
settings.put("limitTo", limitTo); 
			settings.put("javaElement", javaElement != null ? javaElement.getHandleIdentifier() : ""); 
			settings.put("isCaseSensitive", isCaseSensitive); 
			if (workingSets != null) {
				String[] wsIds= new String[workingSets.length];
				for (int i= 0; i < workingSets.length; i++) {
					wsIds[i]= workingSets[i].getId();
				}
				settings.put("workingSets", wsIds); 
			} else {
				settings.put("workingSets", new String[0]); 
			}
		}
		
		public static SearchPatternData create(IDialogSettings settings) {
			String pattern= settings.get("pattern"); 
			if (pattern.length() == 0) {
				return null;
			}
			IJavaElement elem= null;
			String handleId= settings.get("javaElement"); 
			if (handleId != null && handleId.length() > 0) {
				IJavaElement restored= JavaCore.create(handleId); 
				if (restored != null && isSearchableType(restored) && restored.exists()) {
					elem= restored;
				}
			}
			String[] wsIds= settings.getArray("workingSets"); 
			IWorkingSet[] workingSets= null;
			if (wsIds != null && wsIds.length > 0) {