예제 #1
0
 protected EditPopulationAnalysisChartPresenter(ISimulationAnalysisChartView view, IPopulationAnalysisChartPresenter <TX, TY> populationAnalysisChartPresenter,
                                                IChartDataCreator <TX, TY> chartDataCreator, IPopulationSimulationAnalysisStarter populationSimulationAnalysisStarter, IPopulationAnalysisTask populationAnalysisTask, ApplicationIcon icon)
     : base(view)
 {
     _populationAnalysisChartPresenter = populationAnalysisChartPresenter;
     _chartDataCreator = chartDataCreator;
     _populationAnalysisChartPresenter.AllowEdit            = true;
     _populationAnalysisChartPresenter.OnEdit              += (o, e) => editPopulationAnalysis();
     _populationAnalysisChartPresenter.OnExportDataToExcel += (o, e) => exportDataToExcel();
     _populationSimulationAnalysisStarter = populationSimulationAnalysisStarter;
     _populationAnalysisTask = populationAnalysisTask;
     View.SetChartView(_populationAnalysisChartPresenter.BaseView);
     View.UpdateIcon(icon);
     _populationAnalysisChartPresenter.Initialize();
     _settings = new DefaultPresentationSettings();
 }
예제 #2
0
 public EditBoxWhiskerAnalysisChartPresenter(ISimulationAnalysisChartView view, IBoxWhiskerChartPresenter boxWhiskerChartPresenter, IBoxWhiskerChartDataCreator boxWhiskerChartDataCreator,
                                             IPopulationSimulationAnalysisStarter populationSimulationAnalysisStarter, IPopulationAnalysisTask populationAnalysisTask)
     : base(view, boxWhiskerChartPresenter, boxWhiskerChartDataCreator, populationSimulationAnalysisStarter, populationAnalysisTask, ApplicationIcons.BoxWhiskerAnalysis)
 {
 }
 public EditRangeAnalysisChartPresenter(ISimulationAnalysisChartView view, IRangeChartPresenter rangeChartPresenter, IRangeChartDataCreator rangeChartDataCreator, IPopulationSimulationAnalysisStarter populationSimulationAnalysisStarter, IPopulationAnalysisTask populationAnalysisTask) :
     base(view, rangeChartPresenter, rangeChartDataCreator, populationSimulationAnalysisStarter, populationAnalysisTask, ApplicationIcons.RangeAnalysis)
 {
 }
 public EditScatterAnalysisChartPresenter(ISimulationAnalysisChartView view, IScatterChartPresenter scatterChartPresenter, IScatterChartDataCreator scatterChartDataCreator, IPopulationSimulationAnalysisStarter populationSimulationAnalysisStarter, IPopulationAnalysisTask populationAnalysisTask)
     : base(view, scatterChartPresenter, scatterChartDataCreator, populationSimulationAnalysisStarter, populationAnalysisTask, ApplicationIcons.ScatterAnalysis)
 {
 }