Also removed some uneeded code and removed some unessary copy of a SharedPtr in the construction of the frontend filters.
#jira UE-208480
#rb JeanLuc.Corenthin
[CL 31911508 by julien stjean in ue5-main branch]
Add functionality to the generic TEDS-Outliner to properly track row collection/addition/removal, selection, hierarchies etc
Add the ability to add filters to the TEDS-Outliner that are run through TEDS Queries
#jira UE-189625, UE-187141, UE-187143, UE-193036, UE-193037, UE-204360
#rb ronald.koppers
[CL 31052174 by aditya ravichandran in ue5-main branch]
- Additionally added 'IsFilterEnabled' function so that external systems can determine whether a filter is enabled or not
#rb aditya.ravichandran
[CL 30044381 by mateo egey in ue5-main branch]
Notably, when the messag text got too long, because the ScrollBoxMaxHeight arg wasn't set, you could barely see the message
#rb Dominik.Peacock
#rnx
[CL 29909962 by dave belanger in ue5-main branch]
- Removed unused function
- Added 'FX' asset type category for Niagara purposes that maps to the FX asset category path for default expansion purposes
- Restored functionality for default filter category expansion. This code seemed abandoned. The category expansion could be specified in the asset picker config, but in the end was ignored and the Basic asset path was used instead. This uses a Convert function to go from AssetTypeCategory -> AssetCategoryPath. There is no 1:1 mapping, so it falls back to Basic if necessary. Changing the type in the asset picker config would be cleaner, but isn't straight forward due to FAssetCategoryPath needing to be exposed to all modules that include the content browser module
- Tweaked OnExtendAddFilterMenu delegate. It's now a global delegate, making it unnecessary to handle template shenanigans to access it.
AssetPickerConfig has a new option to provide this OnExtendAddFilterMenu externally. As the 'Common' category still shows up if we expand the FX category (since Niagara System is part of Basic & FX), we can use this to remove unwanted filters
The delegate is called on the dynamic menu section before the widget generation
- Added PinAllFrontendFilters argument. This is useful if you have a small amount of filters available so that you want to display them all by default
Big code cleanup:
- MakeAddFilterMenu is now marked as final to help with API consistency.
- Added new 'CreateAssetFilterBarContext` virtual function. This is now the unified way of configuring your menu.
- The context now contains the FOnFilterAssetType delegate, and the OnExtendAddFilterMenu delegate. This allows subclasses to keep their original functionality, while having a central place to tweak it
- Removed the old content browser context as it's no longer used
- Exposed the menu name. Kept old names consistent. This allows to reuse menus, or create new ones.
- Moved the right click context filter UI of the content browser into the SAssetFilterBar. Now all SAssetFilterBars can do this. Removed the OnGetContextMenu delegate that was only used in one place
- Removed various functions that are no longer needed
#rb rex.hill, aditya.ravichandran
#ushell-cherrypick of 28538117 by Mateo.Egey
[CL 28705843 by mateo egey in ue5-main branch]
Moving SSearchToggleButton into ToolWidgets module to be reused externally.
#rb daren.cheng robert.seiver
[CL 27566135 by andrea botti in ue5-main branch]
#rb Vincent.Gauthier, sebastian.arleryd, aditya.ravichandran
#ushell-cherrypick of 26510073 by kristof.morva1
[CL 26512053 by ben hoffman in ue5-main branch]