Exemple #1
0
        private void LaunchVisualizerButton_Click(object sender, RoutedEventArgs e)
        {
            var selectedConfig = (MergedPetDetailsViewModel.VisualizerSession)VisualizerSessionsGrid.SelectedItem;

            selectedConfig.VisualizerNotRunning = false;

            VisualizerLauncher.LaunchAnalysisTool(ViewModel.AnalysisTools.DefaultAnalysisTool, selectedConfig.ConfigPath, ViewModel.DetailsDataset, DatasetViewModel.Store.DataDirectory);
        }
Exemple #2
0
        private void PetAnalysisToolRun(object sender, RoutedEventArgs e)
        {
            var source = (MenuItem)sender;

            var analysisTool = (AnalysisTool)source.DataContext;

            Console.WriteLine("Running analysis tool {0}", analysisTool.DisplayName);

            var selectedConfig = (MergedPetDetailsViewModel.VisualizerSession)VisualizerSessionsGrid.SelectedItem;

            selectedConfig.VisualizerNotRunning = false;

            VisualizerLauncher.LaunchAnalysisTool(analysisTool, selectedConfig.ConfigPath, ViewModel.DetailsDataset, DatasetViewModel.Store.DataDirectory);
        }