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.
 
  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 RenameIdentifierWizard extends RefactoringWizard {
 
  24         private final RenameIdentifierInfo info;
 
  26         public RenameIdentifierWizard(
 
  27                         final RenameIdentifierRefactoring refactoring,
 
  28                         final RenameIdentifierInfo info) {
 
  29                 super(refactoring, DIALOG_BASED_USER_INTERFACE);
 
  33         // interface methods of RefactoringWizard
 
  34         // ///////////////////////////////////////
 
  36         protected void addUserInputPages() {
 
  38                 //setDefaultPageTitle(getRefactoring().getName());
 
  39                 addPage(new RenameLocalVariablePage(info));