Пример #1
0
 /// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="CodeWindowManager.CodeWindowManager"]/*' />
 /// <summary>
 /// The CodeWindowManager is constructed by the base LanguageService class when VS calls
 /// the IVsLanguageInfo.GetCodeWindowManager method.  You can override CreateCodeWindowManager
 /// on your LanguageService if you want to plug in a different CodeWindowManager.
 /// </summary>
 public CodeWindowManager(LanguageService service, IVsCodeWindow codeWindow, Source source) {
     this.service = service;
     this.codeWindow = codeWindow;
     this.viewFilters = new ArrayList();
     this.source = source;
     this.properties = service.CreateDocumentProperties(this);
 }
Пример #2
0
 /// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="CodeWindowManager.CodeWindowManager"]/*' />
 /// <summary>
 /// The CodeWindowManager is constructed by the base LanguageService class when VS calls
 /// the IVsLanguageInfo.GetCodeWindowManager method.  You can override CreateCodeWindowManager
 /// on your LanguageService if you want to plug in a different CodeWindowManager.
 /// </summary>
 public CodeWindowManager(LanguageService service, IVsCodeWindow codeWindow, Source source)
 {
     this.service     = service;
     this.codeWindow  = codeWindow;
     this.viewFilters = new ArrayList();
     this.source      = source;
     this.properties  = service.CreateDocumentProperties(this);
 }
Пример #3
0
 /// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="CodeWindowManager.Close"]/*' />
 /// <summary>Closes all view filters, and the document properties window</summary>
 public void Close() {
     Trace.WriteLine("CodeWindowManager::Close");
     if (this.properties != null) this.properties.Close();
     CloseFilters();
     this.viewFilters = null;
     properties = null;
     service = null;
     source = null;
     this.codeWindow = null;
 }
Пример #4
0
 /// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="CodeWindowManager.Close"]/*' />
 /// <summary>Closes all view filters, and the document properties window</summary>
 public void Close()
 {
     Trace.WriteLine("CodeWindowManager::Close");
     if (this.properties != null)
     {
         this.properties.Close();
     }
     CloseFilters();
     this.viewFilters = null;
     properties       = null;
     service          = null;
     source           = null;
     this.codeWindow  = null;
 }