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 | **********************************************************************/ | |
12 | package org.eclipse.linuxtools.lttng.ui.views.control.dialogs; | |
13 | ||
14 | /** | |
15 | * <b><u>ICreateSessionDialog</u></b> | |
16 | * <p> | |
17 | * Interface for create session dialog. | |
18 | * </p> | |
19 | */ | |
20 | public interface ICreateSessionDialog { | |
21 | ||
22 | // ------------------------------------------------------------------------ | |
23 | // Accessors | |
24 | // ------------------------------------------------------------------------ | |
25 | /** | |
26 | * @return the session name. | |
27 | */ | |
28 | public String getSessionName(); | |
29 | ||
30 | /** | |
31 | * @return the session path (null for default path) | |
32 | */ | |
33 | public String getSessionPath(); | |
34 | ||
35 | /** | |
36 | * @return true for default location else false | |
37 | */ | |
38 | public boolean isDefaultSessionPath(); | |
39 | ||
40 | // ------------------------------------------------------------------------ | |
41 | // Operations | |
42 | // ------------------------------------------------------------------------ | |
43 | /** | |
44 | * @return the open return value | |
45 | */ | |
46 | int open(); | |
47 | } |