示例#1
0
			public ShowContext(DocumentTabUIContext uiCtx, bool isRefresh) {
				UIContext = uiCtx;
				IsRefresh = isRefresh;
			}
示例#2
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;
		}