Navigation
API > API/Plugins > API/Plugins/TedsOperations
Utility type for widgets that accepts drag&drop-events using teds operations.
| Name | FWidgetDropHandler |
| Type | class |
| Header File | /Engine/Plugins/Experimental/EditorDataStorageFeatures/Source/TedsOperations/Public/DragAndDrop/Widgets/WidgetDropHandler.h |
| Include Path | #include "DragAndDrop/Widgets/WidgetDropHandler.h" |
Syntax
class FWidgetDropHandler
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWidgetDropHandler
(
TWeakObjectPtr< UTypedElementSelectionSet > SelectionSet |
DragAndDrop/Widgets/WidgetDropHandler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FWidgetDropHandler() |
DragAndDrop/Widgets/WidgetDropHandler.h |
Structs
| Name | Remarks |
|---|---|
| FDropResult |
Enums
Protected
| Name | Remarks |
|---|---|
| EUpdateParameters |
Functions
Public
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDragDropOperation * GetCurrentOperation() |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual bool OnDragEnter
(
const FGeometry& Geometry, |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual bool OnDragLeave
(
const FDragDropEvent& InputEvent |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual FReply OnDragOver
(
const FGeometry& Geometry, |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual FReply OnDrop
(
const FGeometry& Geometry, |
DragAndDrop/Widgets/WidgetDropHandler.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Drop
(
DataStorage::ICoreProvider& Storage, |
Stops and executes the drop for the current drag-operation. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual int32 ExecuteDrop
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual bool ExecuteDropSingle
(
DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual bool PrepareInput
(
DataStorage::ICoreProvider& Storage, |
Creates input rows for the given drag&drop input event. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual bool PrepareInput
(
DataStorage::ICoreProvider& Storage, |
Creates input rows for the given drag&drop input event. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual FDropResult ResetOperations
(
DataStorage::ICoreProvider& Storage, |
Finds suitable operations for the given input rows and sets 'bIsValidDrop'. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual void SetRowsFromParameters
(
DataStorage::ICoreProvider& Storage, |
Method to assign cached parameters to the given rows. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual TOptional< FDropResult > Start
(
DataStorage::ICoreProvider& Storage, |
Starts a drag-operation internally. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual void Stop
(
DataStorage::ICoreProvider& Storage, |
Stops the current drag-operation. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual TOptional< FDropResult > Update
(
DataStorage::ICoreProvider& Storage, |
Updates the current drag-operation internally. | DragAndDrop/Widgets/WidgetDropHandler.h | |
virtual void UpdateOperationDecorator
(
FDragDropOperation& Operation, |
DragAndDrop/Widgets/WidgetDropHandler.h | ||
virtual EUpdateParameters UpdateParameters
(
DataStorage::ICoreProvider& Storage, |
Method to update cached parameters for the given input data. | DragAndDrop/Widgets/WidgetDropHandler.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ShowErrorNotifications
(
const DataStorage::ICoreProvider& Storage, |
DragAndDrop/Widgets/WidgetDropHandler.h |