private void SetupViewModels(AnalysisConfig configuration) { m_config = configuration; CurrentStep = AnalysisSetupStep.DatasetSelection; CancelCommand = new AnalysisCancelCommand(this); BackCommand = new AnalysisBackCommand(this); NextCommand = new AnalysisNextCommand(this); DatasetSelectionViewModel = new AnalysisDatasetSelectionViewModel(configuration.Analysis); BaselineSelectionViewModel = new AnalysisBaselineSelectionViewModel(configuration.Analysis); AnalysisNamingViewModel = new AnalysisNamingViewModel(configuration); AnalysisOptionsViewModel = new AnalysisOptionsViewModel(configuration.Analysis.Options); }