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
try {
				targetResource.setResourceAttributes(ResourceAttributes.fromFile((File) fileObject));
				timeStamp = ((File)fileObject).lastModified();
			} catch (CoreException e) {
        		errorTable.add(e.getStatus());
			}
		}else if (fileObject instanceof TarEntry) {
        	try {
        		targetResource.setResourceAttributes(((TarLeveledStructureProvider) provider).getResourceAttributes(fileObject));
        		timeStamp = ((TarEntry)fileObject).getTime()*1000; 
        	} catch (CoreException e) {
        		errorTable.add(e.getStatus());
        	}
        }else if (fileObject instanceof ZipEntry) {
			long zipTimeStamp = ((ZipEntry)fileObject).getTime();
			if(zipTimeStamp != -1)
				timeStamp = zipTimeStamp;
        }
		
    	if(timeStamp!= 0) {
    		try {
				targetResource.setLocalTimeStamp(timeStamp);
			} catch (CoreException e) {
        		errorTable.add(e.getStatus());
			}
    	}
	}
	/**
     * Imports the specified file system objects into the workspace.
     * If the import fails, adds a status object to the list to be returned by