/*******************************************************************************
* Copyright (c) 2007, 2015 Zend Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Zend Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.php.refactoring.ui.wizard;
import org.eclipse.core.resources.IProject;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
import org.eclipse.php.refactoring.ui.PHPRefactoringUIMessages;
/**
* This class is responsible for the display of the move refactoring wizard and
* it functionality.
*
* @author Eden K., 2007
*
*/
public class PHPProjectMoveWizard extends RefactoringWizard {
private IProject project;
public PHPProjectMoveWizard(Refactoring refactoring, IProject existingProject) {
super(refactoring, DIALOG_BASED_USER_INTERFACE | PREVIEW_EXPAND_FIRST_NODE);
this.project = existingProject;
setDefaultPageTitle(PHPRefactoringUIMessages.getString("PHPMoveWizard.0")); //$NON-NLS-1$
}
protected void addUserInputPages() {
addPage(new RefactoringProjectMoveWizardPage(project));
}
}