Bug 210568 [Import/Export] Refresh button does not update list of projects
Refresh button does not update list of projects Steps to reproduce 1. Invoke Import Existing Projects wizard 2. Select any folder as the root directory [List of project will be shown] 3. Copy another project into that folder 4. Press Refresh The new project is not shown. I would expect that the Refresh button rescans the directory for new projects.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
final IProject project = workspace.getRoot().getProject(projectName);
		if (record.description == null) {
			
			record.description = workspace.newProjectDescription(projectName);
			IPath locationPath = new Path(record.projectSystemFile
					.getAbsolutePath());
			
			if (Platform.getLocation().isPrefixOf(locationPath)) {
				record.description.setLocation(null);
			} else {
				record.description.setLocation(locationPath);
			}
		} else {
			record.description.setName(projectName);
		}
		if (record.projectArchiveFile != null) {
			
			List fileSystemObjects = structureProvider.getChildren(record.parent);
			structureProvider.setStrip(record.level);
			ImportOperation operation = new ImportOperation(project
					.getFullPath(), structureProvider.getRoot(), structureProvider,
					this, fileSystemObjects);
			operation.setContext(getShell());
			operation.run(monitor);
			return true;
		}
		
		File importSource = null;
		if (copyFiles) {