Refactor editor workspace panel bindings

This commit is contained in:
2026-04-29 13:29:17 +08:00
parent a8e1a2b097
commit da6f37dafe
14 changed files with 213 additions and 106 deletions

View File

@@ -112,7 +112,8 @@ void EditorContext::AttachTextMeasurer(
m_shellServices.textMeasurer = &textMeasurer;
}
void EditorContext::SetSystemInteractionHost(System::SystemInteractionService* systemInteractionHost) {
void EditorContext::SetSystemInteractionHost(
::XCEngine::UI::Editor::System::SystemInteractionService* systemInteractionHost) {
m_systemInteractionHost = systemInteractionHost;
}
@@ -225,11 +226,11 @@ void EditorContext::SyncSessionFromCommandFocusService() {
ResolveEditorActionRoute(m_session.activePanelId));
}
System::SystemInteractionService* EditorContext::GetSystemInteractionHost() {
::XCEngine::UI::Editor::System::SystemInteractionService* EditorContext::GetSystemInteractionHost() {
return m_systemInteractionHost;
}
const System::SystemInteractionService* EditorContext::GetSystemInteractionHost() const {
const ::XCEngine::UI::Editor::System::SystemInteractionService* EditorContext::GetSystemInteractionHost() const {
return m_systemInteractionHost;
}