1 /*******************************************************************************
2 * Copyright (c) 2010 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 * Matthew Khouzam - Initial implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.lttng
.ui
.views
.controlflow
.model
;
15 import org
.eclipse
.linuxtools
.internal
.lttng
.ui
.model
.trange
.TimeRangeViewerProvider
;
16 import org
.eclipse
.linuxtools
.internal
.lttng
.ui
.views
.common
.ParamsUpdater
;
18 public class FlowTimeRangeViewerProvider
extends TimeRangeViewerProvider
{
20 public FlowTimeRangeViewerProvider(ParamsUpdater paramsUpdater
) {
28 * org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.TmfTimeAnalysisProvider
29 * #getStateName(org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.
30 * TmfTimeAnalysisProvider.StateColor)
33 public String
getStateName(StateColor color
) {
34 // Override to multiple instances of the widget, the same color can have
36 boolean isInProcess
= procStateToColor
.containsValue(color
);
39 return findObject(color
, procStateToColor
);
41 return super.getStateName(color
);