public AltaxoDocument() { m_DataSet = new Altaxo.Data.DataTableCollection(this); m_GraphSet = new GraphDocumentCollection(this); m_TableLayoutList = new Altaxo.Worksheet.WorksheetLayoutCollection(this); _FitFunctionScripts = new Altaxo.Scripting.FitFunctionScriptCollection(); // m_Worksheets = new System.Collections.ArrayList(); // m_GraphForms = new System.Collections.ArrayList(); }
public AltaxoDocument() { _dataTables = new Altaxo.Data.DataTableCollection(this); var commonDictionaryForGraphs = new SortedDictionary <string, IProjectItem>(); _graphs = new Graph.Gdi.GraphDocumentCollection(this, commonDictionaryForGraphs); _graphs3D = new Graph.Graph3D.GraphDocumentCollection(this, commonDictionaryForGraphs); _textDocuments = new Text.TextDocumentCollection(this); _projectFolderProperties = new Main.Properties.ProjectFolderPropertyDocumentCollection(this); _tableLayouts = new Altaxo.Worksheet.WorksheetLayoutCollection(this); _fitFunctionScripts = new Altaxo.Scripting.FitFunctionScriptCollection(this); _projectFolders = new ProjectFolders(this); }
protected override IEnumerable <Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName() { if (null != _dataTables) { yield return(new Main.DocumentNodeAndName(_dataTables, () => _dataTables = null, "Tables")); } if (null != _graphs) { yield return(new Main.DocumentNodeAndName(_graphs, () => _graphs = null, "Graphs")); } if (null != _graphs3D) { yield return(new Main.DocumentNodeAndName(_graphs3D, () => _graphs3D = null, "Graphs3D")); } if (null != _textDocuments) { yield return(new Main.DocumentNodeAndName(_textDocuments, () => _textDocuments = null, "Text")); } if (null != _tableLayouts) { yield return(new Main.DocumentNodeAndName(_tableLayouts, () => _tableLayouts = null, "TableLayouts")); } if (null != _fitFunctionScripts) { yield return(new Main.DocumentNodeAndName(_fitFunctionScripts, () => _fitFunctionScripts = null, "FitFunctionScripts")); } if (null != _projectFolderProperties) { yield return(new Main.DocumentNodeAndName(_projectFolderProperties, () => _projectFolderProperties = null, "FolderProperties")); } if (null != _projectFolders) { yield return(new Main.DocumentNodeAndName(_projectFolders, () => _projectFolders = null, "ProjectFolders")); } }