Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 82321 Details for
Bug 191662
[Import/Export] Warn of duplicate projects in project import wizard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
The same patch but better formatted
clipboard.txt (text/plain), 3.70 KB, created by
Krzysztof Daniel
on 2007-11-07 07:59:12 EST
(
hide
)
Description:
The same patch but better formatted
Filename:
MIME Type:
Creator:
Krzysztof Daniel
Created:
2007-11-07 07:59:12 EST
Size:
3.70 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: src/org/eclipse/ui/internal/wizards/datatransfer/messages.properties >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/messages.properties,v >retrieving revision 1.22 >diff -u -r1.22 messages.properties >--- src/org/eclipse/ui/internal/wizards/datatransfer/messages.properties 16 Mar 2007 18:00:47 -0000 1.22 >+++ src/org/eclipse/ui/internal/wizards/datatransfer/messages.properties 7 Nov 2007 12:58:21 -0000 >@@ -86,6 +86,7 @@ > WizardProjectsImportPage_SearchingMessage=Searching for projects > WizardExternalProjectImportPage_errorMessage = Creation Problems > WizardProjectsImportPage_ImportProjectsTitle=Import Projects >+WizardProjectsImportPage_projectsInWorkspace=Some project were hidden because they exist in the workspace directory > WizardProjectsImportPage_CreateProjectsTask=Creating Projects > WizardExternalProjectImportPage_caseVariantExistsError = The name of {0} conflicts with another project in the workbench. Project names are case-insensitive. > WizardExternalProjectImportPage_directoryLabel = Select the Project location. >Index: src/org/eclipse/ui/internal/wizards/datatransfer/DataTransferMessages.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/DataTransferMessages.java,v >retrieving revision 1.11 >diff -u -r1.11 DataTransferMessages.java >--- src/org/eclipse/ui/internal/wizards/datatransfer/DataTransferMessages.java 16 Mar 2007 18:00:47 -0000 1.11 >+++ src/org/eclipse/ui/internal/wizards/datatransfer/DataTransferMessages.java 7 Nov 2007 12:58:20 -0000 >@@ -92,6 +92,7 @@ > public static String WizardProjectsImportPage_SelectArchiveDialogTitle; > public static String WizardProjectsImportPage_CreateProjectsTask; > public static String WizardProjectsImportPage_CopyProjectsIntoWorkspace; >+ public static String WizardProjectsImportPage_projectsInWorkspace; > > // --- Export Wizards --- > public static String DataTransfer_export; >Index: src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java,v >retrieving revision 1.42 >diff -u -r1.42 WizardProjectsImportPage.java >--- src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java 16 May 2007 19:33:38 -0000 1.42 >+++ src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java 7 Nov 2007 12:58:21 -0000 >@@ -701,6 +701,7 @@ > public void updateProjectsList(final String path) { > > if (path.equals(lastPath)) { >+ setMessage(DataTransferMessages.WizardProjectsImportPage_ImportProjectsDescription); > return; > } > >@@ -708,6 +709,7 @@ > > // on an empty path empty selectedProjects > if (path == null || path.length() == 0) { >+ setMessage(DataTransferMessages.WizardProjectsImportPage_ImportProjectsDescription); > selectedProjects = new ProjectRecord[0]; > projectsList.refresh(true); > projectsList.setCheckedElements(selectedProjects); >@@ -821,6 +823,13 @@ > > projectsList.refresh(true); > projectsList.setCheckedElements(getValidProjects()); >+ if (getValidProjects().length < selectedProjects.length) { >+ setMessage( >+ DataTransferMessages.WizardProjectsImportPage_projectsInWorkspace, >+ WARNING); >+ } else { >+ setMessage(DataTransferMessages.WizardProjectsImportPage_ImportProjectsDescription); >+ } > setPageComplete(projectsList.getCheckedElements().length > 0); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191662
:
82318
| 82321