Module |
|
Header |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Public/DataRegistryEditorModule.h |
Include |
#include "DataRegistryEditorModule.h" |
Source |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Private/DataRegistryEditorModule.cpp |
static TSharedRef< SWidget > MakeDataRegistryItemNameSelector
(
FOnGetDataRegistryDisplayText OnGetDisplayText,
FOnGetDataRegistryId OnGetId,
FOnSetDataRegistryId OnSetId,
FOnGetCustomDataRegistryItemNames OnGetCustomItemNames,
bool bAllowClear
)
Creates a simple version of a Data Registry Item Name selector, not bound to a PropertyHandle. This will spawn the appropriate tag/combo box UI on click depending on the type
Parameter |
Description |
---|---|
OnGetDisplayText |
Delegate that returns the text to display in body of combo box |
OnGetId |
Delegate that should return the current id, used to populate the comobo box on click. Type must be set but name can be none |
OnSetId |
Delegate called when item is selected |
OnGetCustomItemNames |
Optional delegate to call to get custom names if OnGetId returns CustomContextType |
bAllowClear |
If true, add None option to top |