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 {
			return jproj.getProject().getFullPath();
		}
	}	
		
	private class BuildPathAdapter implements IStringButtonAdapter, IDialogFieldListener {
		
		public void changeControlPressed(DialogField field) {
			buildPathChangeControlPressed(field);
		}
		
		
		public void dialogFieldChanged(DialogField field) {
			buildPathDialogFieldChanged(field);
		}
	}
	
	private void buildPathChangeControlPressed(DialogField field) {
		if (field == fBuildPathDialogField) {
			IContainer container= chooseContainer();
			if (container != null) {
				fBuildPathDialogField.setText(container.getFullPath().toString());
			}
		}
	}
	
	private void buildPathDialogFieldChanged(DialogField field) {
		if (field == fClassPathList) {
			updateClassPathStatus();
			updateBuildPathStatus();