1 11 package org.eclipse.update.internal.ui.wizards; 12 13 import org.eclipse.jface.wizard.Wizard; 14 import org.eclipse.update.core.IFeature; 15 import org.eclipse.update.internal.ui.UpdateUIImages; 16 import org.eclipse.update.internal.ui.UpdateUIMessages; 17 18 19 public class ReplaceFeatureVersionWizard extends Wizard { 20 private ReplaceFeatureVersionWizardPage page; 21 22 public ReplaceFeatureVersionWizard(IFeature currentFeature, IFeature[] features) { 23 setWindowTitle(UpdateUIMessages.SwapFeatureWizard_title); 24 setDefaultPageImageDescriptor(UpdateUIImages.DESC_UPDATE_WIZ); 25 page = new ReplaceFeatureVersionWizardPage(currentFeature, features); 26 } 27 28 public void addPages() { 29 addPage(page); 30 } 31 32 public boolean performFinish() { 33 return page.performFinish(); 34 } 35 36 } 37 | Popular Tags |