Ejemplo n.º 1
0
  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);
    }
  }
Ejemplo n.º 2
0
 public void setDataProvider(PlotWithOverviewSeriesHandler handler, AsyncDataProvider provider) {
   handler.setDataProvider(provider);
 }