Add support for importing traces to tracing project
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IImportDialog.java
CommitLineData
291cbdbf
BH
1/**********************************************************************
2 * Copyright (c) 2012 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
13
14import java.util.List;
15
16import org.eclipse.core.resources.IProject;
17import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent;
18
19/**
20 * <b><u>IImportDialog</u></b>
21 * <p>
22 * Interface for import traces dialog.
23 * </p>
24 */
25public interface IImportDialog {
26
27 // ------------------------------------------------------------------------
28 // Accessors
29 // ------------------------------------------------------------------------
30 /**
31 * @return a list of trace paths to import.
32 */
33 public List<ImportFileInfo> getTracePathes();
34
35 /**
36 * @return the project to import the traces to
37 */
38 public IProject getProject();
39
40 /**
41 * Sets the session containing the traces to import
42 * @param session
43 */
44 public void setSession(TraceSessionComponent session);
45
46 // ------------------------------------------------------------------------
47 // Operations
48 // ------------------------------------------------------------------------
49 /**
50 * @return the open return value
51 */
52 int open();
53}
This page took 0.029903 seconds and 5 git commands to generate.