1) Fixed issue #858: OpenPHPPerspectiveAction error when creating a new PHP project.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ltk / ui / wizards / RenameLocalVariableWizard.java
1 // Copyright (c) 2005 by Leif Frenzel. All rights reserved.
2 // See http://leiffrenzel.de
3 package net.sourceforge.phpdt.ltk.ui.wizards;
4
5 import net.sourceforge.phpdt.ltk.core.RenameIdentifierInfo;
6 import net.sourceforge.phpdt.ltk.core.RenameIdentifierRefactoring;
7
8 import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
9
10 /**
11  * <p>
12  * The wizard that is shown to the user for entering the necessary information
13  * for property renaming of local PHP variables.
14  * </p>
15  * 
16  * <p>
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.
19  * </p>
20  * 
21  */
22 public class RenameLocalVariableWizard extends RefactoringWizard {
23
24         private final RenameIdentifierInfo info;
25
26         public RenameLocalVariableWizard(
27                         final RenameIdentifierRefactoring refactoring,
28                         final RenameIdentifierInfo info) {
29                 super(refactoring, DIALOG_BASED_USER_INTERFACE);
30                 this.info = info;
31         }
32
33         protected void addUserInputPages() {
34                 //incastrix
35                 //setDefaultPageTitle(getRefactoring().getName());
36                 addPage(new RenameLocalVariablePage(info));
37         }
38 }