Files
UnrealEngineUWP/Engine/Source/Editor/WorkspaceMenuStructure
sebastian arleryd c06093d475 Extend Workspace Menus With Stable Section Names
Note: Workspace Menus is the name of the menu hierarchy created by tab spawners.

The intent here is to give stable section and sub-menu names to the main menu hierarchy created by tab spawners to allow anyone to extend said hierarchy using UToolMenus.

* Add a NameAttribute to FWorkspaceItem which is NAME_None by default. Allow NameAttribute to be set through constructors and the NewGroup and AddGroup methods. Add an FWorkspaceItem::GetFName method for fetching NameAttribute.
* Set the NameAttribute of FWorkspaceItems created for tab spawners using their TabType.
* When adding tab spawners to the main menus, set the FName identifier as appropriate on sections and sub-menus with the value returned by FWorkspaceItem::GetFName.
* Set the NameAttribute on a lot of workspace groups to make use of this new functionality.

#jira UE-186967
[REVIEW] [at]editor-ux [at]editor-framework
#rb brooke.hubert

[CL 28416011 by sebastian arleryd in ue5-main branch]
2023-10-03 11:34:10 -04:00
..