Bug 85385 New JProject wizard should check whether linked folders exist
I20050215-2300 The new source page on the New Java Project wizard allows to create linked folders to locations that don't exists. This leads to various problems and .log entries later.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/LinkFolderDialog.java
}
            
            IStatus nameStatus = fContainer.getWorkspace().validateName(name, IResource.FOLDER);
            if (!nameStatus.matches(IStatus.ERROR)) {
                return nameStatus;
            }
            
            IPath path = new Path(name);
            if (fContainer.findMember(path) != null) {
            	return new StatusInfo(IStatus.ERROR, NewWizardMessages.getFormattedString("NewFolderDialog.folderNameEmpty.alreadyExists", name)); 
            }
            return nameStatus;
        }
    }
    
    private FolderNameField fFolderNameField;
    private LinkFields fDependenciesGroup;
    private IContainer fContainer;
	private IFolder fCreatedFolder;
    /**
     * Creates a NewFolderDialog
     * 
     * @param parentShell parent of the new dialog
     * @param container parent of the new folder
     * 
     * @see HintTextGroup
     */
    public LinkFolderDialog(Shell parentShell, IContainer container) {
        super(parentShell);
        fContainer = container;