Bug 10403 Project creation should confirm the bin directory can be scrubbed
When a user creates a new project for an existing directory structure, we should confirm that the output directory can be deleted then rebuilt. Some users are creating projects & pointing the output folder at a bin directory which contains more than just .class files which can be rebuilt from the available .java files.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
} else if (field == fBuildPathDialogField) {
			updateBuildPathStatus();
		}
		doStatusLineUpdate();
	}	
	
	
	
	
	private void doStatusLineUpdate() {
		IStatus res= findMostSevereStatus();
		fContext.statusChanged(res);
	}
	
	private IStatus findMostSevereStatus() {
		return StatusUtil.getMoreSevere(fClassPathStatus, fBuildPathStatus);
	}
	
	
	/**
	 * Validates the build path.
	 */
	private void updateClassPathStatus() {
		fClassPathStatus.setOK();
		
		List elements= fClassPathList.getElements();
	
		boolean entryMissing= false;
		IClasspathEntry[] entries= new IClasspathEntry[elements.size()];
		for (int i= elements.size()-1 ; i >= 0 ; i--) {