gdbtrace: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.ui.tests / stubs / org / eclipse / linuxtools / internal / lttng2 / control / stubs / service / CommandShellFactory.java
CommitLineData
d132bcc7
BH
1/**********************************************************************
2 * Copyright (c) 2012 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 **********************************************************************/
8e8c0226 12package org.eclipse.linuxtools.internal.lttng2.control.stubs.service;
eb1bab5b 13
8e8c0226 14import org.eclipse.linuxtools.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 ICommandShell getRealShell() {
31// ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
32// IHost host = registry.getLocalHost();
33// RemoteSystemProxy proxy = new RemoteSystemProxy(host);
34// ICommandShell shell = new LTTngToolsSimulatorShell(proxy);
35// return shell;
36// }
cfdb727a 37
d132bcc7
BH
38 public LTTngToolsFileShell getFileShell() {
39 return new LTTngToolsFileShell();
bbb3538a 40 }
eb1bab5b 41}
This page took 0.060777 seconds and 5 git commands to generate.