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
fItems[ZIP]= removedZipFile[0];
        
        return fProject;
    }
    
    protected int getID(ClasspathModifierAction action) {
        return Integer.parseInt(action.getId());
    }
    
    protected void addToSelection(int[] indices) {
        for (int i= 0; i < indices.length; i++) {
            fSelection.add(fItems[indices[i]]);
        }
    }
    
    protected void addToSelection(Object obj) {
        fSelection.add(obj);
    }
    
    protected DialogExplorerActionContext createContext() {
        return new DialogExplorerActionContext(fSelection, fProject);
    }
    
    protected void addListener(final int[] expectedValues) {
        fListener= new IPackageExplorerActionListener() {
            public void handlePackageExplorerActionEvent(PackageExplorerActionEvent event) {
                ClasspathModifierAction[] actions= event.getEnabledActions();
                if (actions.length != expectedValues.length) {
                	assertTrue(false);
                }