ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FArticyIdCustomization Class Referencefinal

Customizes the display and behavior of Articy ID properties in the details panel. More...

#include <ArticyIdCustomization.h>

Inheritance diagram for FArticyIdCustomization:

Public Member Functions

virtual void CustomizeHeader (TSharedRef< IPropertyHandle > PropertyHandle, FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &CustomizationUtils) override
 Customizes the header of the Articy ID property in the details panel.
virtual void CustomizeChildren (TSharedRef< IPropertyHandle > PropertyHandle, IDetailChildrenBuilder &ChildBuilder, IPropertyTypeCustomizationUtils &CustomizationUtils) override
 Customizes the children of the Articy ID property in the details panel.

Static Public Member Functions

static TSharedRef< IPropertyTypeCustomization > MakeInstance ()
 Creates a shared instance of the FArticyIdCustomization.
static FArticyIdRetrieveArticyId (IPropertyHandle *ArticyIdHandle)
 Retrieves the Articy ID from the specified property handle.
static FArticyId GetIdFromValueString (FString SourceString)
 Parses the given string to extract the Articy ID.

Detailed Description

Customizes the display and behavior of Articy ID properties in the details panel.

This class provides customization for the Articy ID properties, including custom widgets and behavior for displaying and editing Articy IDs.

Member Function Documentation

◆ CustomizeChildren()

void FArticyIdCustomization::CustomizeChildren ( TSharedRef< IPropertyHandle > PropertyHandle,
IDetailChildrenBuilder & ChildBuilder,
IPropertyTypeCustomizationUtils & CustomizationUtils )
overridevirtual

Customizes the children of the Articy ID property in the details panel.

This function is currently not implemented and does not customize any children.

Parameters
PropertyHandleThe handle to the property being customized.
ChildBuilderThe builder for customizing child properties.
CustomizationUtilsUtilities for property type customization.

◆ CustomizeHeader()

void FArticyIdCustomization::CustomizeHeader ( TSharedRef< IPropertyHandle > PropertyHandle,
FDetailWidgetRow & HeaderRow,
IPropertyTypeCustomizationUtils & CustomizationUtils )
overridevirtual

Customizes the header of the Articy ID property in the details panel.

IPropertyTypeCustomization interface

This function sets up the custom widget for the Articy ID property.

Parameters
PropertyHandleThe handle to the property being customized.
HeaderRowThe row in the details panel to customize.
CustomizationUtilsUtilities for property type customization.

◆ GetIdFromValueString()

FArticyId FArticyIdCustomization::GetIdFromValueString ( FString SourceString)
static

Parses the given string to extract the Articy ID.

This function parses the source string to extract the low and high values of the Articy ID.

Parameters
SourceStringThe string to parse.
Returns
The parsed Articy ID.

◆ MakeInstance()

TSharedRef< IPropertyTypeCustomization > FArticyIdCustomization::MakeInstance ( )
static

Creates a shared instance of the FArticyIdCustomization.

Returns
A shared pointer to a new instance of FArticyIdCustomization.

◆ RetrieveArticyId()

FArticyId * FArticyIdCustomization::RetrieveArticyId ( IPropertyHandle * ArticyIdHandle)
static

Retrieves the Articy ID from the specified property handle.

Parameters
ArticyIdHandleThe handle to the Articy ID property.
Returns
A pointer to the retrieved Articy ID.

This function extracts the Articy ID from the property handle's data.

Parameters
ArticyIdHandleThe handle to the Articy ID property.
Returns
A pointer to the retrieved Articy ID.

The documentation for this class was generated from the following files:
  • Source/ArticyEditor/Public/Customizations/Details/ArticyIdCustomization.h
  • Source/ArticyEditor/Private/Customizations/Details/ArticyIdCustomization.cpp