1 11 package org.eclipse.pde.internal.ui.editor.site; 12 13 import org.eclipse.jface.wizard.Wizard; 14 import org.eclipse.pde.internal.core.isite.ISiteFeature; 15 import org.eclipse.pde.internal.core.isite.ISiteModel; 16 import org.eclipse.pde.internal.ui.PDEPlugin; 17 import org.eclipse.pde.internal.ui.PDEPluginImages; 18 import org.eclipse.pde.internal.ui.PDEUIMessages; 19 20 public class SynchronizePropertiesWizard extends Wizard { 21 private SynchronizePropertiesWizardPage fMainPage; 22 23 private ISiteModel fModel; 24 25 private ISiteFeature fSiteFeature; 26 27 public SynchronizePropertiesWizard(ISiteFeature siteFeature, 28 ISiteModel model) { 29 super(); 30 setDefaultPageImageDescriptor(PDEPluginImages.DESC_NEWFTRPRJ_WIZ); 31 setDialogSettings(PDEPlugin.getDefault().getDialogSettings()); 32 setNeedsProgressMonitor(true); 33 setWindowTitle(PDEUIMessages.SynchronizePropertiesWizard_wtitle); 34 fSiteFeature = siteFeature; 35 fModel = model; 36 } 37 38 public void addPages() { 39 fMainPage = new SynchronizePropertiesWizardPage(fSiteFeature, fModel); 40 addPage(fMainPage); 41 } 42 43 public boolean performFinish() { 44 return fMainPage.finish(); 45 } 46 } 47 | Popular Tags |