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.RenamePropertyInfo;
6 import net.sourceforge.phpdt.ltk.core.RenamePropertyRefactoring;
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
19 * @author Leif Frenzel
21 public class RenamePropertyWizard extends RefactoringWizard {
23 private final RenamePropertyInfo info;
26 public RenamePropertyWizard( final RenamePropertyRefactoring refactoring,
27 final RenamePropertyInfo info ) {
28 super( refactoring, DIALOG_BASED_USER_INTERFACE );
33 // interface methods of RefactoringWizard
34 /////////////////////////////////////////
36 protected void addUserInputPages() {
37 setDefaultPageTitle( getRefactoring().getName() );
38 addPage( new RenamePropertyInputPage( info ) );