/*******************************************************************************
* Copyright (c) 2014 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Patrick Tasse - Initial API and implementation
*******************************************************************************/
package fr.inria.linuxtools.tmf.ui.widgets.timegraph;
import fr.inria.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;
/**
* A content provider mediates between the viewer's model
* and the viewer itself.
*
* @since 3.0
*/
public interface ITimeGraphContentProvider {
/**
* Returns the time graph entries to display in the viewer when its input is
* set to the given element.
*
* @param inputElement
* the input element
* @return the array of time graph entries to display in the viewer
*/
public ITimeGraphEntry[] getElements(Object inputElement);
}