Introduce editor core boundary

This commit is contained in:
2026-04-27 13:40:26 +08:00
parent 3243eea0bf
commit 1de1f768d3
29 changed files with 658 additions and 200 deletions

View File

@@ -23,11 +23,14 @@ EditorWindowManager::EditorWindowManager(
EditorContext& editorContext,
EditorWindowSystem& windowSystem,
Rendering::Host::EditorWindowRenderRuntimeFactory& renderRuntimeFactory,
EditorWindowHostRuntimeServices& hostRuntime)
EditorWindowHostRuntimeServices& hostRuntime,
EditorWorkspacePanelRuntimeSetFactory workspacePanelFactory)
: m_editorContext(editorContext)
, m_renderRuntimeFactory(renderRuntimeFactory)
, m_hostRuntime(hostRuntime) {
m_contentFactory = CreateDefaultEditorWindowContentFactory(windowSystem);
m_contentFactory = CreateDefaultEditorWindowContentFactory(
windowSystem,
std::move(workspacePanelFactory));
m_workspaceCoordinator =
std::make_unique<EditorWindowWorkspaceCoordinator>(
m_editorContext,