Navigation
API > API/Plugins > API/Plugins/WorkspaceEditor
Arguments used to make document widgets for objects.
| Name | FObjectDocumentArgs |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Workspace/Source/WorkspaceEditor/Public/IWorkspaceEditorModule.h |
| Include Path | #include "IWorkspaceEditorModule.h" |
Syntax
struct FObjectDocumentArgs
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IWorkspaceEditorModule.h | |||
FObjectDocumentArgs
(
const FOnRedirectWorkspaceContext& InOnRedirectWorkspaceContext |
IWorkspaceEditorModule.h | ||
FObjectDocumentArgs
(
const FOnMakeDocumentWidget& InOnMakeDocumentWidget, |
IWorkspaceEditorModule.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DocumentEditorMode | FEditorModeID | EditorMode ID to be associated with this asset, will be used to try and activate matching editor mode when this asset is focused. | IWorkspaceEditorModule.h | |
| OnGetDocumentBreadcrumbTrail | FOnGetDocumentBreadcrumbTrail | Delegate called to get the bread crumb trail for this document tab. | IWorkspaceEditorModule.h | |
| OnGetDocumentState | FOnGetDocumentState | Delegate called to build a struct used to store the document's state. | IWorkspaceEditorModule.h | |
| OnGetTabIcon | FOnGetTabIcon | Delegate called to get the tab icon to display. If this is unset, the icon will default to the asset icon for the class. | IWorkspaceEditorModule.h | |
| OnGetTabName | FOnGetTabName | Delegate called to get the tab name to display. If this is unset, the object's name will be used. | IWorkspaceEditorModule.h | |
| OnMakeDocumentWidget | FOnMakeDocumentWidget | Delegate called to generate a widget for the supplied object. | IWorkspaceEditorModule.h | |
| OnRedirectWorkspaceContext | FOnRedirectWorkspaceContext | Delegate called to redirect the context to another document object (e.g. a subobject) | IWorkspaceEditorModule.h | |
| OnSetDocumentState | FOnSetDocumentState | Delegate called to use a struct to restore the document's state. | IWorkspaceEditorModule.h | |
| SpawnLocation | FName | Where to spawn the widget in the workspace layout - e.g. one of WorkspaceTabs. | IWorkspaceEditorModule.h |