コード例 #1
0
 public TabContentImpl(ToolWindowGroup owner, ToolWindowContent content)
 {
     elementZoomer = new TabElementZoomer();
     this.owner    = owner;
     Content       = content;
     AddEvents();
 }
コード例 #2
0
ファイル: TabContentImpl.cs プロジェクト: weimingtom/dnSpy
 public TabContentImpl(DocumentTabService documentTabService, IDocumentTabUIContextLocator documentTabUIContextLocator, Lazy <IReferenceDocumentTabContentProvider, IReferenceDocumentTabContentProviderMetadata>[] referenceDocumentTabContentProviders, Lazy <IDefaultDocumentTabContentProvider, IDefaultDocumentTabContentProviderMetadata>[] defaultDocumentTabContentProviders)
 {
     this.elementZoomer = new TabElementZoomer();
     this.tabHistory    = new TabHistory();
     this.tabHistory.SetCurrent(new NullDocumentTabContent(), false);
     this.documentTabService                   = documentTabService;
     this.documentTabUIContextLocator          = documentTabUIContextLocator;
     this.referenceDocumentTabContentProviders = referenceDocumentTabContentProviders;
     this.defaultDocumentTabContentProviders   = defaultDocumentTabContentProviders;
     this.uiContext = new NullDocumentTabUIContext();
     this.uiObject  = this.uiContext.UIObject;
 }
コード例 #3
0
ファイル: TabContentImpl.cs プロジェクト: manojdjoshi/dnSpy
		public TabContentImpl(DocumentTabService documentTabService, IDocumentTabUIContextLocator documentTabUIContextLocator, Lazy<IReferenceDocumentTabContentProvider, IReferenceDocumentTabContentProviderMetadata>[] referenceDocumentTabContentProviders, Lazy<IDefaultDocumentTabContentProvider, IDefaultDocumentTabContentProviderMetadata>[] defaultDocumentTabContentProviders, Lazy<IReferenceHandler, IReferenceHandlerMetadata>[] referenceHandlers) {
			elementZoomer = new TabElementZoomer();
			tabHistory = new TabHistory();
			tabHistory.SetCurrent(new NullDocumentTabContent(), false);
			this.documentTabService = documentTabService;
			this.documentTabUIContextLocator = documentTabUIContextLocator;
			this.referenceDocumentTabContentProviders = referenceDocumentTabContentProviders;
			this.defaultDocumentTabContentProviders = defaultDocumentTabContentProviders;
			this.referenceHandlers = referenceHandlers;
			uiContext = new NullDocumentTabUIContext();
			uiObject = uiContext.UIObject;
		}
コード例 #4
0
ファイル: TabContentImpl.cs プロジェクト: manojdjoshi/dnSpy
		public TabContentImpl(ToolWindowGroup owner, ToolWindowContent content) {
			elementZoomer = new TabElementZoomer();
			this.owner = owner;
			Content = content;
			AddEvents();
		}