1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
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
9 * Contributors: Matthew Khouzam - Initial API and implementation
10 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.tmf
.core
.ctfadaptor
;
14 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEventField
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEventType
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEventTypeManager
;
20 public class CtfTmfEventType
extends TmfEventType
{
22 private static final String CONTEXT_ID
= "Ctf Event"; //$NON-NLS-1$
24 * Constructor for CtfTmfEventType.
25 * @param contextId String
26 * @param eventName String
27 * @param content ITmfEventField
29 public CtfTmfEventType( String eventName
,
30 ITmfEventField content
) {
31 super(CONTEXT_ID
, eventName
, content
);
39 public String
toString()
41 return this.getName();
44 public static CtfTmfEventType
get(String eventName
){
45 return (CtfTmfEventType
) TmfEventTypeManager
.getInstance().getType(CONTEXT_ID
, eventName
);
This page took 0.034529 seconds and 6 git commands to generate.