FWorkflowTabFactory

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Kismet

Header

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

Include

#include "WorkflowOrientedApp/WorkflowTabFactory.h"

Syntax

class FWorkflowTabFactory : public TSharedFromThis< FWorkflowTabFactory >

Variables

Name Description

Protected variable

bool

 

bIsSingleton

Protected variable

bool

 

bShouldAutosize

Protected variable

TWeakPtr< class...

 

HostingApp

Protected variable

float

 

InsideTabPadding

Protected variable

FSlateIcon

 

TabIcon

Protected variable

FName

 

TabIdentifier

Protected variable

FText

 

TabLabel

Protected variable

ETabRole

 

TabRole

Protected variable

FText

 

ViewMenuDescription

Protected variable

FText

 

ViewMenuTooltip

Constructors

Name Description

Public function

FWorkflowTabFactory

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

Constructor.

Destructors

Name Description

Public function Virtual

~FWorkflowTabFactory()

Functions

Name Description

Protected function Const

bool

 

CanSpawnTab

(
    const FSpawnTabArgs& SpawnArgs,
    TWeakPtr< FTabManager > WeakTabMana...
)

Callback function for checking to see if a tab can/should be spawned

Public 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

TSharedPtr< ...

 

CreateTabToolTipWidget

(
    const FWorkflowTabSpawnInfo& Info
)

Create a tooltip widget for the tab.

Public function Virtual Const

void

 

CreateViewMenuEntry

(
    FMenuBuilder& MenuBuilder,
    const FUIAction& Action
)

Creates a view menu entry for this factory.

Protected function

void

 

EnableTabPadding()

Call this to enable the default padding surrounding the tab contents.

Public function Const

FName

 

GetIdentifier()

Get the identifier of this factory.

Public function Virtual Const

const FSlate...

 

GetTabIcon

(
    const FWorkflowTabSpawnInfo& Info
)

Virtual to create an icon for the tab.

Public function Virtual Const

const FSlate...

 

GetTabSpawnerIcon

(
    const FWorkflowTabSpawnInfo& Info
)

Virtual to create an icon for the menu entry.

Public function Virtual Const

FText

 

GetTabToolTipText

(
    const FWorkflowTabSpawnInfo& Info
)

Virtual to get optional extra tooltip text for tab.

Public function Virtual Const

bool

 

IsPayloadValid

(
    TSharedRef< FTabPayload > Payload
)

Returns TRUE if the payload is valid

Public function Const

bool

 

IsSingleton()

Are tabs produced by this factory limited to only having one open at a time?

Protected function Const

TSharedRef< ...

 

OnSpawnTab

(
    const FSpawnTabArgs& SpawnArgs,
    TWeakPtr< FTabManager > WeakTabMana...
)

Callback function for spawning the tab

Public function Virtual Const

FTabSpawnerE...

 

RegisterTabSpawner

(
    TSharedRef< FTabManager > TabManage...,
    const FApplicationMode* Curren...
)

Register a tab spawner for this factory

Public function Virtual Const

TSharedRef< ...

 

SpawnBlankTab()

Creates a toolkit tab without any content, given the spawning information.

Public function Virtual Const

TSharedRef< ...

 

SpawnTab

(
    const FWorkflowTabSpawnInfo& Info
)

Creates a toolkit tab given the spawning information.

Public function Virtual Const

void

 

UpdateTab

(
    TSharedPtr< SDockTab > InDockTab,
    const FWorkflowTabSpawnInfo& Info,
    TSharedPtr< SWidget > InContent
)

Updates a given tab with new content

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