Bug 378402: Implementation of ControlFlow view and Resources view for
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.ui / src / org / eclipse / linuxtools / internal / lttng2 / kernel / ui / views / controlflow / ControlFlowEvent.java
1 /*******************************************************************************
2 * Copyright (c) 2012 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.linuxtools.internal.lttng2.kernel.ui.views.controlflow;
14
15 import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;
16 import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.TimeEvent;
17
18 public class ControlFlowEvent extends TimeEvent {
19
20 private int fStatus;
21
22 public ControlFlowEvent(ITimeGraphEntry entry, long time, long duration, int status) {
23 super(entry, time, duration);
24 fStatus = status;
25 }
26
27 public int getStatus() {
28 return fStatus;
29 }
30 }
This page took 0.032448 seconds and 5 git commands to generate.