using MBS.Framework.UserInterface;
namespace UniversalEditor.UserInterface
{
public class EditorApplication : UIApplication, IHostApplication
{
///
/// Gets or sets the current window of the host application.
///
public IHostApplicationWindow CurrentWindow { get { return UniversalEditor.UserInterface.Engine.CurrentEngine.LastWindow; } set { UniversalEditor.UserInterface.Engine.CurrentEngine.LastWindow = value; } }
///
/// Gets or sets the output window of the host application, where other plugins can read from and write to.
///
public HostApplicationOutputWindow OutputWindow { get; set; } = new HostApplicationOutputWindow();
///
/// A collection of messages to display in the Error List panel.
///
public HostApplicationMessage.HostApplicationMessageCollection Messages { get; } = new HostApplicationMessage.HostApplicationMessageCollection();
}
}