1 // Copyright (c) 2005 by Leif Frenzel. All rights reserved.
2 // See http://leiffrenzel.de
3 package net.sourceforge.phpdt.ltk.ui.wizards;
5 import net.sourceforge.phpdt.ltk.core.RenameIdentifierInfo;
6 import net.sourceforge.phpdt.ltk.core.RenameIdentifierRefactoring;
8 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
12 * The wizard that is shown to the user for entering the necessary information
13 * for property renaming of local PHP variables.
17 * The wizard class is primarily needed for deciding which pages are shown to
18 * the user. The actual user interface creation goes on the pages.
22 public class RenameLocalVariableWizard extends RefactoringWizard {
24 private final RenameIdentifierInfo info;
26 public RenameLocalVariableWizard(
27 final RenameIdentifierRefactoring refactoring,
28 final RenameIdentifierInfo info) {
29 super(refactoring, DIALOG_BASED_USER_INTERFACE);
33 protected void addUserInputPages() {
34 setDefaultPageTitle(getRefactoring().getName());
35 addPage(new RenameLocalVariablePage(info));