FToolkitManager

Singleton that managers instances of editor toolkits

Unreal Engine C++ API Reference > Editor > EditorFramework > Toolkits

References

   
Module EditorFramework
Header /Engine/Source/Editor/EditorFramework/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

Type Name Description
void CloseToolkit ( const TSharedRef< IToolkit > Closin... ) Call this to close an existing toolkit
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
FToolkitMana... Get () Get the singleton instance of the asset editor manager
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
void RegisterNewToolkit ( const TSharedRef< IToolkit > NewToo... ) Call this to register a newly-created toolkit.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library