1 package org
.eclipse
.linuxtools
.tmf
.ui
.parsers
.custom
;
3 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEventType
;
5 public abstract class CustomEventType
extends TmfEventType
{
7 public CustomEventType(CustomTraceDefinition definition
) {
8 super(definition
.definitionName
, getLabels(definition
));
11 private static String
[] getLabels(CustomTraceDefinition definition
) {
12 String
[] labels
= new String
[definition
.outputs
.size()];
13 for (int i
= 0; i
< labels
.length
; i
++) {
14 labels
[i
] = definition
.outputs
.get(i
).name
;