tmf/lttng: Remove unneeded (non-Javadoc) comments
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / project / wizards / SelectTracesWizard.java
CommitLineData
12c155f5 1/*******************************************************************************
11252342 2 * Copyright (c) 2009, 2013 Ericsson
c8422608 3 *
12c155f5
FC
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
c8422608 8 *
12c155f5
FC
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.ui.project.wizards;
14
15import org.eclipse.jface.viewers.IStructuredSelection;
16import org.eclipse.jface.wizard.Wizard;
17import org.eclipse.linuxtools.tmf.ui.project.model.TmfExperimentElement;
18import org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectElement;
19import org.eclipse.ui.IImportWizard;
20import org.eclipse.ui.IWorkbench;
21
22/**
c8422608 23 * Wizard implementation to select traces for an experiment.
12c155f5 24 * <p>
b544077e 25 * @version 1.0
c8422608 26 * @author Francois Chouinard
12c155f5
FC
27 */
28public class SelectTracesWizard extends Wizard implements IImportWizard {
29
30 // ------------------------------------------------------------------------
31 // Attributes
32 // ------------------------------------------------------------------------
33
34 private final TmfProjectElement fProject;
35 private final TmfExperimentElement fExperiment;
36 private SelectTracesWizardPage fSelectTraceWizardPage;
37
38 // ------------------------------------------------------------------------
39 // Constructor
40 // ------------------------------------------------------------------------
11252342 41
b544077e
BH
42 /**
43 * Constructor
44 * @param project The project model element
45 * @param experiment The experiemnt model element
46 */
12c155f5
FC
47 public SelectTracesWizard(TmfProjectElement project, TmfExperimentElement experiment) {
48 fProject = project;
49 fExperiment = experiment;
50 }
51
52 // ------------------------------------------------------------------------
53 // Wizard
54 // ------------------------------------------------------------------------
55
56 @Override
57 public void init(IWorkbench workbench, IStructuredSelection selection) {
58 setWindowTitle(Messages.SelectTracesWizard_WindowTitle);
59 }
60
61 @Override
62 public void addPages() {
63 super.addPages();
64 fSelectTraceWizardPage = new SelectTracesWizardPage(fProject, fExperiment);
65 addPage(fSelectTraceWizardPage);
66 }
67
68 @Override
69 public boolean performFinish() {
70 return fSelectTraceWizardPage.performFinish();
71 }
72
73}
This page took 0.101355 seconds and 5 git commands to generate.