public void Edit(IPKSimBuildingBlock buildingBlockToEdit) { if (buildingBlockToEdit == null) { return; } _singleStartPresenterTask.StartForSubject(buildingBlockToEdit); }
protected override void PerformExecute() { var clone = _sensitivityAnalysisTask.Clone(Subject); if (clone == null) { return; } _sensitivityAnalysisTask.AddToProject(clone); _singleStartPresenterTask.StartForSubject(clone); }
protected override void PerformExecute() { var clone = _parameterIdentificationTask.Clone(Subject); if (clone == null) { return; } _parameterIdentificationTask.AddToProject(clone); _singleStartPresenterTask.StartForSubject(clone); }
protected override void PerformExecute() { using (var clonePresenter = _applicationController.Start <ICloneObjectBasePresenter <SensitivityAnalysis> >()) { var clone = clonePresenter.CreateCloneFor(Subject); if (clone == null) { return; } _sensitivityAnalysisTask.AddToProject(clone); _singleStartPresenterTask.StartForSubject(clone); } }
public void ConfigurePopulationSimulationComparison(PopulationSimulationComparison simulationComparison) { _executionContext.Load(simulationComparison); using (var presenter = _applicationController.Start <ISimulationSelectionForComparisonPresenter>()) { if (!presenter.Edit(simulationComparison)) { return; } _executionContext.ProjectChanged(); var presenterWasOpen = _applicationController.HasPresenterOpenedFor(simulationComparison); //presenter was not open, nothing to do if (!presenterWasOpen) { return; } _applicationController.Close(simulationComparison); _singleStartPresenterTask.StartForSubject(simulationComparison); } }
public void Execute() { _singleStartPresenterTask.StartForSubject(_creator(_simulationComparisonTask).Invoke()); }
protected override void PerformExecute() { _singleStartPresenterTask.StartForSubject(_parameterIdentificationFeedbackManager.GetFeedbackFor(Subject)); }
protected override void PerformExecute() { _singleStartPresenterTask.StartForSubject(Subject); }
protected override void PerformExecute() { _singleStartPresenterTask.StartForSubject(_parameterIdentificationTask.CreateParameterIdentificationBasedOn(Subject)); }
public void Execute() { _singleStartPresenterTask.StartForSubject(_parameterIdentificationTask.CreateParameterIdentification()); }
protected override void PerformExecute() { _singleStartPresenterTask.StartForSubject(_sensitivityAnalysisTask.CreateSensitivityAnalysisFor(Subject)); }
public void Execute() { _singleStartPresenterTask.StartForSubject(_sensitivityAnalysisTask.CreateSensitivityAnalysis()); }