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
ICompilationUnit cu= createICompilationUnit("C", fragment);
        
        fragment= (IPackageFragment)executeOperation(IClasspathInformationProvider.INCLUDE, fragment, null, null, null, null);
        IFile excludedFile= (IFile)executeOperation(IClasspathInformationProvider.EXCLUDE, cu, null, null, null, null);
        
        cu= (ICompilationUnit)executeOperation(IClasspathInformationProvider.UNEXCLUDE, excludedFile, null, null, null, null);
        assertFalse(contains(cu.getPath().removeFirstSegments(2), root.getRawClasspathEntry().getExclusionPatterns(), null));
        assertTrue(excludedFile.getFullPath().equals(cu.getPath()));
        
        validateClasspath();
    }
    
    
    protected Object executeOperation(int type, final Object selection, final ClasspathModifierQueries.OutputFolderQuery outputQuery, final ClasspathModifierQueries.IOutputLocationQuery locationQuery, final ClasspathModifierQueries.IFolderCreationQuery creationQuery, final ClasspathModifierQueries.IInclusionExclusionQuery inclQuery) throws InvocationTargetException, InterruptedException {
        final Object[] returnValue= {null};
        IClasspathInformationProvider provider= new IClasspathInformationProvider() {
            public void handleResult(List result, CoreException exception, int operationType) {
                if (result.size() == 1)
                    returnValue[0]= result.get(0);
            }
            public IStructuredSelection getSelection() {
                List list= new ArrayList();
                list.add(selection);
                return new StructuredSelection(list);
            }
            public IJavaProject getJavaProject() {
                return fProject;
            }
            public ClasspathModifierQueries.OutputFolderQuery getOutputFolderQuery() {
                return outputQuery;