diff --git a/src/Whim/Workspace/IWorkspace.cs b/src/Whim/Workspace/IWorkspace.cs index 818c8b867..069376df4 100644 --- a/src/Whim/Workspace/IWorkspace.cs +++ b/src/Whim/Workspace/IWorkspace.cs @@ -154,4 +154,16 @@ public interface IWorkspace /// Indicates whether to do a layout after unregistering the phantom window. public void UnregisterPhantomWindow(ILayoutEngine engine, IWindow window, bool doLayout = false); #endregion + + /// + /// Creates a new workspace. + /// + /// + /// The name of the workspace. + /// The layout engines to load into the workspace. + /// + public static IWorkspace CreateWorkspace(IConfigContext configContext, string name, params ILayoutEngine[] layoutEngines) + { + return new Workspace(configContext, name, layoutEngines); + } }