using System; using System.Collections.Generic; using System.Linq; using System.Text; using RainmeterStudio.Core; using RainmeterStudio.Core.Editor; using RainmeterStudio.Core.Model; namespace RainmeterStudio.SkinDesignerPlugin { /// /// Template of a skin which will be opened in the designer /// [PluginExport] public class SkinDocumentTemplate : IDocumentTemplate { /// /// Gets the document template name /// public string Name { get { return "Skin"; } } /// /// Gets the default extension of this template /// public string DefaultExtension { get { return "rsskin"; } } /// /// Gets or sets the properties of this template /// public IEnumerable Properties { get { return Enumerable.Empty(); } } /// /// Creates a new document using this template /// /// Newly created document public IDocument CreateDocument() { return new SkinDocument(); } } }