| /******************************************************************************* |
| * Copyright (c) 2000, 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.jdt.internal.ui.refactoring; |
| |
| import org.eclipse.jdt.internal.ui.JavaPluginImages; |
| |
| import org.eclipse.jdt.internal.corext.refactoring.structure.PullUpRefactoring; |
| |
| public class PullUpWizard extends RefactoringWizard { |
| |
| public PullUpWizard(PullUpRefactoring ref, String pageTitle, String errorPageContextHelpId) { |
| super(ref, pageTitle, errorPageContextHelpId); |
| setDefaultPageImageDescriptor(JavaPluginImages.DESC_WIZBAN_REFACTOR_PULL_UP); |
| } |
| |
| /* non java-doc |
| * @see RefactoringWizard#addUserInputPages |
| */ |
| protected void addUserInputPages(){ |
| addPage(new PullUpInputPage1()); |
| addPage(new PullUpInputPage2()); |
| } |
| |
| /* |
| * @see org.eclipse.jdt.internal.ui.refactoring.RefactoringWizard#hasMultiPageUserInput() |
| */ |
| public boolean hasMultiPageUserInput() { |
| return true; |
| } |
| } |