KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > editor > feature > SynchronizeVersionsWizard


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

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