tmf: Replace TmfFilterEventTypeNode with TmfFilterTraceTypeNode
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / trace / ITmfTrace.java
index ac76479cff9afa95e9216466adbf1ebb07411639..3a3b764c96284dcce64d5ef63d8558d2b414f7b4 100644 (file)
@@ -173,10 +173,12 @@ public interface ITmfTrace extends ITmfEventProvider {
      *            the trace event type
      * @param name
      *            the trace name
+     * @param traceTypeId
+     *            the trace type id
      * @throws TmfTraceException
      *             If we couldn't open the trace
      */
-    void initTrace(IResource resource, String path, Class<? extends ITmfEvent> type, String name) throws TmfTraceException;
+    void initTrace(IResource resource, String path, Class<? extends ITmfEvent> type, String name, String traceTypeId) throws TmfTraceException;
 
     /**
      * Validate that the trace is of the correct type. The implementation should
@@ -211,6 +213,13 @@ public interface ITmfTrace extends ITmfEventProvider {
      */
     IResource getResource();
 
+    /**
+     * Get the trace type id
+     *
+     * @return the trace type id
+     */
+    @Nullable String getTraceTypeId();
+
     /**
      * @return the trace path
      */
This page took 0.025676 seconds and 5 git commands to generate.