FDataRegistryEditorModule::MakeDataRegistryItemNameSelector

Creates a simple version of a Data Registry Item Name selector, not bound to a PropertyHandle.

Windows
MacOS
Linux

References

Module

DataRegistryEditor

Header

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Public/DataRegistryEditorModule.h

Include

#include "DataRegistryEditorModule.h"

Source

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistryEditor/Private/DataRegistryEditorModule.cpp

Syntax

static TSharedRef< SWidget > MakeDataRegistryItemNameSelector
(
    FOnGetDataRegistryDisplayText OnGetDisplayText,
    FOnGetDataRegistryId OnGetId,
    FOnSetDataRegistryId OnSetId,
    FOnGetCustomDataRegistryItemNames OnGetCustomItemNames,
    bool bAllowClear
)

Remarks

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

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss