Add groundwork for multiple version support of LTTng 2.0 tracer control
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / model / impl / TargetNodeComponent.java
index c62966f9677f8a212ab0c5108da18682961f5746..7e546901a6a08796c452c723999950cb12e3d780 100644 (file)
@@ -27,7 +27,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote.IRemoteSys
 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote.RemoteSystemProxy;
 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandShell;
 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService;
-import org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.LTTngControlService;
+import org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.LTTngControlServiceFactory;
 import org.eclipse.rse.core.model.IHost;
 import org.eclipse.rse.core.model.IRSECallback;
 import org.eclipse.rse.core.subsystems.CommunicationsEvent;
@@ -331,7 +331,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
             fShell = fRemoteProxy.createCommandShell();
             fRemoteProxy.addCommunicationListener(this);
         }
-        fService = new LTTngControlService(fShell);
+        fService = LTTngControlServiceFactory.getInstance().getLttngControlService(fShell);
         return fService;
     }
 
This page took 0.024655 seconds and 5 git commands to generate.