projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmf: bug 494698 Add per-event fields to custom parsers
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.core
/
src
/
org
/
eclipse
/
tracecompass
/
tmf
/
core
/
parsers
/
custom
/
CustomTxtEventType.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEventType.java
b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEventType.java
index aaca34a7bfcb5d8d2d792729316f2edcd7f17630..613373f9d77df64e3adee710f749a68ed41c9286 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEventType.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/parsers/custom/CustomTxtEventType.java
@@
-1,5
+1,5
@@
/*******************************************************************************
/*******************************************************************************
- * Copyright (c) 2010, 201
4
Ericsson
+ * Copyright (c) 2010, 201
6
Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
@@
-12,6
+12,9
@@
package org.eclipse.tracecompass.tmf.core.parsers.custom;
package org.eclipse.tracecompass.tmf.core.parsers.custom;
+import org.eclipse.jdt.annotation.NonNull;
+import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
+
/**
* Event type for custom text traces.
*
/**
* Event type for custom text traces.
*
@@
-24,9
+27,25
@@
public class CustomTxtEventType extends CustomEventType {
*
* @param definition
* Custom text trace definition
*
* @param definition
* Custom text trace definition
+ * @deprecated Use {@link #CustomTxtEventType(String, ITmfEventField)}
+ * instead.
*/
*/
+ @Deprecated
public CustomTxtEventType(CustomTxtTraceDefinition definition) {
super(definition);
}
public CustomTxtEventType(CustomTxtTraceDefinition definition) {
super(definition);
}
+ /**
+ * Constructor
+ *
+ * @param eventName
+ * the event name
+ * @param root
+ * the root field
+ * @since 2.1
+ */
+ public CustomTxtEventType(@NonNull String eventName, ITmfEventField root) {
+ super(eventName, root);
+ }
+
}
}
This page took
0.024981 seconds
and
5
git commands to generate.