lttng: Fix Javadoc and formatting in lttng2.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / stubs / org / eclipse / linuxtools / internal / lttng2 / stubs / service / CommandShellFactory.java
... / ...
CommitLineData
1/**********************************************************************
2 * Copyright (c) 2012 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 **********************************************************************/
12package org.eclipse.linuxtools.internal.lttng2.stubs.service;
13
14import org.eclipse.linuxtools.internal.lttng2.stubs.shells.LTTngToolsFileShell;
15
16@SuppressWarnings("javadoc")
17public 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 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// }
37
38 public LTTngToolsFileShell getFileShell() {
39 return new LTTngToolsFileShell();
40 }
41}
This page took 0.023373 seconds and 5 git commands to generate.