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/NewProjectWizardOperationTest.java
addToSelection(new int[] {JAR});
        DialogExplorerActionContext context= createContext();
        addListener(new int[] {REMOVE_FROM_BP});
        fActionGroup.setContext(context);
        reset();
        
        addToSelection(new int[] {JAR, ZIP});
        context= createContext();
        addListener(new int[] {});
        fActionGroup.setContext(context);
        reset();
    }
    
    public void testDefaultZipWithOthers() throws JavaModelException, InvocationTargetException {
        addToSelection(new int[] {ZIP});
        DialogExplorerActionContext context= createContext();
        addListener(new int[] {});
        fActionGroup.setContext(context);
        reset();
        
         
         
        
        final IPackageFragmentRoot[] addedZipArchive= {null};
        AddSelectedLibraryOperation operation= new AddSelectedLibraryOperation(null, new IClasspathInformationProvider() {
            public void handleResult(List resultElements, CoreException exception, int operationType) {
                addedZipArchive[0]= (IPackageFragmentRoot)resultElements.get(0);
            }
            public IStructuredSelection getSelection() {
                List list= new ArrayList();