FDocumentTracker

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FDocumentTracker

References

Module

Kismet

Header

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

Include

#include "WorkflowOrientedApp/WorkflowTabManager.h"

Syntax

class FDocumentTracker : public TSharedFromThis< FDocumentTracker >

Constructors

Name Description

Public function

FDocumentTracker()

Destructors

Name Description

Public function

~FDocumentTracker()

Functions

Name Description

Public function

void

 

CleanInvalidTabs()

Cleans any invalid tabs, either moving them to a valid place in history or closing the tab altogether

Public function

void

 

ClearDocumentFactories()

Public function

void

 

CloseTab

(
    TSharedPtr< FTabPayload > Payload
)

Closes any tabs of the specified type that match the payload (or all of them if the payload is NULL)

Public function

void

 

FindAllTabsForFactory

(
    const TWeakPtr< FDocumentTabFactory...,
    TArray< TSharedPtr< SDockTab > >& ...
)

Finds all tabs that match the specified identifier, placing them in the specified array.

Public function

void

 

FindMatchingTabs

(
    TSharedPtr< FTabPayload > Payload,
    TArray< TSharedPtr< SDockTab > >& ...
)

Finds all tabs that match the specified identifier and optional payload, placing them in the specified array.

Public function Const

TSharedPtr< ...

 

FindSupportingFactory

(
    TSharedRef< FTabPayload > Payload
)

Finds a factory that can deal with the supplied payload.

Public function Const

TSharedPtr< ...

 

GetActiveTab()

Returns the current active tab

Public function Const

TArray< TSha...

 

GetAllDocumentTabs()

Get all the live documents tracked by this tracker

Public function

void

 

Initialize

(
    TSharedPtr< FAssetEditorToolkit > I...
)

Creates a new tab manager.

Public function

TSharedPtr< ...

 

OpenDocument

(
    TSharedPtr< FTabPayload > InPayload,
    EOpenDocumentCause InOpenCause
)

Handles opening a document and handling tab navigation or forcing a new tab to be opened

Public function Const

void

 

RefreshAllTabs()

Calls OnTabRefreshed for each open tab (on the factories that created them)

Public function

void

 

RegisterDocumentFactory

(
    TSharedPtr< class FDocumentTabFacto...
)

Public function

void

 

ReplacePayloadInTab

(
    TSharedPtr< SDockTab > TargetTab,
    TSharedPtr< FTabPayload > NewPayloa...
)

Replaces the open payload in the specified tab with a new one; recreating the contents.

Public function

void

 

SaveAllState()

Saves the state of all tabs.

Public function

void

 

SetTabManager

(
    const TSharedRef< FTabManager >& I...
)

Enums

Name

Description

Public enum

EOpenDocumentCause

Are we opening a new document, or restoring a previously opened document

Typedefs

Name

Description

FTabList

List of open tabs; used to bring one to front and focus it.

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