예제 #1
0
 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);
        }
예제 #3
0
        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);
            }
        }
예제 #5
0
        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));
 }
예제 #8
0
 protected override void PerformExecute()
 {
     _singleStartPresenterTask.StartForSubject(Subject);
 }
예제 #9
0
 protected override void PerformExecute()
 {
     _singleStartPresenterTask.StartForSubject(_parameterIdentificationTask.CreateParameterIdentificationBasedOn(Subject));
 }
예제 #10
0
 public void Execute()
 {
     _singleStartPresenterTask.StartForSubject(_parameterIdentificationTask.CreateParameterIdentification());
 }
 protected override void PerformExecute()
 {
     _singleStartPresenterTask.StartForSubject(_sensitivityAnalysisTask.CreateSensitivityAnalysisFor(Subject));
 }
 public void Execute()
 {
     _singleStartPresenterTask.StartForSubject(_sensitivityAnalysisTask.CreateSensitivityAnalysis());
 }