FEditorUndoClient

Interface for tools wanting to handle undo/redo operations

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorUndoClient.h

Include

#include "EditorUndoClient.h"

Syntax

class FEditorUndoClient

Remarks

Interface for tools wanting to handle undo/redo operations

Destructors

Name Description

Public function Virtual

~FEditorUndoClient()

Always unregister for undo on destruction, just in case.

Functions

Name Description

Public function Virtual Const

FString

 

GetTransactionContext()

Return the transaction context for this client

Public function Virtual Const

bool

 

MatchesContext

(
    const FTransactionContext& InConte...,
    const TArray< TPair< UObject*,...
)

Called to see if the context of the current undo/redo operation is a match for the client Default state matching old context-less undo is Context="" and PrimaryObject=NULL

Public function Virtual

void

 

PostRedo

(
    bool bSuccess
)

Signal that client should run any PostRedo code

Public function Virtual

void

 

PostUndo

(
    bool bSuccess
)

Signal that client should run any PostUndo code

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback