X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ltk/ui/wizards/RenameIdentifierWizard.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ltk/ui/wizards/RenameIdentifierWizard.java new file mode 100644 index 0000000..21e80e7 --- /dev/null +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ltk/ui/wizards/RenameIdentifierWizard.java @@ -0,0 +1,41 @@ +// Copyright (c) 2005 by Leif Frenzel. All rights reserved. +// See http://leiffrenzel.de +package net.sourceforge.phpdt.ltk.ui.wizards; + +import net.sourceforge.phpdt.ltk.core.RenameIdentifierInfo; +import net.sourceforge.phpdt.ltk.core.RenameIdentifierRefactoring; + +import org.eclipse.ltk.ui.refactoring.RefactoringWizard; + +/** + *

+ * The wizard that is shown to the user for entering the necessary information + * for property renaming. + *

+ * + *

+ * The wizard class is primarily needed for deciding which pages are shown to + * the user. The actual user interface creation goes on the pages. + *

+ * + */ +public class RenameIdentifierWizard extends RefactoringWizard { + + private final RenameIdentifierInfo info; + + public RenameIdentifierWizard( + final RenameIdentifierRefactoring refactoring, + final RenameIdentifierInfo info) { + super(refactoring, DIALOG_BASED_USER_INTERFACE); + this.info = info; + } + + // interface methods of RefactoringWizard + // /////////////////////////////////////// + + protected void addUserInputPages() { + //incastrix + //setDefaultPageTitle(getRefactoring().getName()); + addPage(new RenameLocalVariablePage(info)); + } +}