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
* @param sourceFiles files to validate
     */
    void validateFiles(List sourceFiles) {
        ArrayList noOverwrite = new ArrayList();
        ArrayList overwriteReadonly = new ArrayList();
        collectExistingReadonlyFiles(destinationPath, sourceFiles, noOverwrite,
                overwriteReadonly, POLICY_DEFAULT);
        rejectedFiles = validateEdit(overwriteReadonly);
        rejectedFiles.addAll(noOverwrite);
    }
    /**
     * Set Whether groups and links will be created instead of files and folders
     * 
     * @param groups
     * @since 3.6
     */
    public void setCreateGroups(boolean groups) {
        createGroups = groups;
    }
    /**
     * Set Whether links will be created instead of files and folders
     * 
     * @param links
     * @since 3.6
     */
    public void setCreateLinks(boolean links) {
        createLinks = links;
    }
}