Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/WorkflowOrientedApp
Inheritance Hierarchy
- TSharedFromThis
- FWorkflowTabFactory
- FDocumentTabFactory
- FDocumentTabFactoryForObjects
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/WorkflowOrientedApp/WorkflowTabFactory.h |
| Include | #include "WorkflowOrientedApp/WorkflowTabFactory.h" |
Syntax
class FWorkflowTabFactory : public TSharedFromThis< FWorkflowTabFactory >
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsSingleton | ||
| bool | bShouldAutosize | ||
| TWeakPtr< class FAssetEditorToolkit > | HostingApp | ||
| float | InsideTabPadding | ||
| FSlateIcon | TabIcon | ||
| FName | TabIdentifier | ||
| FText | TabLabel | ||
| ETabRole | TabRole | ||
| FText | ViewMenuDescription | ||
| FText | ViewMenuTooltip |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWorkflowTabFactory
(
FName InIdentifier, |
Constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanSpawnTab
(
const FSpawnTabArgs& SpawnArgs, |
Callback function for checking to see if a tab can/should be spawned | |
| TAttribute< FText > | ConstructTabLabelSuffix
(
const FWorkflowTabSpawnInfo& Info |
Creates the label suffix for the tab. | |
| TAttribute< FText > | ConstructTabName
(
const FWorkflowTabSpawnInfo& Info |
Creates the label for the tab. | |
| TSharedRef< SWidget > | CreateTabBody
(
const FWorkflowTabSpawnInfo& Info |
Creates the widget that will be the body of the new tab Users will most commonly override just this. | |
| TSharedPtr< SToolTip > | CreateTabToolTipWidget
(
const FWorkflowTabSpawnInfo& Info |
Create a tooltip widget for the tab. | |
| void | CreateViewMenuEntry
(
FMenuBuilder& MenuBuilder, |
Creates a view menu entry for this factory. | |
| void | Call this to enable the default padding surrounding the tab contents. | ||
| FName | Get the identifier of this factory. | ||
| const FSlateBrush * | GetTabIcon
(
const FWorkflowTabSpawnInfo& Info |
Virtual to create an icon for the tab. | |
| const FSlateIcon & | GetTabSpawnerIcon
(
const FWorkflowTabSpawnInfo& Info |
Virtual to create an icon for the menu entry. | |
| FText | GetTabToolTipText
(
const FWorkflowTabSpawnInfo& Info |
Virtual to get optional extra tooltip text for tab. | |
| bool | IsPayloadValid
(
TSharedRef< FTabPayload > Payload |
Returns TRUE if the payload is valid | |
| bool | IsSingleton () |
Are tabs produced by this factory limited to only having one open at a time? | |
| TSharedRef< SDockTab > | OnSpawnTab
(
const FSpawnTabArgs& SpawnArgs, |
Callback function for spawning the tab | |
| FTabSpawnerEntry & | RegisterTabSpawner
(
TSharedRef< FTabManager > TabManager, |
Register a tab spawner for this factory | |
| TSharedRef< SDockTab > | Creates a toolkit tab without any content, given the spawning information. | ||
| TSharedRef< SDockTab > | SpawnTab
(
const FWorkflowTabSpawnInfo& Info |
Creates a toolkit tab given the spawning information. | |
| void | UpdateTab
(
TSharedPtr< SDockTab > InDockTab, |
Updates a given tab with new content |