gdbtrace: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.ui / src / org / eclipse / linuxtools / internal / lttng2 / control / ui / views / model / impl / TargetNodeComponent.java
index a8df138e10d9464e2288163964ed7e9a14573339..1f3ccb7b8ba7a1387edd9c22589585bb7daacbb2 100644 (file)
@@ -211,7 +211,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     public String getNodeVersion() {
         // Control service is null during connection to node
         if (getControlService() != null) {
-            return getControlService().getVersion();
+            return getControlService().getVersionString();
         }
         return ""; //$NON-NLS-1$
     }
@@ -264,7 +264,14 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     public boolean isSnapshotSupported() {
         return getControlService().isVersionSupported("2.3.0"); //$NON-NLS-1$
     }
-
+    /**
+     * Returns if node supports live or not
+     * @return <code>true</code> if it supports live else <code>false</code>
+     *
+     */
+    public boolean isLiveSupported() {
+        return getControlService().isVersionSupported("2.4.0"); //$NON-NLS-1$;
+    }
     /**
      * Returns if node supports adding contexts on event
      * @return <code>true</code> if it supports adding contexts on events else <code>false</code>
This page took 0.02462 seconds and 5 git commands to generate.