blob: f14da00d25f4bd014627da789239fb09724a7f79 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2005 IBM Corporation 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:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.server.ui.internal.wizard;
import org.eclipse.wst.server.ui.internal.Messages;
import org.eclipse.wst.server.ui.internal.wizard.page.ImportConfigurationWizardPage;
import org.eclipse.wst.server.ui.internal.wizard.page.WizardUtil;
import org.eclipse.ui.IImportWizard;
/**
* A wizard to import existing server configurations.
*/
public class ImportServerConfigurationWizard extends AbstractWizard implements IImportWizard {
protected ImportConfigurationWizardPage page;
/**
* ImportServerConfiguration constructor comment.
*/
public ImportServerConfigurationWizard() {
super();
setWindowTitle(Messages.wizImportConfigurationWizardTitle);
}
public void addPages() {
page = new ImportConfigurationWizardPage();
page.setDefaultContainer(WizardUtil.getSelectionContainer(selection));
addPage(page);
}
public boolean performFinish() {
return page.performFinish();
}
}