Commit | Line | Data |
---|---|---|
b1baa808 MK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * 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: Matthew Khouzam - Initial API and implementation | |
10 | *******************************************************************************/ | |
11 | ||
ce2388e0 FC |
12 | package org.eclipse.linuxtools.tmf.core.ctfadaptor; |
13 | ||
14 | import org.eclipse.linuxtools.tmf.core.event.ITmfEventField; | |
15 | import org.eclipse.linuxtools.tmf.core.event.TmfEventType; | |
16 | ||
b1baa808 MK |
17 | /** |
18 | */ | |
ce2388e0 FC |
19 | public class CtfTmfEventType extends TmfEventType { |
20 | ||
b1baa808 MK |
21 | /** |
22 | * Constructor for CtfTmfEventType. | |
23 | * @param contextId String | |
24 | * @param eventName String | |
25 | * @param content ITmfEventField | |
26 | */ | |
ce2388e0 FC |
27 | public CtfTmfEventType(String contextId, String eventName, |
28 | ITmfEventField content) { | |
29 | super(contextId, eventName, content); | |
30 | } | |
31 | ||
b1baa808 MK |
32 | /** |
33 | * Method toString. | |
34 | * @return String | |
35 | */ | |
ce2388e0 FC |
36 | @Override |
37 | public String toString() | |
38 | { | |
39 | return this.getName(); | |
40 | } | |
41 | } |