diff options
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/control/stubs/service/CommandShellFactory.java')
-rw-r--r-- | lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/control/stubs/service/CommandShellFactory.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/control/stubs/service/CommandShellFactory.java b/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/control/stubs/service/CommandShellFactory.java deleted file mode 100644 index f7dc1bdb7f..0000000000 --- a/lttng/org.eclipse.linuxtools.lttng2.control.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/control/stubs/service/CommandShellFactory.java +++ /dev/null @@ -1,41 +0,0 @@ -/********************************************************************** - * Copyright (c) 2012 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Bernd Hufmann - Initial API and implementation - **********************************************************************/ -package org.eclipse.linuxtools.internal.lttng2.control.stubs.service; - -import org.eclipse.linuxtools.internal.lttng2.control.stubs.shells.LTTngToolsFileShell; - -@SuppressWarnings("javadoc") -public class CommandShellFactory { - - public static final int GET_SESSION_NAMES_COMMAND_SHELL = 0; - - private static CommandShellFactory fInstance = null; - - public static CommandShellFactory getInstance() { - if (fInstance == null) { - fInstance = new CommandShellFactory(); - } - return fInstance; - } - -// public ICommandShell getRealShell() { -// ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry(); -// IHost host = registry.getLocalHost(); -// RemoteSystemProxy proxy = new RemoteSystemProxy(host); -// ICommandShell shell = new LTTngToolsSimulatorShell(proxy); -// return shell; -// } - - public LTTngToolsFileShell getFileShell() { - return new LTTngToolsFileShell(); - } -} |