Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Hufmann2014-05-28 15:37:45 -0400
committerBernd Hufmann2014-05-29 10:34:34 -0400
commit6eac30219f5fad7521e970079cbc3e6028453486 (patch)
tree23e9407e52a96b167c25da8c6aa404b09d69d0ee
parent5ce92bc9c33636f7400e9a9880a4610974d1e8a6 (diff)
downloadorg.eclipse.linuxtools-6eac30219f5fad7521e970079cbc3e6028453486.tar.gz
org.eclipse.linuxtools-6eac30219f5fad7521e970079cbc3e6028453486.tar.xz
org.eclipse.linuxtools-6eac30219f5fad7521e970079cbc3e6028453486.zip
tmf: Fix error message when no trace type is set during open
Change-Id: I87d7a039891af6dbc2e87ed290c8891d3046257f Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/27496 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java
index 49ad262fdc..8c7f37c0b2 100644
--- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java
+++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java
@@ -245,7 +245,7 @@ public class TmfOpenTraceHelper {
final ITmfEvent traceEvent = traceElement.instantiateEvent();
if ((trace == null) || (traceEvent == null)) {
TraceUtils.displayErrorMsg(NLS.bind(Messages.TmfOpenTraceHelper_OpenElement, traceElement.getTypeName()),
- NLS.bind(Messages.TmfOpenTraceHelper_NoTraceOrExperimentType, traceElement.getTypeName()));
+ Messages.TmfOpenTraceHelper_NoTraceType);
if (trace != null) {
trace.dispose();
}

Back to the top