using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using RainmeterStudio.Core.Documents;
using RainmeterStudio.Core.Model;
namespace RainmeterStudio.SkinDesignerPlugin
{
///
/// Skin designer document editor
///
public class SkinDesigner : IDocumentEditor
{
///
/// Gets the document attached to this editor instance
///
public SkinDocument AttachedDocument { get; private set; }
///
/// Gets the document attached to this editor instance
///
IDocument IDocumentEditor.AttachedDocument
{
get { return AttachedDocument; }
}
///
/// Gets the UI control to display for this editor
///
public SkinDesignerControl EditorUI { get; private set; }
///
/// Gets the UI control to display for this editor
///
UIElement IDocumentEditor.EditorUI
{
get { return EditorUI; }
}
///
/// Initializes this editor
///
/// The document
public SkinDesigner(SkinDocument document)
{
AttachedDocument = document;
}
}
}