Add support for struct param construction of FMultiBlock & FMenuEntryBlock
Add support for overriding of input action text.
#jira UE-134754
#rb Lauren.Barnes
#preflight 61952207b32bbfdc5007c419
#robomerge[BOT4] 5.0
#robomerge[BOT1] Main
[CL 18229583 by daren cheng in ue5-main branch]
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485
[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
- The menu's title changes depending on the selection ("Actor", "Component", or "Element" currently since those are the three currently-defined context menus for the level editor)
- The context menus will get reorganized in subsequent changes so that the pulldown Actions menu displays the full set of entries while the right-click context menu is trimmed down to a shorter subset of entries. This change does not reorganize any items yet.
- Add support to UToolMenus for using a TAttribute<FText> for the pulldown menu title/tooltip and for supplying FOnGetContent for generating the pulldown menu.
#rb rex.hill
#preflight 61534e89260f7d0001c7e4ac
#ROBOMERGE-OWNER: steven.dao
#ROBOMERGE-AUTHOR: steven.dao
#ROBOMERGE-SOURCE: CL 17652268 via CL 17652271 via CL 17652276 via CL 17652280 via CL 17652287
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main
[CL 17652461 by steven dao in ue5-release-engine-test branch]
- Added 'recursive searchable' property to the FMenuEntryBlock to let the menu searching algorith if it should go down the sub-menus.
- Fixed property binding auto-generated menus that can expand indefinitedly (in a circular fashion) to search only the current level and prevent stack overflow.
#rb Lauren.Barnes
#preflight 6126a50d2a3bf7000162a612
#ROBOMERGE-SOURCE: CL 17316068 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)
[CL 17316070 by patrick laflamme in ue5-release-engine-test branch]
#jira
#rnx
#rb none
#ROBOMERGE-SOURCE: CL 13058619 via CL 13058621 via CL 13058625 via CL 13058630
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)
[CL 13058634 by rex hill in Main branch]
For now did not deprecate usage of AddMenuSeparator in menu builders due to the extreme number of fiiles this touches
[CODEREVIEW] rex.hill
#ROBOMERGE-SOURCE: CL 12669820 via CL 12669822 via CL 12669823
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)
[CL 12671630 by matt kuhlenschmidt in Main branch]
#jira UE-87630
#rb lauren.barnes
#rnx
#ROBOMERGE-SOURCE: CL 11168153 via CL 11168155 via CL 11168157
#ROBOMERGE-BOT: (v640-11091645)
[CL 11169092 by rex hill in Main branch]
#rnx
#rb none
#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870549 by ryan durand in Main branch]
New feature: Added the capability of adding Radio buttons to the submenu main button (not only to its entries).
This CL is the first of 2 CLs that introduce multiple improvements on the "View Mode" menu of the Viewport, including a new feature request from JIRA UE-81469. However, we isolate this particular new feature into an isolated CL given that it can be applicable anywhere in the Editor, not only for "View Mode".
Issue: If any subcategory of "View Mode" was chosen, the user could not know in which category it was located (unless the user manually looked into each category until he found the selected one).
Solution: Added the checked functionality (with a radio button) to each one of the categories, behaving similarly to any subcategory. This way, both the radio button of the category and the one from the specific subcategory will be checked simulatenously.
More technical details:
Adding this functionality to "View Mode" means adding the functionality of "FUIAction::FIsActionChecked" into "AddSubMenu", which includes modifications to "MultiBox", "SMenuEntryBlock", and "MultiBoxBuilder".
1) We are changing a submenu so it has a radioButton
2) To specify a radio button a developer has to use a different API that includes a delegate (FUIAction) to say if it should be checked or not before this CL
3) The different API for AddSubMenu was not passing along the command list for that child submenu to use
4) The updated code now passes the command list along for the child submenu to use
#rb rex.hill
[CL 10228324 by Gines Hidalgo in Dev-Editor branch]
#rb none
#rnx
#jira
#ROBOMERGE-OWNER: rex.hill
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 10082263 via CL 10082264
#ROBOMERGE-BOT: (v574-10069753)
[CL 10082583 by rex hill in Main branch]