using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UniversalEditor.UserInterface { public static class HostApplication { /// /// Gets or sets the current window of the host application. /// public static IHostApplicationWindow CurrentWindow { get { return Engine.CurrentEngine.LastWindow; } set { Engine.CurrentEngine.LastWindow = value; } } private static HostApplicationOutputWindow mvarOutputWindow = new HostApplicationOutputWindow(); /// /// Gets or sets the output window of the host application, where other plugins can read from and write to. /// public static HostApplicationOutputWindow OutputWindow { get { return mvarOutputWindow; } set { mvarOutputWindow = value; } } private static HostApplicationMessage.HostApplicationMessageCollection mvarMessages = new HostApplicationMessage.HostApplicationMessageCollection(); /// /// A collection of messages to display in the Error List panel. /// public static HostApplicationMessage.HostApplicationMessageCollection Messages { get { return mvarMessages; } } } }