FHistoryManager

The class responsible for managing all content browser history

Unreal Engine C++ API Reference > 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
  FHistoryManager () Constructor

Functions

Type Name Description
void AddHistoryData () 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, FMenuBuilder& MenuBuilder ) 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 GetForwardDesc () 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& InOnApp... ) Set the delegate for applying history data
void SetOnUpdateHistoryData ( const FOnUpdateHistoryData& InOnUp... ) Set the delegate for updating history data
void UpdateHistoryData () Triggers an update for the current history data.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library