FToolkitManager

Singleton that managers instances of editor toolkits

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Toolkits/ToolkitManager.h

Include

#include "Toolkits/ToolkitManager.h"

Syntax

class FToolkitManager

Remarks

Singleton that managers instances of editor toolkits

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function

void

 

CloseToolkit

(
    const TSharedRef< class IToolkit > ...
)

Call this to close an existing toolkit

Public function

TSharedPtr< ...

 

FindEditorForAsset

(
    const UObject* Asset
)

Tries to find an open asset editor that's editing the specified asset, and returns the toolkit for that asset editor

Public function Static

FToolkitMana...

 

Get()

Get the singleton instance of the asset editor manager

Public function

void

 

OnToolkitHostDestroyed

(
    IToolkitHost* HostBeingDestroy...
)

Called by a toolkit host itself right before it goes away, so that we can make sure the toolkits are destroyed too

Public function

void

 

RegisterNewToolkit

(
    const TSharedRef< class IToolkit > ...
)

Call this to register a newly-created toolkit.

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