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