Bug 18132 New wizards should verify if folder is on classpath
1. create J project 'P' with source folder setup (source folder 'src') 2. use new wizard to create a class ==> you can create a class inside 'P' or in a folder which is not on the classpath
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewContainerWizardPage.java
}	
	
	/**
	 * Returns the PackageFragmentRoot corresponding to the current input.
	 * @return the PackageFragmentRoot or <code>null</code> if the current
	 * input is not a valid source folder
	 */ 
	public IPackageFragmentRoot getPackageFragmentRoot() {
		return fCurrRoot;
	}
	/**
	 * Returns the text of the container field.
	 */ 	
	public String getPackageFragmentRootText() {
		return fContainerDialogField.getText();
	}
	
	
	/**
	 * Sets the current PackageFragmentRoot (model and text field).
	 * @param canBeModified Selects if the container field can be changed by the user
	 */ 
	public void setPackageFragmentRoot(IPackageFragmentRoot root, boolean canBeModified) {
		fCurrRoot= root;
		String str= (root == null) ? "" : root.getPath().makeRelative().toString(); 
		fContainerDialogField.setText(str);
		fContainerDialogField.setEnabled(canBeModified);
	}