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
1 /**********************************************************************
2 * Copyright (c) 2012, 2014 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.tracecompass.internal.lttng2.control.stubs.service;
13
14 import org.eclipse.tracecompass.internal.lttng2.control.stubs.shells.LTTngToolsFileShell;
15
16 @SuppressWarnings("javadoc")
17 public class CommandShellFactory {
18
19 public static final int GET_SESSION_NAMES_COMMAND_SHELL = 0;
20
21 private static CommandShellFactory fInstance = null;
22
23 public static CommandShellFactory getInstance() {
24 if (fInstance == null) {
25 fInstance = new CommandShellFactory();
26 }
27 return fInstance;
28 }
29
30 public LTTngToolsFileShell getFileShell() {
31 return new LTTngToolsFileShell();
32 }
33 }
This page took 0.031554 seconds and 5 git commands to generate.