void setSelection(double x1, double x2, Command toExcuteAfterSelection) { selection[0] = x1; selection[1] = x2; Command command = null; if (null != toExcuteAfterSelection) { command = new PopulateCommand(toExcuteAfterSelection, getHandlers().size()); } for (PlotWithOverviewSeriesHandler handler : getHandlers()) { handler.populateWindowSeries(command); } }
public void setDataProvider(PlotWithOverviewSeriesHandler handler, AsyncDataProvider provider) { handler.setDataProvider(provider); }