Navigation
API > API/Editor > API/Editor/EditorFramework > API/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 > ClosingToolkit |
Call this to close an existing toolkit | |
| TSharedPtr< IToolkit > | 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 | |
| FToolkitManager & | Get () |
Get the singleton instance of the asset editor manager | |
| void | OnToolkitHostDestroyed
(
IToolkitHost* HostBeingDestroyed |
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 > NewToolkit |
Call this to register a newly-created toolkit. |