using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using RainmeterStudio.Core.Editor;
using RainmeterStudio.Core.Model;
using RainmeterStudio.Core.Editor.Features;
namespace RainmeterStudio.SkinDesignerPlugin
{
///
/// Skin designer document editor
///
public class SkinDesigner : IDocumentEditor //TODO: , ISelectionPropertiesProvider, IToolboxProvider, IUndoSupport
{
///
/// 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;
EditorUI = new SkinDesignerControl(document);
}
}
}