1 /**********************************************************************
2 * Copyright (c) 2015 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
.filesystem
.IFileStore
;
17 import org
.eclipse
.remote
.core
.IRemoteConnection
;
20 * Interface for a dialog box for collecting parameter for loading a session.
22 * @author Bernd Hufmann
24 public interface ILoadDialog
{
25 // ------------------------------------------------------------------------
27 // ------------------------------------------------------------------------
29 * Returns a list of file resources to load
30 * @return a list of remote resources or null if local resources to upload
32 List
<IFileStore
> getRemoteResources();
35 * Returns a list of file resources to load
36 * @return a list of local resources to upload and load or null in remote case
38 List
<IFileStore
> getLocalResources();
42 * Returns flag to overwrite existing session or not
43 * @return flag to overwrite existing session or not
48 * Sets the remote connection reference
52 void initialize(IRemoteConnection connection
);
54 // ------------------------------------------------------------------------
56 // ------------------------------------------------------------------------
59 * @return the open return value