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 BH |
16 | /** |
17 | * <b><u>ICreateSessionDialog</u></b> | |
18 | * <p> | |
19 | * Interface for create session dialog. | |
20 | * </p> | |
21 | */ | |
22 | public interface ICreateSessionDialog { | |
23 | ||
24 | // ------------------------------------------------------------------------ | |
25 | // Accessors | |
26 | // ------------------------------------------------------------------------ | |
27 | /** | |
28 | * @return the session name. | |
29 | */ | |
30 | public String getSessionName(); | |
31 | ||
32 | /** | |
33 | * @return the session path (null for default path) | |
34 | */ | |
35 | public String getSessionPath(); | |
36 | ||
37 | /** | |
38 | * @return true for default location else false | |
39 | */ | |
40 | public boolean isDefaultSessionPath(); | |
d132bcc7 BH |
41 | |
42 | /** | |
43 | * Set trace session group. | |
44 | * @param group - the session group | |
45 | */ | |
46 | public void setTraceSessionGroup(TraceSessionGroup group); | |
bbb3538a BH |
47 | |
48 | // ------------------------------------------------------------------------ | |
49 | // Operations | |
50 | // ------------------------------------------------------------------------ | |
51 | /** | |
52 | * @return the open return value | |
53 | */ | |
54 | int open(); | |
55 | } |