Navigation
API > API/Plugins > API/Plugins/TedsOperations
Utility type for widgets that accepts drag&drop-events and preview creation on drag-over using teds operations.
| Name | FPreviewWidgetDropHandler |
| Type | class |
| Header File | /Engine/Plugins/Experimental/EditorDataStorageFeatures/Source/TedsOperations/Public/DragAndDrop/Widgets/PreviewWidgetDropHandler.h |
| Include Path | #include "DragAndDrop/Widgets/PreviewWidgetDropHandler.h" |
Syntax
class FPreviewWidgetDropHandler : public UE::Editor::FWidgetDropHandler
Inheritance Hierarchy
- FWidgetDropHandler → FPreviewWidgetDropHandler
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPreviewWidgetDropHandler
(
TWeakObjectPtr< UTypedElementSelectionSet > SelectionSet |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPreviewWidgetDropHandler() |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasPreviews() |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h |
Public Virtual
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetPreviewRows
(
DataStorage::FRowHandleArray& OutRows, |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreatePreviews
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h | ||
virtual int32 ExecutePreviewDrop
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h | ||
virtual bool ExecutePreviewDropSingle
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h | ||
virtual void RemovePreviews
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h | ||
virtual void UpdatePreviews
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/PreviewWidgetDropHandler.h |
Overridden from FWidgetDropHandler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Drop
(
DataStorage::ICoreProvider& Storage, |
Stops and executes the drop for the current drag-operation. | DragAndDrop/Widgets/PreviewWidgetDropHandler.h | |
virtual FDropResult ResetOperations
(
DataStorage::ICoreProvider& Storage, |
Finds suitable operations for the given input rows and sets 'bIsValidDrop'. | DragAndDrop/Widgets/PreviewWidgetDropHandler.h | |
virtual void Stop
(
DataStorage::ICoreProvider& Storage, |
Stops the current drag-operation. | DragAndDrop/Widgets/PreviewWidgetDropHandler.h | |
virtual TOptional< FDropResult > Update
(
DataStorage::ICoreProvider& Storage, |
Updates the current drag-operation internally. | DragAndDrop/Widgets/PreviewWidgetDropHandler.h |