Split utility window contracts from feature factories

This commit is contained in:
2026-04-27 15:37:39 +08:00
parent 66d968c3ce
commit 2e6643b4d1
26 changed files with 294 additions and 208 deletions

View File

@@ -2,6 +2,7 @@
#include "Bootstrap/EditorResources.h"
#include "System/SystemInteractionService.h"
#include "Composition/EditorContext.h"
#include "Features/EditorUtilityWindowRegistry.h"
#include "Features/EditorWorkspacePanelRegistry.h"
#include "Windowing/EditorWindowManager.h"
#include "Platform/Win32/Diagnostics/Win32CrashTrace.h"
@@ -154,7 +155,8 @@ bool Application::Initialize(HINSTANCE hInstance, int nCmdShow) {
*m_windowSystem,
*m_renderRuntimeFactory,
*m_windowHostRuntime,
App::CreateEditorWorkspacePanelRuntimeSet);
App::CreateEditorWorkspacePanelRuntimeSet,
App::CreateEditorUtilityWindowPanel);
m_editorContext->SetExitRequestHandler([this]() {
if (m_windowManager == nullptr) {