Navigation
API > API/Editor > API/Editor/DetailCustomizations > API/Editor/DetailCustomizations/Customizations
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
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FString > | CurrentSelectedItem | ||
| TSharedPtr< IPropertyHandle > | CurveTablePropertyHandle | ||
| TSharedPtr< SComboButton > | RowNameComboButton | The comboButton objects | |
| TSharedPtr< SListView< TSharedPtr< FString > > > | RowNameComboListView | ||
| TSharedPtr< IPropertyHandle > | RowNamePropertyHandle | ||
| TArray< TSharedPtr< FString > > | RowNames | A cached copy of strings to populate the combo box | |
| TSharedPtr< IPropertyHandle > | StructPropertyHandle | Handle to the struct properties being customized |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateCurveTableChildProperty
(
IDetailChildrenBuilder& StructBuilder |
||
| TSharedRef< SWidget > | Returns the ListView for the ComboButton | ||
| FText | Display the current selection | ||
| TSharedRef< ITableRow > | HandleRowNameComboBoxGenarateWidget
(
TSharedPtr< FString > InItem, |
Return the representation of the the row names to display | |
| TSharedPtr< FString > | InitWidgetContent
(
bool bShouldModifyData |
Init the contents the combobox sources its data off | |
| TSharedRef< IPropertyTypeCustomization > | MakeInstance () |
||
| void | Delegate to refresh the drop down when the datatable changes | ||
| void | OnFilterTextChanged
(
const FText& InFilterText |
Called by Slate when the filter box changes text. | |
| void | Initial refresh, will not modify data | ||
| void | OnSelectionChanged
(
TSharedPtr< FString > SelectedItem, |
Update the root data on a change of selection |
Overridden from IPropertyTypeCustomization
| Type | Name | Description | |
|---|---|---|---|
| void | CustomizeChildren
(
TSharedRef< class IPropertyHandle > PropertyHandle, |
Called when the children of the property should be customized or extra rows added | |
| void | CustomizeHeader
(
TSharedRef< class IPropertyHandle > InStructPropertyHandle, |
IPropertyTypeCustomization interface |