Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2012-02-28 14:09:20 +0000
committerDani Megert2012-02-28 14:09:20 +0000
commite8fba4748740b9643a72df38134958d0da3271ee (patch)
tree798afcd818a6fa489f8d3662c6706a0ce9ef40a9
parent0ffadbe8ed59ea26766eeba76f3a192f112762e9 (diff)
downloadeclipse.pde.ui-e8fba4748740b9643a72df38134958d0da3271ee.tar.gz
eclipse.pde.ui-e8fba4748740b9643a72df38134958d0da3271ee.tar.xz
eclipse.pde.ui-e8fba4748740b9643a72df38134958d0da3271ee.zip
Better fixed for bug 372726: scm bundle importer must reset pages before
setting selection
-rw-r--r--ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportWizardFirstPage.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportWizardFirstPage.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportWizardFirstPage.java
index c9c534ccf9..8da62c4bef 100644
--- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportWizardFirstPage.java
+++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportWizardFirstPage.java
@@ -655,12 +655,10 @@ public class PluginImportWizardFirstPage extends WizardPage {
Entry entry = (Entry) iterator.next();
final IBundleImporter importer = (IBundleImporter) entry.getKey();
String importerId = importer.getId();
- ScmUrlImportDescription[] descriptions = (ScmUrlImportDescription[]) entry.getValue();
IScmUrlImportWizardPage page = (IScmUrlImportWizardPage) importIdToWizardPage.get(importerId);
if (page == null) {
page = TeamUI.getPages(importerId)[0];
if (page != null) {
- page.setSelection(descriptions);
importIdToWizardPage.put(importerId, page);
((Wizard) getWizard()).addPage(page);
}
@@ -874,11 +872,6 @@ public class PluginImportWizardFirstPage extends WizardPage {
}
}
- // First clear the selection for all pages
- iterator = importIdToWizardPage.values().iterator();
- while (iterator.hasNext())
- ((IScmUrlImportWizardPage) iterator.next()).setSelection(new ScmUrlImportDescription[0]);
-
iterator = importerToImportees.entrySet().iterator();
while (iterator.hasNext()) {
Entry entry = (Entry) iterator.next();

Back to the top