示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
 public TabContentImpl(FileTabManager fileTabManager, IFileTabUIContextLocator fileTabUIContextLocator, Lazy <IReferenceFileTabContentProvider, IReferenceFileTabContentProviderMetadata>[] referenceFileTabContentProviders, Lazy <IDefaultFileTabContentProvider, IDefaultFileTabContentProviderMetadata>[] defaultFileTabContentProviders)
 {
     this.elementScaler = new TabElementScaler();
     this.tabHistory    = new TabHistory();
     this.tabHistory.SetCurrent(new NullFileTabContent(), false);
     this.fileTabManager                   = fileTabManager;
     this.fileTabUIContextLocator          = fileTabUIContextLocator;
     this.referenceFileTabContentProviders = referenceFileTabContentProviders;
     this.defaultFileTabContentProviders   = defaultFileTabContentProviders;
     this.uiContext = new NullFileTabUIContext();
     this.uiObject  = this.uiContext.UIObject;
 }