/*******************************************************************************
- * Copyright (c) 2009, 2010, 2011 Ericsson
- *
+ * Copyright (c) 2009, 2012 Ericsson
+ *
* 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:
* Francois Chouinard - Initial API and implementation
*******************************************************************************/
import org.eclipse.ui.IWorkbench;
/**
- * <b><u>SelectTracesWizard</u></b>
+ * Wizard implementation to select traces for an experiment.
* <p>
+ * @version 1.0
+ * @author Francois Chouinard
*/
public class SelectTracesWizard extends Wizard implements IImportWizard {
// ------------------------------------------------------------------------
// Constructor
// ------------------------------------------------------------------------
-
+ /**
+ * Constructor
+ * @param project The project model element
+ * @param experiment The experiemnt model element
+ */
public SelectTracesWizard(TmfProjectElement project, TmfExperimentElement experiment) {
fProject = project;
fExperiment = experiment;
// Wizard
// ------------------------------------------------------------------------
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
+ */
@Override
public void init(IWorkbench workbench, IStructuredSelection selection) {
setWindowTitle(Messages.SelectTracesWizard_WindowTitle);
}
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.jface.wizard.Wizard#addPages()
+ */
@Override
public void addPages() {
super.addPages();
addPage(fSelectTraceWizardPage);
}
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.jface.wizard.Wizard#performFinish()
+ */
@Override
public boolean performFinish() {
return fSelectTraceWizardPage.performFinish();