Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Users of the Tools Framework need to implement IToolsContextTransactionsAPI so that the Tools have the ability to create Transactions and emit Changes. Note that this is technically optional, but that undo/redo won't be supported without it.
| Name | IToolsContextTransactionsAPI |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
| Include Path | #include "ToolContextInterfaces.h" |
Syntax
class IToolsContextTransactionsAPI
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IToolsContextTransactionsAPI() |
ToolContextInterfaces.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendChange
(
UObject* TargetObject, |
Insert an FChange into the transaction history in the current Context. | ToolContextInterfaces.h | |
void BeginUndoTransaction
(
const FText& Description |
Begin a Transaction, whatever this means in the current Context. | ToolContextInterfaces.h | |
void DisplayMessage
(
const FText& Message, |
Request that context display message information. | ToolContextInterfaces.h | |
void EndUndoTransaction() |
Complete the Transaction. Assumption is that Begin/End are called in pairs. | ToolContextInterfaces.h | |
void PostInvalidation () |
Forward an invalidation request from Tools framework, to cause repaint/etc. | ToolContextInterfaces.h | |
bool RequestSelectionChange
(
const FSelectedObjectsChangeList& SelectionChange |
Request a modification to the current selected objects | ToolContextInterfaces.h |