| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir |
| 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 | |
| 10 | package org.eclipse.tracecompass.internal.provisional.tmf.core.views.timegraph2.statesystem; |
| 11 | |
| 12 | import java.util.List; |
| 13 | |
| 14 | import org.eclipse.tracecompass.internal.provisional.tmf.core.views.timegraph2.TimeGraphTreeElement; |
| 15 | |
| 16 | public class StateSystemTimeGraphTreeElement extends TimeGraphTreeElement { |
| 17 | |
| 18 | private final int fSourceQuark; |
| 19 | |
| 20 | public StateSystemTimeGraphTreeElement(String name, |
| 21 | List<TimeGraphTreeElement> children, |
| 22 | int sourceQuark) { |
| 23 | super(name, children); |
| 24 | fSourceQuark = sourceQuark; |
| 25 | } |
| 26 | |
| 27 | public int getSourceQuark() { |
| 28 | return fSourceQuark; |
| 29 | } |
| 30 | |
| 31 | } |