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
}				
				IJavaProject jproject= JavaCore.create(proj);
				fCurrRoot= jproject.getPackageFragmentRoot(res);
				if (fCurrRoot.exists()) {
					try {
						if (!proj.hasNature(JavaCore.NATURE_ID)) {
							if (resType == IResource.PROJECT) {
								status.setWarning(NewWizardMessages.getString("NewContainerWizardPage.warning.NotAJavaProject")); 
							} else {
								status.setWarning(NewWizardMessages.getString("NewContainerWizardPage.warning.NotInAJavaProject")); 
							}
							return status;
						}
					} catch (CoreException e) {
						status.setWarning(NewWizardMessages.getString("NewContainerWizardPage.warning.NotAJavaProject")); 
					}
					try {
						if (!jproject.isOnClasspath(fCurrRoot)) {
							status.setWarning(NewWizardMessages.getFormattedString("NewContainerWizardPage.warning.NotOnClassPath", str)); 
						}		
					} catch (JavaModelException e) {
						status.setWarning(NewWizardMessages.getFormattedString("NewContainerWizardPage.warning.NotOnClassPath", str)); 
					}					
					if (fCurrRoot.isArchive()) {
						status.setError(NewWizardMessages.getFormattedString("NewContainerWizardPage.error.ContainerIsBinary", str)); 
						return status;
					}
				}
				return status;
			} else {