FileTabManager(IFileTabUIContextLocatorCreator fileTabUIContextLocatorCreator, FileTreeView fileTreeView, ITabManagerCreator tabManagerCreator, IFileTabContentFactoryManager fileTabContentFactoryManager, IFileTabManagerSettings fileTabManagerSettings, IWpfFocusManager wpfFocusManager, IDecompilationCache decompilationCache, [ImportMany] IEnumerable <Lazy <IReferenceFileTabContentCreator, IReferenceFileTabContentCreatorMetadata> > mefRefFactories) { this.fileTabManagerSettings = fileTabManagerSettings; this.fileTabUIContextLocatorCreator = fileTabUIContextLocatorCreator; this.fileTabContentFactoryManager = fileTabContentFactoryManager; this.wpfFocusManager = wpfFocusManager; this.decompilationCache = decompilationCache; this.refFactories = mefRefFactories.OrderBy(a => a.Metadata.Order).ToArray(); var tvElem = fileTreeView.TreeView.UIObject as UIElement; Debug.Assert(tvElem != null); if (tvElem != null) { tvElem.IsVisibleChanged += TreeView_IsVisibleChanged; isTreeViewVisible = tvElem.IsVisible; } this.fileTreeView = fileTreeView; this.fileTreeView.FileManager.CollectionChanged += FileManager_CollectionChanged; this.fileTreeView.SelectionChanged += FileTreeView_SelectionChanged; this.fileTreeView.NodesTextChanged += FileTreeView_NodesTextChanged; this.fileTreeView.NodeActivated += FileTreeView_NodeActivated; this.fileTreeView.TreeView.NodeRemoved += TreeView_NodeRemoved; this.tabManager = tabManagerCreator.Create(); this.tabGroupManager = this.tabManager.Create(new TabGroupManagerOptions(MenuConstants.GUIDOBJ_FILES_TABCONTROL_GUID)); this.tabGroupManager.TabSelectionChanged += TabGroupManager_TabSelectionChanged; this.tabGroupManager.TabGroupSelectionChanged += TabGroupManager_TabGroupSelectionChanged; }
DocumentTabService(IDocumentTabUIContextLocatorProvider documentTabUIContextLocatorProvider, DocumentTreeView documentTreeView, ITabServiceProvider tabServiceProvider, IDocumentTabContentFactoryService documentTabContentFactoryService, IDocumentTabServiceSettings documentTabServiceSettings, IWpfFocusService wpfFocusService, IDecompilationCache decompilationCache, [ImportMany] IEnumerable <Lazy <IReferenceDocumentTabContentProvider, IReferenceDocumentTabContentProviderMetadata> > referenceDocumentTabContentProviders, [ImportMany] IEnumerable <Lazy <IDefaultDocumentTabContentProvider, IDefaultDocumentTabContentProviderMetadata> > defaultDocumentTabContentProviders, [ImportMany] IEnumerable <Lazy <IReferenceHandler, IReferenceHandlerMetadata> > referenceHandlers) { Settings = documentTabServiceSettings; this.documentTabUIContextLocatorProvider = documentTabUIContextLocatorProvider; this.documentTabContentFactoryService = documentTabContentFactoryService; this.wpfFocusService = wpfFocusService; this.decompilationCache = decompilationCache; this.referenceDocumentTabContentProviders = referenceDocumentTabContentProviders.OrderBy(a => a.Metadata.Order).ToArray(); this.defaultDocumentTabContentProviders = defaultDocumentTabContentProviders.OrderBy(a => a.Metadata.Order).ToArray(); this.referenceHandlers = referenceHandlers.OrderBy(a => a.Metadata.Order).ToArray(); var tvElem = documentTreeView.TreeView.UIObject; tvElem.IsVisibleChanged += TreeView_IsVisibleChanged; isTreeViewVisible = tvElem.IsVisible; DocumentTreeView = documentTreeView; DocumentTreeView.DocumentService.CollectionChanged += DocumentService_CollectionChanged; DocumentTreeView.SelectionChanged += DocumentTreeView_SelectionChanged; DocumentTreeView.NodesTextChanged += DocumentTreeView_NodesTextChanged; DocumentTreeView.NodeActivated += DocumentTreeView_NodeActivated; DocumentTreeView.TreeView.NodeRemoved += TreeView_NodeRemoved; tabService = tabServiceProvider.Create(); TabGroupService = tabService.Create(new TabGroupServiceOptions(MenuConstants.GUIDOBJ_DOCUMENTS_TABCONTROL_GUID)); TabGroupService.TabSelectionChanged += TabGroupService_TabSelectionChanged; TabGroupService.TabGroupSelectionChanged += TabGroupService_TabGroupSelectionChanged; }
DecompileFileTabContentFactory(IFileManager fileManager, IFileTreeNodeDecompiler fileTreeNodeDecompiler, ILanguageManager languageManager, IDecompilationCache decompilationCache, IMethodAnnotations methodAnnotations) { this.fileManager = fileManager; this.fileTreeNodeDecompiler = fileTreeNodeDecompiler; this.languageManager = languageManager; this.decompilationCache = decompilationCache; this.methodAnnotations = methodAnnotations; }
DecompileDocumentTabContentFactory(IDsDocumentService documentService, IDocumentTreeNodeDecompiler documentTreeNodeDecompiler, IDecompilerService decompilerService, IDecompilationCache decompilationCache, IMethodAnnotations methodAnnotations, IContentTypeRegistryService contentTypeRegistryService, IDocumentViewerContentFactoryProvider documentViewerContentFactoryProvider) { DocumentService = documentService; DocumentTreeNodeDecompiler = documentTreeNodeDecompiler; DecompilerService = decompilerService; DecompilationCache = decompilationCache; MethodAnnotations = methodAnnotations; ContentTypeRegistryService = contentTypeRegistryService; DocumentViewerContentFactoryProvider = documentViewerContentFactoryProvider; }
DecompileDocumentTabContentFactory(IDsDocumentService documentService, IDocumentTreeNodeDecompiler documentTreeNodeDecompiler, IDecompilerService decompilerService, IDecompilationCache decompilationCache, IMethodAnnotations methodAnnotations, IContentTypeRegistryService contentTypeRegistryService, IDocumentViewerContentFactoryProvider documentViewerContentFactoryProvider, IDocumentWriterService documentWriterService) { DocumentService = documentService; DocumentTreeNodeDecompiler = documentTreeNodeDecompiler; DecompilerService = decompilerService; DecompilationCache = decompilationCache; MethodAnnotations = methodAnnotations; ContentTypeRegistryService = contentTypeRegistryService; DocumentViewerContentFactoryProvider = documentViewerContentFactoryProvider; DocumentWriterService = documentWriterService; }
DecompilationCacheDocumentListListener(IDecompilationCache decompilationCache) => this.decompilationCache = decompilationCache;
RefreshResourcesCommand(IDocumentTabService documentTabService, IDocumentTreeViewSettings documentTreeViewSettings, IDecompilationCache decompilationCache) { this.documentTabService = documentTabService; this.decompilationCache = decompilationCache; documentTreeViewSettings.PropertyChanged += DocumentTreeViewSettings_PropertyChanged; }
DecompilationCacheFileListListener(IDecompilationCache decompilationCache) { this.decompilationCache = decompilationCache; }
RefreshResourcesCommand(IFileTabManager fileTabManager, IFileTreeViewSettings fileTreeViewSettings, IDecompilationCache decompilationCache) { this.fileTabManager = fileTabManager; this.decompilationCache = decompilationCache; fileTreeViewSettings.PropertyChanged += FileTreeViewSettings_PropertyChanged; }
public BamlExternalSourcesProvider(IDecompilationCache decompilationCache) : base(decompilationCache) { }
public BamlNavigationProvider(IDecompilationCache decompilationCache, ExternalSourcesNavigator externalSourcesNavigator) { myDecompilationCache = decompilationCache; myExternalSourcesNavigator = externalSourcesNavigator; }
DecompileFileTabContentFactory(IFileManager fileManager, IFileTreeNodeDecompiler fileTreeNodeDecompiler, ILanguageManager languageManager, IDecompilationCache decompilationCache, IMethodAnnotations methodAnnotations, IContentTypeRegistryService contentTypeRegistryService, [ImportMany] IEnumerable <Lazy <IDocumentViewerCustomDataProvider, IDocumentViewerCustomDataProviderMetadata> > documentViewerCustomDataProviders) { this.FileManager = fileManager; this.FileTreeNodeDecompiler = fileTreeNodeDecompiler; this.LanguageManager = languageManager; this.DecompilationCache = decompilationCache; this.MethodAnnotations = methodAnnotations; this.ContentTypeRegistryService = contentTypeRegistryService; this.DocumentViewerCustomDataProviders = documentViewerCustomDataProviders.OrderBy(a => a.Metadata.Order).ToArray(); }