Navigation
API > API/Editor > API/Editor/DataHierarchyEditor
Inherit from this to allow UI customization for your drag & drop operation by overriding CreateCustomDecorator.
| Name | FHierarchyDragDropOp |
| Type | class |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
Syntax
class FHierarchyDragDropOp : public FDragDropOperation
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FHierarchyDragDropOp
Derived Classes
- FNiagaraHierarchyInputParameterHierarchyDragDropOp
- FNiagaraHierarchyScriptParameterDragDropOp
- FNiagaraUserParameterHierarchyDragDropOp
- FSectionDragDropOp
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHierarchyDragDropOp
(
TSharedPtr< FHierarchyElementViewModel > InDraggedElementViewModel |
DataHierarchyViewModelBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > CreateCustomDecorator () |
Override this custom decorator function to provide custom widget visuals. | DataHierarchyViewModelBase.h | |
FText GetDescription() |
DataHierarchyViewModelBase.h | ||
TWeakPtr< FHierarchyElementViewModel > GetDraggedElement() |
DataHierarchyViewModelBase.h | ||
bool GetIsFromSourceList() |
DataHierarchyViewModelBase.h | ||
FText GetLabel() |
DataHierarchyViewModelBase.h | ||
void SetDescription
(
FText InText |
DataHierarchyViewModelBase.h | ||
void SetFromSourceList
(
bool bInFromSourceList |
DataHierarchyViewModelBase.h | ||
void SetLabel
(
FText InText |
DataHierarchyViewModelBase.h |
Overridden from FDragDropOperation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Construct() |
DataHierarchyViewModelBase.h | ||
virtual TSharedPtr< SWidget > GetDefaultDecorator() |
DataHierarchyViewModelBase.h | ||
virtual bool IsOfTypeImpl
(
const FString& Type |
DataHierarchyViewModelBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
DataHierarchyViewModelBase.h |