Commit | Line | Data |
---|---|---|
bbb3538a BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 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 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; |
bbb3538a | 13 | |
115b4a01 | 14 | import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup; |
d132bcc7 | 15 | |
bbb3538a | 16 | /** |
bbb3538a BH |
17 | * <p> |
18 | * Interface for create session dialog. | |
19 | * </p> | |
dbd4432d BH |
20 | * |
21 | * @author Bernd Hufmann | |
bbb3538a BH |
22 | */ |
23 | public interface ICreateSessionDialog { | |
24 | ||
25 | // ------------------------------------------------------------------------ | |
26 | // Accessors | |
27 | // ------------------------------------------------------------------------ | |
28 | /** | |
29 | * @return the session name. | |
30 | */ | |
31 | public String getSessionName(); | |
32 | ||
33 | /** | |
34 | * @return the session path (null for default path) | |
35 | */ | |
36 | public String getSessionPath(); | |
37 | ||
38 | /** | |
39 | * @return true for default location else false | |
40 | */ | |
41 | public boolean isDefaultSessionPath(); | |
d132bcc7 BH |
42 | |
43 | /** | |
44 | * Set trace session group. | |
45 | * @param group - the session group | |
46 | */ | |
47 | public void setTraceSessionGroup(TraceSessionGroup group); | |
bbb3538a BH |
48 | |
49 | // ------------------------------------------------------------------------ | |
50 | // Operations | |
51 | // ------------------------------------------------------------------------ | |
52 | /** | |
53 | * @return the open return value | |
54 | */ | |
55 | int open(); | |
56 | } |