blob: 41e6cbc9f47c9f75390e77abc7e7de445efd643c [file] [log] [blame]
//------------------------------------------------------------------------------
// Copyright (c) 2005, 2006 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 implementation
//------------------------------------------------------------------------------
package org.eclipse.epf.export.xml.wizards;
import org.eclipse.epf.export.services.ConfigurationExportData;
import org.eclipse.epf.export.wizards.ExportConfigSelectConfigPage;
import org.eclipse.jface.wizard.IWizardPage;
/**
* A wizard page that prompts the user to select one or more method configuration
* specifications to export.
*
* @author Kelvin Low
* @since 1.0
*/
public class SelectConfigPage extends ExportConfigSelectConfigPage {
/**
* Creates a nes instance.
*/
public SelectConfigPage(ConfigurationExportData data) {
super(data);
}
/**
* @see org.eclipse.jface.wizard.WizardPage#getNextPage()
*/
public IWizardPage getNextPage() {
super.saveDataToModel();
ExportXMLWizard wizard = (ExportXMLWizard) getWizard();
wizard.xmlData.setSelectedConfigs(wizard.configData.selectedConfigs);
return wizard.selectXMLFilePage;
}
}