Fix for custom parsers
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / parsers / custom / CustomTxtEvent.java
index c4ced9d5784aa772c434a4b370c299608ab774a4..fa6833abca8152c135c877e8f6cad03fcd3bada8 100644 (file)
@@ -19,17 +19,23 @@ import org.eclipse.linuxtools.tmf.event.TmfEventReference;
 import org.eclipse.linuxtools.tmf.event.TmfEventSource;\r
 import org.eclipse.linuxtools.tmf.event.TmfEventType;\r
 import org.eclipse.linuxtools.tmf.event.TmfTimestamp;\r
+import org.eclipse.linuxtools.tmf.trace.ITmfTrace;\r
 import org.eclipse.linuxtools.tmf.ui.parsers.custom.CustomTxtTraceDefinition.InputData;\r
 import org.eclipse.linuxtools.tmf.ui.parsers.custom.CustomTxtTraceDefinition.InputLine;\r
 \r
 public class CustomTxtEvent extends CustomEvent {\r
 \r
+    public CustomTxtEvent(CustomTxtTraceDefinition definition) {\r
+        super(definition);\r
+        fType = new CustomTxtEventType(definition);\r
+    }\r
+\r
     public CustomTxtEvent(CustomTxtTraceDefinition definition, TmfEvent other) {\r
         super(definition, other);\r
     }\r
 \r
-    public CustomTxtEvent(CustomTxtTraceDefinition definition, TmfTimestamp timestamp, TmfEventSource source, TmfEventType type, TmfEventReference reference) {\r
-        super(definition, timestamp, source, type, reference);\r
+    public CustomTxtEvent(CustomTxtTraceDefinition definition, ITmfTrace<?> parentTrace, TmfTimestamp timestamp, TmfEventSource source, TmfEventType type, TmfEventReference reference) {\r
+        super(definition, parentTrace, timestamp, source, type, reference);\r
     }\r
 \r
     public CustomTxtEvent(CustomTxtTraceDefinition definition, TmfTimestamp originalTS, TmfTimestamp effectiveTS, TmfEventSource source, TmfEventType type, TmfEventReference reference) {\r
This page took 0.024118 seconds and 5 git commands to generate.