FCurveTableCustomizationLayout

Customizes a DataTable asset to use a dropdown

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

IPropertyTypeCustomization

FCurveTableCustomizationLayout

References

Module

DetailCustomizations

Header

/Engine/Source/Editor/DetailCustomizations/Public/Customizations/CurveTableCustomization.h

Include

#include "Customizations/CurveTableCustomization.h"

Syntax

class FCurveTableCustomizationLayout : public IPropertyTypeCustomization

Remarks

Customizes a DataTable asset to use a dropdown

Variables

Name Description

Protected variable

TSharedPtr< FSt...

 

CurrentSelectedItem

Protected variable

TSharedPtr< IPr...

 

CurveTablePropertyHandle

Protected variable

TSharedPtr< SCo...

 

RowNameComboButton

The comboButton objects

Protected variable

TSharedPtr< SLi...

 

RowNameComboListView

Protected variable

TSharedPtr< IPr...

 

RowNamePropertyHandle

Protected variable

TArray< TShared...

 

RowNames

A cached copy of strings to populate the combo box

Protected variable

TSharedPtr< IPr...

 

StructPropertyHandle

Handle to the struct properties being customized

Functions

Name Description

Public function Virtual

void

 

CreateCurveTableChildProperty

(
    IDetailChildrenBuilder& StructBuil...
)

Protected function

TSharedRef< ...

 

GetListContent()

Returns the ListView for the ComboButton

Protected function Const

FText

 

GetRowNameComboBoxContentText()

Display the current selection

Protected function

TSharedRef< ...

 

HandleRowNameComboBoxGenarateWidget

(
    TSharedPtr< FString > InItem,
    const TSharedRef< STableViewBase > ...
)

Return the representation of the the row names to display

Protected function

TSharedPtr< ...

 

InitWidgetContent()

Init the contents the combobox sources its data off

Public function Static

TSharedRef< ...

 

MakeInstance()

Protected function

void

 

OnCurveTableChanged()

Delegate to refresh the drop down when the datatable changes

Protected function

void

 

OnFilterTextChanged

(
    const FText& InFilterText
)

Called by Slate when the filter box changes text.

Protected function

void

 

OnSelectionChanged

(
    TSharedPtr< FString > SelectedItem,
    ESelectInfo::Type SelectInfo
)

Update the root data on a change of selection

Overridden from IPropertyTypeCustomization

Name Description

Public function Virtual

void

 

CustomizeChildren

(
    TSharedRef< class IPropertyHandle >...,
    IDetailChildrenBuilder& ChildBuild...,
    IPropertyTypeCustomizationUtils& C...
)

Called when the children of the property should be customized or extra rows added

Public function Virtual

void

 

CustomizeHeader

(
    TSharedRef< class IPropertyHandle >...,
    FDetailWidgetRow& HeaderRow,
    IPropertyTypeCustomizationUtils& S...
)

IPropertyTypeCustomization interface

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