Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui.tests / stubs / org / eclipse / linuxtools / lttng / stubs / service / TestRemoteSystemProxy.java
1 package org.eclipse.linuxtools.lttng.stubs.service;
2
3 import org.eclipse.core.commands.ExecutionException;
4 import org.eclipse.core.runtime.Status;
5 import org.eclipse.linuxtools.lttng.ui.views.control.remote.IRemoteSystemProxy;
6 import org.eclipse.linuxtools.lttng.ui.views.control.service.ICommandShell;
7 import org.eclipse.rse.core.model.IRSECallback;
8 import org.eclipse.rse.core.subsystems.ICommunicationsListener;
9 import org.eclipse.rse.core.subsystems.ISubSystem;
10 import org.eclipse.rse.services.shells.IShellService;
11 import org.eclipse.rse.services.terminals.ITerminalService;
12 import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSystem;
13
14 public class TestRemoteSystemProxy implements IRemoteSystemProxy {
15
16 @Override
17 public IShellService getShellService() {
18 return null;
19 }
20
21 @Override
22 public ITerminalService getTerminalService() {
23 return null;
24 }
25
26 @Override
27 public ISubSystem getShellServiceSubSystem() {
28 return null;
29 }
30
31 @Override
32 public ISubSystem getTerminalServiceSubSystem() {
33 return null;
34 }
35 @Override
36 public IFileServiceSubSystem getFileServiceSubSystem() {
37 return null;
38 }
39
40 @Override
41 public void connect(IRSECallback callback) throws ExecutionException {
42 if (callback != null) {
43 callback.done(Status.OK_STATUS, null);
44 }
45 }
46
47 @Override
48 public void disconnect() throws ExecutionException {
49 }
50
51 @Override
52 public ICommandShell createCommandShell() throws ExecutionException {
53 ICommandShell shell = CommandShellFactory.getInstance().getShellForSessionNames();
54 return shell;
55 }
56
57 @Override
58 public void addCommunicationListener(ICommunicationsListener listener) {
59 }
60
61 @Override
62 public void removeCommunicationListener(ICommunicationsListener listener) {
63 }
64
65 }
This page took 0.03251 seconds and 6 git commands to generate.