control: Add enhanced support for loading of sessions
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / handlers / ImportHandler.java
index ca2ab91c3cda8cd9955af5ca67503b965169acec..6b3182716bc5e1d3ec8e49674438f8ed60d2767e 100644 (file)
@@ -247,7 +247,7 @@ public class ImportHandler extends BaseControlViewHandler {
                     initializeTraceResource(connectionInfo, lttngRelaydConsumer.getTracePath(), project);
                     return Status.OK_STATUS;
                 } catch (CoreException | TmfTraceImportException e) {
-                    return new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.ImportHandler_LiveTraceInitError, e);
+                    return new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.TraceControl_LiveTraceInitError, e);
                 }
             }
 
@@ -283,7 +283,7 @@ public class ImportHandler extends BaseControlViewHandler {
         }
 
         if (found == null) {
-            throw new CoreException(new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.ImportHandler_LiveTraceElementError));
+            throw new CoreException(new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.TraceControl_LiveTraceElementError));
         }
 
         // Properties used to be able to reopen a trace in live mode
This page took 0.028861 seconds and 5 git commands to generate.