1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
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
10 * Alexandre Montplaisir - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ctf
.core
.event
.aspect
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.event
.aspect
.ITmfEventAspect
;
17 import org
.eclipse
.tracecompass
.tmf
.ctf
.core
.event
.CtfTmfEvent
;
20 * Channel aspect for CTF traces
22 * @author Alexandre Montplaisir
24 public class CtfChannelAspect
implements ITmfEventAspect
<String
> {
27 public String
getName() {
28 return Messages
.getMessage(Messages
.AspectName_Channel
);
32 public String
getHelpText() {
33 return Messages
.getMessage(Messages
.AspectHelpText_Channel
);
37 public String
resolve(ITmfEvent event
) {
38 if (!(event
instanceof CtfTmfEvent
)) {
41 return ((CtfTmfEvent
) event
).getChannel();
This page took 0.031918 seconds and 5 git commands to generate.