diff options
author | Matthew Khouzam | 2013-06-04 17:42:49 +0000 |
---|---|---|
committer | Matthew Khouzam | 2013-06-04 22:06:52 +0000 |
commit | d295923599a62e4ee7e5e9d379f9e3c9d596985f (patch) | |
tree | 5fc076e39a306f0ab6ee30ee42acb2777ee0c659 | |
parent | e5688b503e9cbd1b98257ac2ccf043ada2cefcc2 (diff) | |
download | org.eclipse.linuxtools-d295923599a62e4ee7e5e9d379f9e3c9d596985f.tar.gz org.eclipse.linuxtools-d295923599a62e4ee7e5e9d379f9e3c9d596985f.tar.xz org.eclipse.linuxtools-d295923599a62e4ee7e5e9d379f9e3c9d596985f.zip |
tmf: fix in batch import wizard custom trace update
The custom trace types can be programatically updated. The wizard will
now re-read the available trace types every time it is reloaded.
Change-Id: Idd497dcdd4b015398f3dc8b662effac4a4a94b00
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13554
-rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceType.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceType.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceType.java index ae1adca40f..91d85fac3e 100644 --- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceType.java +++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceType.java @@ -382,6 +382,7 @@ public final class TmfTraceType { */ public List<TraceTypeHelper> getTraceTypes(String category) { + init(); List<TraceTypeHelper> traceNames = new ArrayList<TraceTypeHelper>(); for (String key : fTraceTypes.keySet()) { final String categoryName = fTraceTypes.get(key).getCategoryName(); |