internal void GraphControllerLoaded(uint identifier) { IGraphController graphController = GetController(identifier); if (graphController == null) { return; } // update the libraryView if there is any script need to be imported // the actuall importing is in the GraphControl::LoadFileInternal() List <string> importedScripts = graphController.GetImportedScripts(); if (importedScripts != null && importedScripts.Count > 0) { this.libraryView.FinishLoadingLibrary(); } graphController.Modified += new CanvasModifiedHandler(OnCanvasModified); }