Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FDocumentTracker
Are we opening a new document, or restoring a previously opened document
| Name | EOpenDocumentCause |
| Type | enum |
| Header File | /Engine/Source/Editor/UnrealEd/Public/WorkflowOrientedApp/WorkflowTabManager.h |
| Include Path | #include "WorkflowOrientedApp/WorkflowTabManager.h" |
Syntax
enum EOpenDocumentCause
{
OpenNewDocument,
ForceOpenNewDocument,
RestorePreviousDocument,
NavigatingCurrentDocument,
QuickNavigateCurrentDocument,
NavigateBackwards,
NavigateForwards,
NavigatingHistory,
SpawnManagedDocument,
CreateHistoryEvent,
}
Values
| Name | Remarks |
|---|---|
| OpenNewDocument | Opens a new document, will open in existing tab if one is found. |
| ForceOpenNewDocument | Always open in a new tab. |
| RestorePreviousDocument | Restoring tab state from a previous session. |
| NavigatingCurrentDocument | Navigating within an open tab. |
| QuickNavigateCurrentDocument | Navigate without saving current document position. |
| NavigateBackwards | Key/Mouse binding for back, turns into NavigatingHistory. |
| NavigateForwards | Key/Mouse binding for forward. |
| NavigatingHistory | Going forward or back in the history. |
| SpawnManagedDocument | Same as OpenNewDocument, but does not create a "Document" tab. |
| CreateHistoryEvent | Deprecated, treated the same as OpenNewDocument. |