Exemple #1
0
        private void OnLoadingComplete()
        {
            // PopulateLibraryFromCurrentGraph
            coreComponent = ClassFactory.CurrCoreComponent;
            LibraryItem rootItem = coreComponent.GetRootLibraryItem();

            if (rootItem != null)
            {
                rootItem.Children.Insert(0, new LibraryItem(NodeType.None, DesignScriptStudio.Graph.Core.Configurations.NoResultMessage));
                libraryView.BindLibraryItemData(rootItem);
            }

            if (null != filesToRecover && (filesToRecover.Count > 0))
            {
                CreateBlankOrRecoveredCanvas(true); // Go into recovery mode.
            }
        }