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
CommitLineData
a26d90be
BH
1/**********************************************************************
2 * Copyright (c) 2012 Ericsson
cfdb727a 3 *
a26d90be
BH
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
cfdb727a
AM
8 *
9 * Contributors:
a26d90be
BH
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12package org.eclipse.linuxtools.internal.lttng2.stubs.dialogs;
13
14import org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateSessionDialog;
15import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup;
16
17/**
cfdb727a 18 * Create session dialog stub implementation.
a26d90be 19 */
cfdb727a 20@SuppressWarnings("javadoc")
a26d90be 21public class CreateSessionDialogStub implements ICreateSessionDialog {
cfdb727a 22
a26d90be
BH
23 public String fName = "mysession"; //$NON-NLS-1$
24 public String fPath = null;
cfdb727a
AM
25
26
a26d90be
BH
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 }
cfdb727a 51
a26d90be
BH
52 public void setSessionPath(String path) {
53 fPath = path;
54 }
cfdb727a 55
a26d90be
BH
56 public void setSessionName(String name) {
57 fName = name;
58 }
59}
This page took 0.039723 seconds and 5 git commands to generate.