Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-03-14 15:05:09 -0400
committerMatthew Piggott2011-03-14 19:58:40 -0400
commit8878ef1f66cf445d6d466fbe128cb80a406ea929 (patch)
tree121619fde76e9f04387f9b408e9edc755cd4c644 /org.eclipse.m2e.scm
parentf7eae26ad0736627b354415e6862b94a6c8c2b92 (diff)
downloadm2e-core-8878ef1f66cf445d6d466fbe128cb80a406ea929.tar.gz
m2e-core-8878ef1f66cf445d6d466fbe128cb80a406ea929.tar.xz
m2e-core-8878ef1f66cf445d6d466fbe128cb80a406ea929.zip
Bug 339406 - Remove ProjectsImportWizard in favour of standard Eclipse import
Diffstat (limited to 'org.eclipse.m2e.scm')
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
index ea9a745d..4fff0d12 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
@@ -45,7 +45,6 @@ import org.eclipse.m2e.core.project.ProjectImportConfiguration;
import org.eclipse.m2e.core.ui.internal.actions.OpenMavenConsoleAction;
import org.eclipse.m2e.core.ui.internal.wizards.AbstactCreateMavenProjectJob;
import org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard;
-import org.eclipse.m2e.core.ui.internal.wizards.ProjectsImportWizard;
import org.eclipse.m2e.scm.MavenCheckoutOperation;
import org.eclipse.m2e.scm.MavenProjectScmInfo;
import org.eclipse.m2e.scm.internal.Messages;
@@ -57,6 +56,7 @@ import org.eclipse.ui.IWorkingSet;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.NewProjectAction;
import org.eclipse.ui.progress.IProgressConstants;
+import org.eclipse.ui.wizards.datatransfer.ExternalProjectImportWizard;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -176,7 +176,7 @@ public abstract class MavenProjectCheckoutJob extends WorkspaceJob {
Messages.MavenProjectCheckoutJob_confirm_title, //
Messages.MavenProjectCheckoutJob_confirm_message);
if(res) {
- IWizard wizard = new ProjectsImportWizard(collectedLocations.get(0));
+ IWizard wizard = new ExternalProjectImportWizard(collectedLocations.get(0));
WizardDialog dialog = new WizardDialog(Display.getDefault().getActiveShell(), wizard);
dialog.open();
} else {

Back to the top