diff options
author | Pascal Rapicault (Ericsson) | 2013-03-07 05:30:31 +0000 |
---|---|---|
committer | Pascal Rapicault | 2013-03-07 05:30:31 +0000 |
commit | 3e0609f7287e60da7c93c47b9970922542bd6586 (patch) | |
tree | 3cd7974cdc499c669aafbfc1b4252df2e871d098 | |
parent | 527d59cf1f6238f7c2786289e4877f70dcb2c6a7 (diff) | |
download | rt.equinox.p2-3e0609f7287e60da7c93c47b9970922542bd6586.tar.gz rt.equinox.p2-3e0609f7287e60da7c93c47b9970922542bd6586.tar.xz rt.equinox.p2-3e0609f7287e60da7c93c47b9970922542bd6586.zip |
Fix 402606 - release code forgotten earlier today
-rw-r--r-- | bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java b/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java index de826072f..5c70b94c0 100644 --- a/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java +++ b/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/AutomaticUpdateScheduler.java @@ -141,7 +141,7 @@ public class AutomaticUpdateScheduler implements IStartup { return false; if (needsMigration(previousProfile, currentProfile)) { - openMigrationWizard(previousProfile); + openMigrationWizard(previousProfile, reposToMigrate); } else { //There is nothing to migrate, so we mark the migration complete AutomaticUpdatePlugin.getDefault().rememberMigrationCompleted(currentProfile.getProfileId()); @@ -220,11 +220,11 @@ public class AutomaticUpdateScheduler implements IStartup { return !previousProfileUnits.isEmpty(); } - private void openMigrationWizard(final IProfile inputProfile) { + private void openMigrationWizard(final IProfile inputProfile, final URI[] reposToMigrate) { Display d = Display.getDefault(); d.asyncExec(new Runnable() { public void run() { - WizardDialog migrateWizard = new WizardDialog(getWorkbenchWindowShell(), new ImportFromInstallationWizard_c(inputProfile, new URI[0])); + WizardDialog migrateWizard = new WizardDialog(getWorkbenchWindowShell(), new ImportFromInstallationWizard_c(inputProfile, reposToMigrate)); migrateWizard.create(); migrateWizard.open(); } |