Added some more JUnit tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / lttng / ui / views / control / dialogs / ICreateSessionDialog.java
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 import org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionGroup;
15
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();
41
42 /**
43 * Set trace session group.
44 * @param group - the session group
45 */
46 public void setTraceSessionGroup(TraceSessionGroup group);
47
48 // ------------------------------------------------------------------------
49 // Operations
50 // ------------------------------------------------------------------------
51 /**
52 * @return the open return value
53 */
54 int open();
55 }
This page took 0.05326 seconds and 5 git commands to generate.