FDocumentTabFactoryForObjects

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Kismet

Header

/Engine/Source/Editor/Kismet/Public/WorkflowOrientedApp/WorkflowUObjectDocuments.h

Include

#include "WorkflowOrientedApp/WorkflowUObjectDocuments.h"

Syntax

template<typename BaseClass>
struct FDocumentTabFactoryForObjects : public FDocumentTabFactory

Constructors

Name Description

Protected function

FDocumentTabFactoryForObjects

(
    FName InIdentifier,
    TSharedPtr< class FAssetEditorToolk...
)

Protected constructor.

Functions

Name Description

Protected function Const

TAttribute< ...

 

ConstructTabNameForObject

(
    BaseClass* DocumentID
)

Methods to override in subclasses that make life easier for UObject-based documents.

Protected function Const

TSharedRef< ...

 

CreateTabBodyForObject

(
    const FWorkflowTabSpawnInfo& Info,
    BaseClass* DocumentID
)

Protected function Const

const FSlate...

 

GetTabIconForObject

(
    const FWorkflowTabSpawnInfo& Info,
    BaseClass* DocumentID
)

Public function Virtual Const

bool

 

SupportsObjectType

(
    UObject* DocumentID
)

Does this factory support this type of objects?

Overridden from FDocumentTabFactory

Name Description

Public function Virtual Const

bool

 

IsPayloadSupported

(
    TSharedRef< FTabPayload > Payload
)

Does this tab support the specified payload.

Overridden from FWorkflowTabFactory

Name Description

Protected function Virtual Const

TAttribute< ...

 

ConstructTabName

(
    const FWorkflowTabSpawnInfo& Info
)

Creates the label for the tab.

Public function Virtual Const

TSharedRef< ...

 

CreateTabBody

(
    const FWorkflowTabSpawnInfo& Info
)

Creates the widget that will be the body of the new tab Users will most commonly override just this.

Public function Virtual Const

const FSlate...

 

GetTabIcon

(
    const FWorkflowTabSpawnInfo& Info
)

Virtual to create an icon for the tab.

Public function Virtual Const

bool

 

IsPayloadValid

(
    TSharedRef< FTabPayload > Payload
)

Returns TRUE if the payload is valid

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss