1 11 package org.eclipse.pde.internal.ui.editor.feature; 12 13 import org.eclipse.jface.wizard.Wizard; 14 import org.eclipse.pde.internal.ui.PDEPlugin; 15 import org.eclipse.pde.internal.ui.PDEPluginImages; 16 import org.eclipse.pde.internal.ui.PDEUIMessages; 17 18 public class SynchronizeVersionsWizard extends Wizard { 19 private FeatureEditor featureEditor; 20 private SynchronizeVersionsWizardPage mainPage; 21 public SynchronizeVersionsWizard(FeatureEditor featureEditor) { 22 setDefaultPageImageDescriptor(PDEPluginImages.DESC_NEWFTRPRJ_WIZ); 23 setDialogSettings(PDEPlugin.getDefault().getDialogSettings()); 24 setNeedsProgressMonitor(true); 25 setWindowTitle(PDEUIMessages.VersionSyncWizard_wtitle); 26 this.featureEditor = featureEditor; 27 } 28 public void addPages() { 29 mainPage = new SynchronizeVersionsWizardPage(featureEditor); 30 addPage(mainPage); 31 } 32 public boolean performFinish() { 33 return mainPage.finish(); 34 } 35 } 36 | Popular Tags |