01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.ui.editor.feature;
11:
12: import org.eclipse.jface.wizard.Wizard;
13: import org.eclipse.pde.internal.ui.PDEPlugin;
14: import org.eclipse.pde.internal.ui.PDEPluginImages;
15: import org.eclipse.pde.internal.ui.PDEUIMessages;
16:
17: public class SynchronizeVersionsWizard extends Wizard {
18: private FeatureEditor featureEditor;
19: private SynchronizeVersionsWizardPage mainPage;
20:
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:
29: public void addPages() {
30: mainPage = new SynchronizeVersionsWizardPage(featureEditor);
31: addPage(mainPage);
32: }
33:
34: public boolean performFinish() {
35: return mainPage.finish();
36: }
37: }
|