1 /**********************************************************************
2 * Copyright (c) 2012, 2014 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.tracecompass
.internal
.lttng2
.control
.ui
.views
.dialogs
;
14 import java
.util
.List
;
16 import org
.eclipse
.core
.resources
.IProject
;
17 import org
.eclipse
.tracecompass
.internal
.lttng2
.control
.ui
.views
.model
.impl
.TraceSessionComponent
;
21 * Interface for import traces dialog.
24 * @author Bernd Hufmann
26 public interface IImportDialog
{
28 // ------------------------------------------------------------------------
30 // ------------------------------------------------------------------------
32 * @return a list of trace paths to import.
34 List
<ImportFileInfo
> getTracePathes();
37 * @return the project to import the traces to
39 IProject
getProject();
42 * Sets the session containing the traces to import
43 * @param session The trace session
45 void setSession(TraceSessionComponent session
);
48 * Sets the default project name to use
50 * @param defaultProject
51 * the name of the default project to use
53 void setDefaultProject(String defaultProject
);
56 // ------------------------------------------------------------------------
58 // ------------------------------------------------------------------------
60 * @return the open return value