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 /** <p>The wizard that is shown to the user for entering the necessary
13 * information for property renaming.</p>
15 * <p>The wizard class is primarily needed for deciding which pages are
16 * shown to the user. The actual user interface creation goes on the
20 public class RenameLocalVariableWizard extends RefactoringWizard {
22 private final RenameIdentifierInfo info;
25 public RenameLocalVariableWizard( final RenameIdentifierRefactoring refactoring,
26 final RenameIdentifierInfo info ) {
27 super( refactoring, DIALOG_BASED_USER_INTERFACE );
32 // interface methods of RefactoringWizard
33 /////////////////////////////////////////
35 protected void addUserInputPages() {
36 setDefaultPageTitle( getRefactoring().getName() );
37 addPage( new RenameLocalVariablePage( info ) );