01: /**
02: *
03: */package gui.wizards;
04:
05: import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
06:
07: import core.ModelInfo;
08: import core.RenameProcessorHolder;
09:
10: /** <p>The wizard that is shown to the user for entering the necessary
11: * information for type renaming.</p>
12: *
13: * <p>The wizard class is primarily needed for deciding which pages are
14: * shown to the user. The actual user interface creation goes on the
15: * pages.</p>
16: *
17: * @author sh
18: */
19: public class RenameImplementationWizard extends RefactoringWizard {
20:
21: private final ModelInfo info;
22:
23: public RenameImplementationWizard(
24: final RenameProcessorHolder refactoring,
25: final ModelInfo info) {
26: super (refactoring, DIALOG_BASED_USER_INTERFACE);
27: this .info = info;
28: }
29:
30: /**
31: * interface methods of RefactoringWizard
32: */
33: protected void addUserInputPages() {
34: setDefaultPageTitle(getRefactoring().getName());
35: addPage(new RenameImplementationInputPage(info));
36: }
37: }
|