Navigation
API > API/Editor > API/Editor/DataHierarchyEditor
| Name | FHierarchySectionViewModel |
| Type | struct |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
Syntax
struct FHierarchySectionViewModel : public FHierarchyElementViewModel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FHierarchyElementViewModel → FHierarchySectionViewModel
- FTickableObjectBase → FTickableEditorObject → FHierarchyElementViewModel → FHierarchySectionViewModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHierarchySectionViewModel
(
UHierarchySection* InItem, |
DataHierarchyViewModelBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FHierarchySectionViewModel() |
DataHierarchyViewModelBase.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDropDisallowed | bool | DataHierarchyViewModelBase.h | ||
| SectionImage | const FSlateBrush * | DataHierarchyViewModelBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSlateBrush * GetSectionImage() |
DataHierarchyViewModelBase.h | ||
FName GetSectionName() |
DataHierarchyViewModelBase.h | ||
FText GetSectionNameAsText() |
DataHierarchyViewModelBase.h | ||
FText GetSectionTooltip() |
DataHierarchyViewModelBase.h | ||
void SetDropDisallowed
(
bool bInDropDisallowed |
DataHierarchyViewModelBase.h | ||
void SetSectionImage
(
const FSlateBrush* InSectionImage |
DataHierarchyViewModelBase.h | ||
void SetSectionName
(
FName InSectionName |
DataHierarchyViewModelBase.h | ||
void SetSectionNameAsText
(
const FText& Text |
DataHierarchyViewModelBase.h |
Overridden from FHierarchyElementViewModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString ToString() |
DataHierarchyViewModelBase.h |
Protected
Overridden from FHierarchyElementViewModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDeleteInternal () |
Should return true if deletable. | DataHierarchyViewModelBase.h | |
virtual FCanPerformActionResults CanDragInternal () |
Should return true if draggable. | DataHierarchyViewModelBase.h | |
virtual FCanPerformActionResults CanDropOnInternal
(
TSharedPtr< FHierarchyElementViewModel >, |
Should return true if the given drag drop operation is allowed to succeed. | DataHierarchyViewModelBase.h | |
virtual bool CanHaveChildren() |
Needs to be true in order to allow drag & drop operations to parent items to this item | DataHierarchyViewModelBase.h | |
virtual bool CanRenameInternal() |
We can only rename hierarchy sections | DataHierarchyViewModelBase.h | |
virtual void FinalizeInternal () |
Optionally implement this to handle shutdown logic. | DataHierarchyViewModelBase.h | |
virtual FCanPerformActionResults IsEditableByUser() |
Only hierarchy sections are editable | DataHierarchyViewModelBase.h | |
virtual void OnDroppedOnInternal
(
TSharedPtr< FHierarchyElementViewModel >, |
Override this to handle drop-on logic. | DataHierarchyViewModelBase.h | |
virtual void RenameInternal
(
FName NewName |
DataHierarchyViewModelBase.h |