Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 191662 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/ui/internal/wizards/datatransfer/messages.properties (+1 lines)
Lines 86-91 Link Here
86
WizardProjectsImportPage_SearchingMessage=Searching for projects
86
WizardProjectsImportPage_SearchingMessage=Searching for projects
87
WizardExternalProjectImportPage_errorMessage = Creation Problems
87
WizardExternalProjectImportPage_errorMessage = Creation Problems
88
WizardProjectsImportPage_ImportProjectsTitle=Import Projects
88
WizardProjectsImportPage_ImportProjectsTitle=Import Projects
89
WizardProjectsImportPage_projectsInWorkspace=Some project were hidden because they exist in the workspace directory
89
WizardProjectsImportPage_CreateProjectsTask=Creating Projects
90
WizardProjectsImportPage_CreateProjectsTask=Creating Projects
90
WizardExternalProjectImportPage_caseVariantExistsError = The name of {0} conflicts with another project in the workbench. Project names are case-insensitive.
91
WizardExternalProjectImportPage_caseVariantExistsError = The name of {0} conflicts with another project in the workbench. Project names are case-insensitive.
91
WizardExternalProjectImportPage_directoryLabel = Select the Project location.
92
WizardExternalProjectImportPage_directoryLabel = Select the Project location.
(-)src/org/eclipse/ui/internal/wizards/datatransfer/DataTransferMessages.java (+1 lines)
Lines 92-97 Link Here
92
	public static String WizardProjectsImportPage_SelectArchiveDialogTitle;
92
	public static String WizardProjectsImportPage_SelectArchiveDialogTitle;
93
	public static String WizardProjectsImportPage_CreateProjectsTask;
93
	public static String WizardProjectsImportPage_CreateProjectsTask;
94
	public static String WizardProjectsImportPage_CopyProjectsIntoWorkspace;
94
	public static String WizardProjectsImportPage_CopyProjectsIntoWorkspace;
95
	public static String WizardProjectsImportPage_projectsInWorkspace;
95
96
96
	// --- Export Wizards ---
97
	// --- Export Wizards ---
97
	public static String DataTransfer_export;
98
	public static String DataTransfer_export;
(-)src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java (+7 lines)
Lines 701-706 Link Here
701
	public void updateProjectsList(final String path) {
701
	public void updateProjectsList(final String path) {
702
702
703
		if (path.equals(lastPath)) {
703
		if (path.equals(lastPath)) {
704
			setMessage(DataTransferMessages.WizardProjectsImportPage_ImportProjectsDescription);
704
			return;
705
			return;
705
		}
706
		}
706
707
Lines 708-713 Link Here
708
709
709
		// on an empty path empty selectedProjects
710
		// on an empty path empty selectedProjects
710
		if (path == null || path.length() == 0) {
711
		if (path == null || path.length() == 0) {
712
			setMessage(DataTransferMessages.WizardProjectsImportPage_ImportProjectsDescription);
711
			selectedProjects = new ProjectRecord[0];
713
			selectedProjects = new ProjectRecord[0];
712
			projectsList.refresh(true);
714
			projectsList.refresh(true);
713
			projectsList.setCheckedElements(selectedProjects);
715
			projectsList.setCheckedElements(selectedProjects);
Lines 821-826 Link Here
821
823
822
		projectsList.refresh(true);
824
		projectsList.refresh(true);
823
		projectsList.setCheckedElements(getValidProjects());
825
		projectsList.setCheckedElements(getValidProjects());
826
		if(getValidProjects().length < selectedProjects.length){
827
			setMessage(DataTransferMessages.WizardProjectsImportPage_projectsInWorkspace, WARNING);
828
		} else {
829
			setMessage(DataTransferMessages.WizardProjectsImportPage_ImportProjectsDescription);
830
		}
824
		setPageComplete(projectsList.getCheckedElements().length > 0);
831
		setPageComplete(projectsList.getCheckedElements().length > 0);
825
	}
832
	}

Return to bug 191662