lttng: Fix Javadoc and formatting in lttng2.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / stubs / org / eclipse / linuxtools / internal / lttng2 / stubs / dialogs / CreateSessionDialogStub.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.internal.lttng2.stubs.dialogs;
13
14 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateSessionDialog;
15 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup;
16
17 /**
18 * Create session dialog stub implementation.
19 */
20 @SuppressWarnings("javadoc")
21 public class CreateSessionDialogStub implements ICreateSessionDialog {
22
23 public String fName = "mysession"; //$NON-NLS-1$
24 public String fPath = null;
25
26
27 @Override
28 public String getSessionName() {
29 return fName;
30 }
31
32 @Override
33 public String getSessionPath() {
34 return fPath;
35 }
36
37 @Override
38 public boolean isDefaultSessionPath() {
39 return fPath == null;
40 }
41
42 @Override
43 public void setTraceSessionGroup(TraceSessionGroup group) {
44
45 }
46
47 @Override
48 public int open() {
49 return 0;
50 }
51
52 public void setSessionPath(String path) {
53 fPath = path;
54 }
55
56 public void setSessionName(String name) {
57 fName = name;
58 }
59 }
This page took 0.045135 seconds and 5 git commands to generate.