tmf: Replace Color resource with RGBA descriptor in marker events
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / widgets / timegraph / widgets / ITimeDataProviderConverter.java
1 /*******************************************************************************
2 * Copyright (c) 2014 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.tracecompass.tmf.ui.widgets.timegraph.widgets;
14
15 /**
16 * Time data provider that converts between time data units used internally and
17 * time in display units used by the caller.
18 */
19 public interface ITimeDataProviderConverter extends ITimeDataProvider {
20
21 /**
22 * Convert a time in time data provider units to a time in display units.
23 *
24 * @param time the time in time data provider units
25 *
26 * @return the time in display units
27 */
28 long convertTime(long time);
29 }
This page took 0.036456 seconds and 5 git commands to generate.