1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ltk / ui / wizards / RenameLocalVariableWizard.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ltk/ui/wizards/RenameLocalVariableWizard.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ltk/ui/wizards/RenameLocalVariableWizard.java
new file mode 100644 (file)
index 0000000..c2a2910
--- /dev/null
@@ -0,0 +1,38 @@
+// 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;
+
+/**
+ * <p>
+ * The wizard that is shown to the user for entering the necessary information
+ * for property renaming of local PHP variables.
+ * </p>
+ * 
+ * <p>
+ * The wizard class is primarily needed for deciding which pages are shown to
+ * the user. The actual user interface creation goes on the pages.
+ * </p>
+ * 
+ */
+public class RenameLocalVariableWizard extends RefactoringWizard {
+
+       private final RenameIdentifierInfo info;
+
+       public RenameLocalVariableWizard(
+                       final RenameIdentifierRefactoring refactoring,
+                       final RenameIdentifierInfo info) {
+               super(refactoring, DIALOG_BASED_USER_INTERFACE);
+               this.info = info;
+       }
+
+       protected void addUserInputPages() {
+               //incastrix
+               //setDefaultPageTitle(getRefactoring().getName());
+               addPage(new RenameLocalVariablePage(info));
+       }
+}