1 /*******************************************************************************
2 * Copyright (c) 2016 École Polytechnique de Montréal
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 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.internal
.tmf
.chart
.ui
.consumer
;
12 import java
.util
.function
.Consumer
;
15 * This interface consumes any data that comes from a {@link IChartConsumer}.
16 * Every object that it receives is sent to its own {@link IDataConsumer}. The
17 * main benefit of this consumer is that it can easily reject (x, y) couple that
18 * are invalid for plotting. An object can be tested with
19 * {@link IDataConsumer#test(Object)} before being consumed into an (x, y)
22 * For example, a XY chart should have a series consumer for each of the plotted
23 * series. There would have two consumer in a XY chart that plot the following
24 * series: "start VS name" and "end VS name".
29 * @author Gabriel-Andrew Pollo-Guilbert
31 public interface ISeriesConsumer
extends Consumer
<Object
> {
This page took 0.029875 seconds and 5 git commands to generate.