Bug 17177 Javadoc wizard doesn't remember checked options between 2 runs
Build 20020521 The Javadoc wizard doesn't remember that I checked 'Open generated index file in browser' between 2 runs. As a result, I cannot just press Finish, but I need to press Next twice, then check the option again, then press Finish.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizard.java
}
		} catch (IOException e) {
			JavaPlugin.log(e);
			return false;
		}
		return false;
	}
	
	private boolean checkPreconditions(IJavaElement[] elements) {
		
		ArrayList resources= new ArrayList();
		for (int i= 0; i < elements.length; i++) {
			try {
				if (elements[i] instanceof ICompilationUnit) {
					resources.add(elements[i].getCorrespondingResource());
				}
			} catch(JavaModelException e) {
				JavaPlugin.log(e);
			}
		}
		
		
		IFile[] unSavedFiles = getUnsavedFiles(resources);
		return saveModifiedResourcesIfUserConfirms(unSavedFiles);
	}
	
	/**
	 * Returns the files which are not saved and which are
	 * part of the files being exported.
	 *