using System; using System.Collections.Generic; using System.Linq; using System.Text; using RainmeterStudio.Core.Model; namespace RainmeterStudio.Core.Documents { public interface IDocumentEditorFactory { /// /// Creates a new editor object /// /// Document to be edited by the editor /// A new document editor IDocumentEditor CreateEditor(IDocument document); /// /// Tests if this editor can edit this document type /// /// Document type /// True if the editor can edit the document type bool CanEdit(Type type); } }