Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Toolkits/AssetEditorToolkit.h |
Include |
#include "Toolkits/AssetEditorToolkit.h" |
class FAssetEditorToolkit :
public IAssetEditorInstance,
public FBaseToolkit,
public TSharedFromThis< FAssetEditorToolkit >
Base class for toolkits that are used for asset editing (abstract)
Name | Description | ||
---|---|---|---|
|
TSharedPtr< FWo... |
AssetEditorTabsCategory |
The base category that tabs are registered to, allows for child classes to register to the same point. |
|
bool |
bCheckDirtyOnAssetSave |
Whether only dirty assets should be prompted about on save - otherwise all edited assets will be prompted to the user for save/check-out |
|
TSharedPtr< FEd... |
EditorModeManager |
The editor mode manager |
|
LayoutExtenders |
Array of layout extenders |
|
|
PreviousWorldCentricToolkitHost |
For standalone asset editing tool-kits that were switched from world-centric mode on the fly, this stores the toolkit host (level editor) that hosted this toolkit last. |
|
|
TSharedPtr< FTa... |
TabManager |
Controls our internal layout |
Name | Description | |
---|---|---|
|
FAssetEditorToolkit() |
Default constructor |
|
FAssetEditorToolkit ( |
Name | Description | |
---|---|---|
|
~FAssetEditorToolkit() |
Virtual destructor, so that we can clean up our app when destroyed |
Name | Description | ||
---|---|---|---|
|
void |
AddEditingObject ( |
Adds an item to the Editing Objects list |
|
void |
AddGraphEditorPinActionsToContextMenu ( |
|
|
void |
AddMenuExtender ( |
Adds or removes extenders to the default menu or the toolbar menu this asset editor |
|
void |
AddToolbarExtender ( |
|
|
void |
AddToolbarWidget ( |
Adds or removes widgets from the default toolbar in this asset editor |
|
void |
AddViewportOverlayWidget ( |
Called when a toolkit requests an overlay widget to be added to the viewport. |
|
void |
BrowseDocumentation_Execute() |
Called when "Browse Documentation" is clicked for this asset |
|
bool |
CanFindInContentBrowser() |
Called to test if "Find in Content Browser" should be enabled for this asset |
|
bool |
CanReimport ( |
Called to check to see if there's an asset capable of being reimported |
|
bool |
CanReimport() |
Called to check to see if there's an asset capable of being reimported |
|
bool |
CanSaveAsset() |
Called to test if "Save" should be enabled for this asset |
|
bool |
CanSaveAssetAs() |
Called to test if "Save As" should be enabled for this asset |
|
void |
FillDefaultAssetMenuCommands ( |
Fills in the supplied menu with commands for modifying this asset that are generally common to most asset editors |
|
void |
FillDefaultFileMenuCommands ( |
Fills in the supplied menu with commands for working with this asset file |
|
void |
FillDefaultHelpMenuCommands ( |
Fills in the supplied menu with commands for the help menu |
|
void |
FindInContentBrowser_Execute() |
Called when "Find in Content Browser" is clicked for this asset |
|
UToolMenu &#... |
GenerateCommonActionsToolbar ( |
Generate the toolbar for common asset actions like Save |
|
void |
GenerateToolbar() |
Makes a default asset editing toolbar |
|
GetDefaultTabColor() |
||
|
const FSlate... |
GetDefaultTabIcon() |
|
|
GetDocumentationLink() |
||
|
UObject *... |
GetEditingObject() |
Returns the single object currently being edited. |
|
const TArray... |
GetEditingObjects() |
Returns an array of all the objects currently being edited. Asserts if editing no objects |
|
GetLabelForObject ( |
Gets the text to display in a toolkit titlebar for an object |
|
|
TSharedPtr< ... |
GetPreviousWorldCentricToolkitHost() |
|
|
void |
GetSaveableObjects |
Get the collection of edited objects that can be saved. |
|
TSharedPtr< ... |
GetSharedMenuExtensibilityManager() |
Returns the default extensibility managers, these are applied for all asset types |
|
TSharedPtr< ... |
GetSharedToolBarExtensibilityManager() |
|
|
TSharedPtr< ... |
GetTabManager() |
|
|
GetToolMenuAppName() |
||
|
GetToolMenuName() |
||
|
GetToolMenuToolbarName ( |
Get name used by tool menu |
|
|
GetToolMenuToolbarName() |
||
|
GetToolTipTextForObject ( |
Gets the text to display in a toolkit tooltip for an object |
|
|
bool |
HasEditingObject() |
Returns true if this toolkit has any objects being edited |
|
void |
InitAssetEditor ( |
Initializes this asset editor. |
|
void |
InitAssetEditor ( |
Initializes this asset editor. |
|
void |
InitToolMenuContext ( |
|
|
void |
InvokeTab ( |
|
|
bool |
IsActuallyAnAsset() |
True if this actually is editing an asset |
|
void |
OnClose() |
Called when this toolkit is being closed |
|
bool |
OnRequestClose() |
Called when this toolkit is requested to close. Returns false if closing should be prevented. |
|
void |
OnToolkitHostingFinished ( |
Called when another toolkit (such as a ed mode toolkit) is no longer being hosted in this asset editor toolkit. |
|
void |
OnToolkitHostingStarted ( |
Called when another toolkit (such as a ed mode toolkit) is being hosted in this asset editor toolkit. |
|
void |
PostInitAssetEditor() |
Perform any initialization that should happen after the basic toolkit needs are created for the asset editor. |
|
void |
PostRegenerateMenusAndToolbars() |
Called at the end of RegenerateMenusAndToolbars() |
|
void |
RegenerateMenusAndToolbars() |
Regenerates the menubar and toolbar widgets |
|
void |
RegisterDefaultToolBar() |
Registers default tool bar |
|
void |
RegisterDrawer ( |
Registers a drawer for the asset editor status bar |
|
void |
Reimport_Execute() |
Called when "Reimport" is clicked for this asset |
|
void |
Reimport_Execute ( |
Called when "Reimport" is clicked for this asset |
|
void |
RemoveAllToolbarWidgets() |
|
|
void |
RemoveEditingObject ( |
Removes an item from the Editing Objects list |
|
void |
RemoveMenuExtender ( |
|
|
void |
RemoveToolbarExtender ( |
|
|
void |
RemoveViewportOverlayWidget ( |
Called when a toolkit requests the overlay widget to be removed. |
|
void |
RestoreFromLayout ( |
Applies the passed in layout (or the saved user-modified version if available). |
|
void |
SaveAsset_Execute() |
Called when "Save" is clicked for this asset |
|
void |
SaveAssetAs_Execute() |
Called when "Save As" is clicked for this asset |
|
void |
SetMenuOverlay ( |
Allows the caller to set a menu overlay, displayed to the far right of the editor's menu bar |
|
void |
SetPreviousWorldCentricToolkitHostForNewAssetEditor ( |
Static: Used internally to set the world-centric toolkit host for a newly-created standalone asset editing toolkit |
|
bool |
ShouldPromptForNewFilesOnReload ( |
Called to determine if the user should be prompted for a new file if one is missing during an asset reload |
|
void |
SwitchToStandaloneEditor_Execute ( |
Static: Called when "Switch to Standalone Editor" is clicked for the asset editor |
|
void |
SwitchToWorldCentricEditor_Execute ( |
Static: Called when "Switch to World-Centric Editor" is clicked for the asset editor |
Name | Description | ||
---|---|---|---|
|
bool |
CloseWindow() |
|
|
void |
FocusWindow ( |
|
|
TSharedPtr< ... |
GetAssociatedTabManager() |
|
|
GetEditorName() |
IAssetEditorInstance interface |
|
|
double |
GetLastActivationTime() |
|
|
bool |
IsPrimaryEditor() |
|
|
void |
RemoveEditingAsset ( |
Name | Description | ||
---|---|---|---|
|
void |
CreateEditorModeManager() |
Creates the Editor mode manager for your class. Default is to create none, for legacy reasons. |
Name | Description | ||
---|---|---|---|
|
GetBaseToolkitName() |
Returns the localized name of this toolkit type (typically just " |
|
|
FEditorModeT... |
GetEditorModeManager() |
Gets the mode manager for this toolkit |
|
const TArray... |
GetObjectsCurrentlyBeingEdited() |
For asset editor toolkits, returns the UObjects for the assets currently being edited |
|
GetTabSuffix() |
Returns the localized tab suffix |
|
|
GetToolkitFName() |
Returns the invariant name of this toolkit type |
|
|
GetToolkitName() |
Returns the localized name of this toolkit |
|
|
GetToolkitToolTipText() |
Returns the localized tooltip text of this toolkit |
|
|
GetWorldCentricTabPrefix() |
Returns the localize prefix string to use for tab labels in world-centric mode. |
|
|
bool |
IsAssetEditor() |
Returns true if this toolkit is used to edit assets (even if it's not necessarily editing one right now.) |
|
void |
RegisterTabSpawners ( |
IToolkit interface |
|
void |
UnregisterTabSpawners ( |
Unregister tabs that this toolkit can spawn |
Name | Description | ||
---|---|---|---|
|
FAssetEditor... |
operator= ( |
Name |
Description |
---|---|
DefaultAssetEditorToolBarName |
|
PreviousWorldCentricToolkitHostForNewAssetEditor |
Static: World centric toolkit host to use for the next created asset editing toolkit |
SharedMenuExtensibilityManager |
The extensibility managers shared by all asset types |
SharedToolBarExtensibilityManager |
Name | Description | ||
---|---|---|---|
|
AssetEditorModeManager |
Use EditorModeManager instead. |
Name | Description | ||
---|---|---|---|
|
FAssetEditor... |
GetAssetEditorModeManager() |
Use GetEditorModeManager instead. |
|
void |
SetAssetEditorModeManager ( |
Override CreateEditorModeManager on the toolkit class instead. |