using UniversalWidgetToolkit; namespace UniversalEditor.UserInterface { /// /// Provides an interface for custom editor implementations not using the Universal Widget Toolkit. /// public abstract class Editor : Control { /// /// Copies the selected content to the Universal Editor clipboard. /// public abstract void Copy(); /// /// Pastes the content from the Universal Editor clipboard, overwriting any selected content. /// public abstract void Paste(); /// /// Deletes the selected content. /// public abstract void Delete(); /// /// Restores the previous object model in the stack. /// public abstract void Undo(); /// /// Restores the previously-undone object model from the stack. /// public abstract void Redo(); public abstract string Title { get; } public event ToolboxItemEventHandler ToolboxItemAdded; public event ToolboxItemEventHandler ToolboxItemSelected; public abstract bool SelectToolboxItem(ToolboxItem item); public abstract EditorReference MakeReference(); } }