public TabContentImpl(ToolWindowGroup owner, IToolWindowContent content) { this.elementScaler = new TabElementScaler(); this.owner = owner; this.Content = content; AddEvents(); }
public TabContentImpl(FileTabManager fileTabManager, IFileTabUIContextLocator fileTabUIContextLocator, Lazy<IReferenceFileTabContentCreator, IReferenceFileTabContentCreatorMetadata>[] refFactories) { this.elementScaler = new TabElementScaler(); this.tabHistory = new TabHistory(); this.tabHistory.SetCurrent(new NullFileTabContent(), false); this.fileTabManager = fileTabManager; this.fileTabUIContextLocator = fileTabUIContextLocator; this.refFactories = refFactories; this.uiContext = new NullFileTabUIContext(); this.uiObject = this.uiContext.UIObject; }