public void OnFileSystemTreeComputing()
        {
            // Display a generic "loading" message the first time a file system tree
            // is loaded.
            if (!ViewModel.FileSystemTreeAvailable)
            {
                var items = CreateInfromationMessages(
                    "Loading files from VS Chromium projects...");
                ViewModel.SetInformationMessages(items);

                // Display the new info messages, except if there is an active search
                // result.
                if (ViewModel.ActiveDisplay == CodeSearchViewModel.DisplayKind.InformationMessages)
                {
                    _searchResultDocumentChangeTracker.Disable();
                    ViewModel.SwitchToInformationMessages();
                }
            }
        }
Beispiel #2
0
 public void CancelSearch()
 {
     _searchResultDocumentChangeTracker.Disable();
     ViewModel.SwitchToInformationMessages();
 }