Navigation
API > API/Plugins > API/Plugins/DataRegistryEditor > API/Plugins/DataRegistryEditor/FDataRegistryEditorModule
Description
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
| Name | MakeDataRegistryItemNameSelector |
| Type | function |
| Header File | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Public/DataRegistryEditorModule.h |
| Include Path | #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
)
Parameters
| Name | Remarks |
|---|---|
| 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 |