613373f9d77df64e3adee710f749a68ed41c9286
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / parsers / custom / CustomTxtEventType.java
1 /*******************************************************************************
2 * Copyright (c) 2010, 2016 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.core.parsers.custom;
14
15 import org.eclipse.jdt.annotation.NonNull;
16 import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
17
18 /**
19 * Event type for custom text traces.
20 *
21 * @author Patrick Tassé
22 */
23 public class CustomTxtEventType extends CustomEventType {
24
25 /**
26 * Constructor
27 *
28 * @param definition
29 * Custom text trace definition
30 * @deprecated Use {@link #CustomTxtEventType(String, ITmfEventField)}
31 * instead.
32 */
33 @Deprecated
34 public CustomTxtEventType(CustomTxtTraceDefinition definition) {
35 super(definition);
36 }
37
38 /**
39 * Constructor
40 *
41 * @param eventName
42 * the event name
43 * @param root
44 * the root field
45 * @since 2.1
46 */
47 public CustomTxtEventType(@NonNull String eventName, ITmfEventField root) {
48 super(eventName, root);
49 }
50
51 }
This page took 0.032135 seconds and 4 git commands to generate.