Navigation
API > API/Editor > API/Editor/ContentBrowser
References
| Module | ContentBrowser |
| Header | /Engine/Source/Editor/ContentBrowser/Public/HistoryManager.h |
| Include | #include "HistoryManager.h" |
Syntax
class FHistoryManager
Remarks
The class responsible for managing all content browser history
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Stores new history data. Called when creating a history snapshot | ||
| bool | CanGoBack () |
Determines if a user can go back in history | |
| bool | CanGoForward () |
Determines if a user can go forward in history | |
| void | GetAvailableHistoryMenuItems
(
bool bGetPrior, |
Populates a list of menu items that can be added to a context menu to allow a user to jump to different history snapshots instead of using the back and forward buttons | |
| FText | GetBackDesc () |
Gets the description of the previous history entry | |
| FText | Gets the description of the next history entry | ||
| bool | GoBack () |
Goes back one history snapshot and returns the history data at that snapshot | |
| bool | GoForward () |
Goes forward one history snapshot and returns the history data at that snapshot | |
| void | RemoveHistoryData
(
const PREDICATE_CLASS& Predicate |
Removes all history data as determined by the passed in predicate | |
| void | SetOnApplyHistoryData
(
const FOnApplyHistoryData& InOnApplyHistoryData |
Set the delegate for applying history data | |
| void | SetOnUpdateHistoryData
(
const FOnUpdateHistoryData& InOnUpdateHistoryData |
Set the delegate for updating history data | |
| void | Triggers an update for the current history data. |