8b92a4005054546ba76d871ff6906d7e82479274
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / dialogs / IImportDialog.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2014 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 **********************************************************************/
12 package org.eclipse.tracecompass.internal.lttng2.control.ui.views.dialogs;
13
14 import java.util.List;
15
16 import org.eclipse.core.resources.IProject;
17 import org.eclipse.tracecompass.internal.lttng2.control.ui.views.model.impl.TraceSessionComponent;
18
19 /**
20 * <p>
21 * Interface for import traces dialog.
22 * </p>
23 *
24 * @author Bernd Hufmann
25 */
26 public interface IImportDialog {
27
28 // ------------------------------------------------------------------------
29 // Accessors
30 // ------------------------------------------------------------------------
31 /**
32 * @return a list of trace paths to import.
33 */
34 List<ImportFileInfo> getTracePathes();
35
36 /**
37 * @return the project to import the traces to
38 */
39 IProject getProject();
40
41 /**
42 * Sets the session containing the traces to import
43 * @param session The trace session
44 */
45 void setSession(TraceSessionComponent session);
46
47 /**
48 * Sets the default project name to use
49 *
50 * @param defaultProject
51 * the name of the default project to use
52 */
53 void setDefaultProject(String defaultProject);
54
55
56 // ------------------------------------------------------------------------
57 // Operations
58 // ------------------------------------------------------------------------
59 /**
60 * @return the open return value
61 */
62 int open();
63 }
This page took 0.031812 seconds and 4 git commands to generate.