1 11 package org.eclipse.pde.internal.ui.editor.feature; 12 13 import org.eclipse.jface.wizard.*; 14 import org.eclipse.pde.internal.core.ifeature.*; 15 import org.eclipse.pde.internal.ui.*; 16 17 public class ReferenceWizard extends Wizard { 18 private ReferenceWizardPage page; 19 20 public ReferenceWizard( 21 IFeatureModel model, 22 ReferenceWizardPage page) { 23 setDefaultPageImageDescriptor(PDEPluginImages.DESC_NEWPPRJ_WIZ); 24 setDialogSettings(PDEPlugin.getDefault().getDialogSettings()); 25 setNeedsProgressMonitor(true); 26 setWindowTitle(page.getTitle()); 27 this.page = page; 28 } 29 30 public void addPages() { 31 addPage(page); 32 } 33 34 public boolean performFinish() { 35 return page.finish(); 36 } 37 38 } 39 | Popular Tags |