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.nls;
11:
12: import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
13: import org.eclipse.pde.internal.ui.PDEPluginImages;
14: import org.eclipse.pde.internal.ui.PDEUIMessages;
15: import org.eclipse.pde.internal.ui.refactoring.PDERefactor;
16:
17: public class ExternalizeStringsWizard extends RefactoringWizard {
18: private ExternalizeStringsWizardPage page1;
19: private ModelChangeTable fModelChangeTable;
20:
21: public ExternalizeStringsWizard(ModelChangeTable changeTable,
22: PDERefactor refactoring) {
23: super (refactoring, WIZARD_BASED_USER_INTERFACE);
24: setWindowTitle(PDEUIMessages.ExternalizeStringsWizard_title);
25: setDefaultPageImageDescriptor(PDEPluginImages.DESC_EXTSTR_WIZ);
26: setNeedsProgressMonitor(true);
27: fModelChangeTable = changeTable;
28: }
29:
30: protected void addUserInputPages() {
31: setDefaultPageTitle(getRefactoring().getName());
32: page1 = new ExternalizeStringsWizardPage(fModelChangeTable);
33: addPage(page1);
34: }
35: }
|