Bug 98472 New project wizard: second page remove from class path should ask for removal of folder when linked
RC1 - create a new project - switch to the second page - link in additional source observe: there is no way to unlink the addtional source We should offer to unlink the folder when the folder is removed from the build path again.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/dialogs/NewProjectWizardTest.java
};
    }
    
    protected IPath[] getPaths() throws JavaModelException {
        IClasspathEntry[] entries= fProject.getRawClasspath();
        IPath[] paths= new IPath[entries.length];
        for(int i= 0; i < entries.length; i++) {
            paths[i]= entries[i].getPath();
        }
        return paths;
    }
    
    protected void validateClasspath() throws JavaModelException {
        IJavaModelStatus status= JavaConventions.validateClasspath(fProject, fProject.getRawClasspath(), fProject.getOutputLocation());
        assertFalse(status.getSeverity() == IStatus.ERROR);
    }
    
    protected IPackageFragmentRoot getProjectRoot(IResource resource) throws JavaModelException {
        return ClasspathModifier.getFragmentRoot(resource, fProject, null);
    }
    
    protected static boolean contains(IPath path, IPath[] paths, IProgressMonitor monitor) {
        if (monitor == null)
            monitor= new NullProgressMonitor();
        if (path == null)
            return false;
        try {
            monitor.beginTask(NewWizardMessages.ClasspathModifier_Monitor_ComparePaths, paths.length); 
            if (path.getFileExtension() == null)