tmf: Bug 460842: Introduce tmf remote plug-ins and feature
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.ui.tests / stubs / org / eclipse / tracecompass / internal / lttng2 / control / stubs / service / CommandShellFactory.java
CommitLineData
d132bcc7 1/**********************************************************************
ed902a2b 2 * Copyright (c) 2012, 2014 Ericsson
cfdb727a 3 *
d132bcc7
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:
d132bcc7
BH
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
9bc60be7 12package org.eclipse.tracecompass.internal.lttng2.control.stubs.service;
eb1bab5b 13
9bc60be7 14import org.eclipse.tracecompass.internal.lttng2.control.stubs.shells.LTTngToolsFileShell;
eb1bab5b 15
cfdb727a 16@SuppressWarnings("javadoc")
eb1bab5b
BH
17public class CommandShellFactory {
18
19 public static final int GET_SESSION_NAMES_COMMAND_SHELL = 0;
cfdb727a 20
eb1bab5b 21 private static CommandShellFactory fInstance = null;
cfdb727a 22
eb1bab5b
BH
23 public static CommandShellFactory getInstance() {
24 if (fInstance == null) {
25 fInstance = new CommandShellFactory();
26 }
27 return fInstance;
28 }
29
d132bcc7
BH
30 public LTTngToolsFileShell getFileShell() {
31 return new LTTngToolsFileShell();
bbb3538a 32 }
eb1bab5b 33}
This page took 0.052689 seconds and 5 git commands to generate.