public FunctionListProvider(RadeonServiceProvider serviceProvider, IDocumentFactory documentFactory, Lazy <INavigationTokenService> navigationTokenService) { _editorAdaptersFactoryService = serviceProvider.EditorAdaptersFactoryService; _navigationTokenService = navigationTokenService; _documentFactory = documentFactory; _documentTextViews = new Dictionary <IDocument, ITextView>(); _documentFactory.DocumentDisposed += DocumentDisposed; _documentFactory.ActiveDocumentChanged += ActiveDocumentChanged; _instance = this; }
protected override void OnCreate() { base.OnCreate(); FunctionListProvider.FunctionListWindowCreated(FunctionListControl); }