Commit | Line | Data |
---|---|---|
bbb3538a | 1 | /********************************************************************** |
ba3a9bd2 | 2 | * Copyright (c) 2012, 2013 Ericsson |
f3b33d40 | 3 | * |
bbb3538a BH |
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 | |
f3b33d40 BH |
8 | * |
9 | * Contributors: | |
bbb3538a | 10 | * Bernd Hufmann - Initial API and implementation |
ba3a9bd2 | 11 | * Bernd Hufmann - Updated for support of LTTng Tools 2.1 |
bbb3538a | 12 | **********************************************************************/ |
8e8c0226 | 13 | package org.eclipse.linuxtools.internal.lttng2.control.ui.views.dialogs; |
bbb3538a | 14 | |
8e8c0226 AM |
15 | import org.eclipse.linuxtools.internal.lttng2.control.core.model.ISessionInfo; |
16 | import org.eclipse.linuxtools.internal.lttng2.control.ui.views.model.impl.TraceSessionGroup; | |
d132bcc7 | 17 | |
bbb3538a | 18 | /** |
bbb3538a BH |
19 | * <p> |
20 | * Interface for create session dialog. | |
21 | * </p> | |
f3b33d40 | 22 | * |
dbd4432d | 23 | * @author Bernd Hufmann |
bbb3538a BH |
24 | */ |
25 | public interface ICreateSessionDialog { | |
f3b33d40 | 26 | |
bbb3538a BH |
27 | // ------------------------------------------------------------------------ |
28 | // Accessors | |
29 | // ------------------------------------------------------------------------ | |
bbb3538a BH |
30 | |
31 | /** | |
f7d4d450 MAL |
32 | * Get the parameters necessary for the creation of a LTTng session |
33 | * | |
34 | * @return the parameters | |
bbb3538a | 35 | */ |
f7d4d450 | 36 | ISessionInfo getParameters(); |
f3b33d40 | 37 | |
f3b33d40 | 38 | |
f7d4d450 MAL |
39 | // ------------------------------------------------------------------------ |
40 | // Operations | |
41 | // ------------------------------------------------------------------------ | |
d132bcc7 | 42 | /** |
f3b33d40 | 43 | * Initializes the dialog box. |
d132bcc7 BH |
44 | * @param group - the session group |
45 | */ | |
a6e6f7b4 | 46 | void initialize(TraceSessionGroup group); |
f3b33d40 | 47 | |
bbb3538a BH |
48 | /** |
49 | * @return the open return value | |
50 | */ | |
51 | int open(); | |
52 | } |