class

FEditorLayoutMigration

Module
EditorFramework
Header
#include "EditorFramework/EditorLayoutMigration.h"
Namespace
Mowo

Type aliases

AliasDescription
using FTabFactory = std::function<std::shared_ptr<Arcf::ADockTab>(const std::string&)>

Properties

TypeNameDescription
static constexpr int32_tCurrentVersionThe layout file version this editor writes. 2 was the pre-redesign frame. Default 3.
static constexpr floatModesWidthThe main-window column sizes of the redesign (editor-main layout.json). Default 300.0f.
static constexpr floatRightColumnWidthDefault 540.0f.
static constexpr floatOutlinerHeightDefault 520.0f.
static constexpr floatBottomDockHeightDefault 440.0f.
static constexpr floatBottomRightWidthDefault 765.0f.
static constexpr floatLegacyModesWidthThe defaults the version-2 frame wrote; a seam still at one of them was never sized by the user. Default 210.0f.
static constexpr floatLegacyRightColumnWidthDefault 340.0f.
static constexpr floatLegacyBottomDockHeightDefault 260.0f.
static constexpr floatLegacyBottomRightWidthDefault 560.0f.
static constexpr floatLegacyOutlinerRatioDefault 4.0f / 9.0f.

Public functions

ReturnsNameDescription
FEditorLayoutMigrationReportMigrateMigrates in place.
boolSubtreeHasTab
Arcf::SDockArea*FindAreaWithTab

Function details

Migrate

C++
static FEditorLayoutMigrationReport Migrate(Arcf::CDockLayout& layout, int32_t fromVersion, const FTabFactory& tabFor, const std::unordered_set<std::string>& placedElsewhere)

Migrates in place. tabFor mints a tab the new frame adds by default; placedElsewhere names tabs the user keeps in a sidebar or a floating window, which are never docked a second time. A layout already at CurrentVersion is left alone.

SubtreeHasTab

C++
static bool SubtreeHasTab(const std::shared_ptr<Arcf::CDockNode>& node, const std::string& tabId)

FindAreaWithTab

C++
static Arcf::SDockArea* FindAreaWithTab(const std::shared_ptr<Arcf::CDockNode>& node, const std::string& tabId)
Generated from EditorFramework/EditorLayoutMigration.h via editorframework.json · Nov 2, 2026Version 1.0.0