Bug 301131 CreateGroupOperation, GroupDescription should be renamed or merged into existing classes
There are some remaining issues related to renamin Groups into Virtual Folders. org.eclipse.ui.internal.ide.undo.GroupDescription IMO should be merged with FolderDescription org.eclipse.ui.ide.undo.CreateGroupOperation should be merged with CreateFolderOperation IDEResourceInfoUtils#GROUP_TEXT org.eclipse.ui.wizards.datatransfer#ImportOperation#setCreateGroups Remy, if you see other related issues, please add a comment to the bug.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/ImportOperation.java
}
        return (IFile) adapted;
      
    }
    /**
     * Returns the resource either casted to or adapted to an IFolder. 
     * 
     * @param resource resource to cast/adapt
     * @return the resource either casted to or adapted to an IFolder.
     * 	<code>null</code> if the resource does not adapt to IFolder 
     */
    IFolder getFolder(IResource resource) {
        if (resource instanceof IFolder) {
            return (IFolder) resource;
        }
        Object adapted = ((IAdaptable) resource).getAdapter(IFolder.class);
        if(adapted == null) {
			return null;
		}
        return (IFolder) adapted;
    }
    /**
     * Returns the rejected files based on the given multi status.
     *  
     * @param multiStatus multi status to use to determine file rejection
     * @param files source files
     * @return list of rejected files as absolute paths. Object type IPath.
     */
    ArrayList getRejectedFiles(IStatus multiStatus, IFile[] files) {
        ArrayList filteredFiles = new ArrayList();