// // UEPackageObjectModel.cs - provides an ObjectModel to manipulate Universal Editor package, extension, and configuration files // // Author: // Michael Becker // // Copyright (c) 2011-2020 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . namespace UniversalEditor.ObjectModels.UEPackage { /// /// Provides an to manipulate Universal Editor package, extension, and configuration files. /// public class UEPackageObjectModel : ObjectModel { private static ObjectModelReference _omr = null; protected override ObjectModelReference MakeReferenceInternal() { if (_omr == null) { _omr = base.MakeReferenceInternal(); _omr.Title = "Universal Editor Package"; _omr.Path = new string[] { "Extensibility" }; } return _omr; } private Association.AssociationCollection mvarAssociations = new Association.AssociationCollection(); /// /// The s provided by this package. /// public Association.AssociationCollection Associations { get { return mvarAssociations; } } private ObjectModelReference.ObjectModelReferenceCollection mvarObjectModels = new ObjectModelReference.ObjectModelReferenceCollection(); /// /// The s provided by this package. /// public ObjectModelReference.ObjectModelReferenceCollection ObjectModels { get { return mvarObjectModels; } } private DataFormatReference.DataFormatReferenceCollection mvarDataFormats = new DataFormatReference.DataFormatReferenceCollection(); /// /// The s provided by this package. /// public DataFormatReference.DataFormatReferenceCollection DataFormats { get { return mvarDataFormats; } } private ProjectType.ProjectTypeCollection mvarProjectTypes = new ProjectType.ProjectTypeCollection(); /// /// The s provided by this package. /// public ProjectType.ProjectTypeCollection ProjectTypes { get { return mvarProjectTypes; } } private DocumentTemplate.DocumentTemplateCollection mvarDocumentTemplates = new DocumentTemplate.DocumentTemplateCollection(); public DocumentTemplate.DocumentTemplateCollection DocumentTemplates { get { return mvarDocumentTemplates; } } private ProjectTemplate.ProjectTemplateCollection mvarProjectTemplates = new ProjectTemplate.ProjectTemplateCollection(); public ProjectTemplate.ProjectTemplateCollection ProjectTemplates { get { return mvarProjectTemplates; } } public override void Clear() { mvarAssociations.Clear(); mvarDataFormats.Clear(); mvarObjectModels.Clear(); mvarProjectTypes.Clear(); } public override void CopyTo(ObjectModel where) { } } }