using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UniversalEditor.UserInterface { /// /// Provides an interface for custom editor implementations not using the Universal Widget Toolkit. /// public interface IEditorImplementation { /// /// Copies the selected content to the Universal Editor clipboard. /// void Copy(); /// /// Pastes the content from the Universal Editor clipboard, overwriting any selected content. /// void Paste(); /// /// Deletes the selected content. /// void Delete(); /// /// Restores the previous object model in the stack. /// void Undo(); /// /// Restores the previously-undone object model from the stack. /// void Redo(); string Title { get; } ObjectModelReference.ObjectModelReferenceCollection SupportedObjectModels { get; } event ToolboxItemEventHandler ToolboxItemAdded; event ToolboxItemEventHandler ToolboxItemSelected; bool SelectToolboxItem(ToolboxItem item); } }