599e24a61cde1a340057c3299f3867c863c46e2d
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 * Bernd Hufmann - Updated for support of LTTng Tools 2.1
12 **********************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.lttng2
.stubs
.dialogs
;
15 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.dialogs
.ICreateSessionDialog
;
16 import org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.model
.impl
.TraceSessionGroup
;
19 * Create session dialog stub implementation.
21 @SuppressWarnings("javadoc")
22 public class CreateSessionDialogStub
implements ICreateSessionDialog
{
24 public String fName
= "mysession";
25 public String fPath
= null;
26 private boolean fIsStreamedTrace
= false;
27 private String fNetworkUrl
= null;
28 private String fControlUrl
= null;
29 private String fDataUrl
= null;
30 private boolean fIsSnapshot
;
33 public String
getSessionName() {
38 public String
getSessionPath() {
43 public boolean isDefaultSessionPath() {
48 public void initialize(TraceSessionGroup group
) {
56 public void setSessionPath(String path
) {
60 public void setSessionName(String name
) {
65 public boolean isStreamedTrace() {
66 return fIsStreamedTrace
;
69 public void setStreamedTrace(boolean isStreamedTrace
) {
70 fIsStreamedTrace
= isStreamedTrace
;
74 public String
getNetworkUrl() {
78 public void setNetworkUrl(String fNetworkUrl
) {
79 this.fNetworkUrl
= fNetworkUrl
;
84 public String
getControlUrl() {
88 public void setControlUrl(String fControlUrl
) {
89 this.fControlUrl
= fControlUrl
;
93 public String
getDataUrl() {
97 public void setDataUrl(String fDataUrl
) {
98 this.fDataUrl
= fDataUrl
;
102 public boolean isSnapshot() {
106 public void setSnapshot(boolean isSnapshot
) {
107 fIsSnapshot
= isSnapshot
;
This page took 0.032763 seconds and 5 git commands to generate.