Exemple #1
0
 public TabContentImpl(ToolWindowGroup owner, ToolWindowContent content)
 {
     elementZoomer = new TabElementZoomer();
     this.owner    = owner;
     Content       = content;
     AddEvents();
 }
Exemple #2
0
 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;
 }
Exemple #3
0
		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;
		}
Exemple #4
0
		public TabContentImpl(ToolWindowGroup owner, ToolWindowContent content) {
			elementZoomer = new TabElementZoomer();
			this.owner = owner;
			Content = content;
			AddEvents();
		}