UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TypedElementDataStorageWidget.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
DataStorage/Handles.h
"
6
#include "
Widgets/SWidget.h
"
7
8
namespace
UE::Editor::DataStorage
9
{
10
class
ITedsWidget
11
{
12
public
:
13
virtual
~ITedsWidget
() =
default
;
14
15
virtual
RowHandle
GetRowHandle
()
const
= 0;
16
17
virtual
void
SetContent
(
const
TSharedRef< SWidget >
&
InContent
) = 0;
18
19
virtual
TSharedRef<SWidget>
AsWidget
() = 0;
20
};
21
}
22
23
// This is for backwards compatibility with the STedsWidget class in the global namespace that used to exist in this file but has been replaced
24
// by the ITedsWidget interface
25
using
STedsWidget
UE_DEPRECATED
(5.6,
"Use the new ITedsWidget interface directly instead"
) =
UE::Editor::DataStorage::ITedsWidget
;
UE_DEPRECATED
#define UE_DEPRECATED(Version, Message)
Definition
CoreMiscDefines.h:302
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
SWidget.h
Handles.h
TSharedRef< SWidget >
UE::Editor::DataStorage::ITedsWidget
Definition
TypedElementDataStorageWidget.h:11
UE::Editor::DataStorage::ITedsWidget::~ITedsWidget
virtual ~ITedsWidget()=default
UE::Editor::DataStorage::ITedsWidget::AsWidget
virtual TSharedRef< SWidget > AsWidget()=0
UE::Editor::DataStorage::ITedsWidget::SetContent
virtual void SetContent(const TSharedRef< SWidget > &InContent)=0
UE::Editor::DataStorage::ITedsWidget::GetRowHandle
virtual RowHandle GetRowHandle() const =0
UE::Editor::DataStorage
Definition
CommonTypes.cpp:10
UE::Editor::DataStorage::RowHandle
uint64 RowHandle
Definition
Handles.h:15
Engine
Source
Runtime
TypedElementFramework
Public
Elements
Framework
TypedElementDataStorageWidget.h
Generated by
1.9.8