1 /**********************************************************************
2 * Copyright (c) 2012 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 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.stubs
.dialogs
;
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
;
18 * Create session dialog stub implementation.
20 @SuppressWarnings("javadoc")
21 public class CreateSessionDialogStub
implements ICreateSessionDialog
{
23 public String fName
= "mysession"; //$NON-NLS-1$
24 public String fPath
= null;
25 private boolean fIsStreamedTrace
= false;
26 private String fNetworkUrl
= null;
27 private String fControlUrl
= null;
28 private String fDataUrl
= null;
29 private boolean fIsNoConsumer
= false;
30 private boolean fIsDisableConsumer
= false;
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 isNoConsumer() {
103 return fIsNoConsumer
;
105 public void setNoConsumer(boolean isNoConsumer
) {
106 fIsNoConsumer
= isNoConsumer
;
110 public boolean isDisableConsumer() {
111 return fIsDisableConsumer
;
114 public void setDisableConsumer(boolean isDisableConsumer
) {
115 fIsDisableConsumer
= isDisableConsumer
;
This page took 0.032868 seconds and 5 git commands to generate.