Bug 296691 Change new Groups API to Virtual Resource API
If we decide that 'virtual' is the right naming for new resources concept, I will make the following changes. Add IResource#VIRTUAL flag to use in #create methods Add IResource#isVirtual indicating that a resource is virtual Remove IResource#isGroup Remove IFolder#createGroup
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/ImportOperation.java
ArrayList validateEdit(List existingFiles) {
       
        if (existingFiles.size() > 0) {
            IFile[] files = (IFile[]) existingFiles
                    .toArray(new IFile[existingFiles.size()]);
            IWorkspace workspace = ResourcesPlugin.getWorkspace();
            IStatus status = workspace.validateEdit(files, context);
            
            if (status.isMultiStatus()) {
				return getRejectedFiles(status, files);
			}
            
           if(!status.isOK()){
           		
           		errorTable.add(status);
           		ArrayList filteredFiles = new ArrayList();
           		for (int i = 0; i < files.length; i++) {
           			filteredFiles.add(files[i].getFullPath());
           		}
           		return filteredFiles;
           }
            
        }
        return new ArrayList();
    }
    /**
     * Validates the given file system objects.
     * The user is prompted to overwrite existing files.
     * Existing read-only files are validated with the VCM provider.
     *