Beispiel #1
0
 void CancelSearch()
 {
     TooManyResults = false;
     delayedSearch.Cancel();
     if (fileSearcher != null)
     {
         fileSearcher.Cancel();
         fileSearcher = null;
     }
     searchCompleted = false;
 }
        public static void StartAllComponents(ISolution solution)
        {
            // Start the history keeping component.
            historyComponent.Start();

            // Initiate and start search real document component.
            searchRealDocumentComponent = SearchRealDocumentComponent.GetInstance(solution);

            // Start the refactoring form component, a new window will be displayed.
            refactoringFormComponent.Start();
        }
Beispiel #3
0
		void CancelSearch() {
			TooManyResults = false;
			delayedSearch.Cancel();
			if (fileSearcher != null) {
				fileSearcher.Cancel();
				fileSearcher = null;
			}
			searchCompleted = false;
		}
 public static IDocumentSearcher GetInstance(ISolution solution)
 {
     if(instance == null)
         instance =  new SearchRealDocumentComponent(solution);
     return instance;
 }