1 /**********************************************************************
2 * Copyright (c) 2012 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
.linuxtools
.internal
.lttng2
.ui
.views
.control
.dialogs
;
14 import java
.util
.List
;
16 import org
.eclipse
.core
.resources
.IProject
;
17 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.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 public List
<ImportFileInfo
> getTracePathes();
37 * @return the project to import the traces to
39 public IProject
getProject();
42 * Sets the session containing the traces to import
43 * @param session The trace session
45 public void setSession(TraceSessionComponent session
);
47 // ------------------------------------------------------------------------
49 // ------------------------------------------------------------------------
51 * @return the open return value