tmf: fix in batch import wizard custom trace update
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 4 Jun 2013 17:42:49 +0000 (13:42 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 4 Jun 2013 19:47:21 +0000 (15:47 -0400)
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

org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceType.java

index ae1adca40f23c708fdaeb6337dccea8e36bc4c35..91d85fac3ebf5015387ae44349099be2419ce45f 100644 (file)
@@ -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();
This page took 0.02834 seconds and 5 git commands to generate.