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 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.widgets
.timegraph
;
15 import org
.eclipse
.tracecompass
.tmf
.ui
.widgets
.timegraph
.model
.ITimeGraphEntry
;
19 * A content provider mediates between the viewer's model
20 * and the viewer itself.
22 public interface ITimeGraphContentProvider
{
24 * Returns the time graph entries to display in the viewer when its input is
25 * set to the given element.
29 * @return the array of time graph entries to display in the viewer
31 public ITimeGraphEntry
[] getElements(Object inputElement
);