Open 3D Engine ScriptCanvas Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ScriptCanvasEditor::UndoRequests Class Referenceabstract

Inherits AZ::EBusTraits.

Public Types

using BusIdType = ScriptCanvas::ScriptCanvasId
 

Public Member Functions

virtual UndoCacheGetSceneUndoCache ()=0
 
virtual UndoData CreateUndoData ()=0
 
virtual void BeginUndoBatch (AZStd::string_view label)=0
 
virtual void EndUndoBatch ()=0
 
virtual void AddUndo (AzToolsFramework::UndoSystem::URSequencePoint *seqPoint)=0
 
virtual void AddGraphItemChangeUndo (AZStd::string_view undoLabel)=0
 
virtual void AddGraphItemAdditionUndo (AZStd::string_view undoLabel)=0
 
virtual void AddGraphItemRemovalUndo (AZStd::string_view undoLabel)=0
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual void Reset ()=0
 
virtual bool IsIdle ()=0
 
virtual bool IsActive ()=0
 
virtual bool CanUndo () const =0
 
virtual bool CanRedo () const =0
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 

Member Function Documentation

◆ AddUndo()

virtual void ScriptCanvasEditor::UndoRequests::AddUndo ( AzToolsFramework::UndoSystem::URSequencePoint *  seqPoint)
pure virtual

Add a undo to stack. it could be added directly to stack or added to the current batch.

◆ BeginUndoBatch()

virtual void ScriptCanvasEditor::UndoRequests::BeginUndoBatch ( AZStd::string_view  label)
pure virtual

Start batch undo so we can add multiple undo to one undo step.

◆ EndUndoBatch()

virtual void ScriptCanvasEditor::UndoRequests::EndUndoBatch ( )
pure virtual

End current undo batch and save it to undo stack.


The documentation for this class was generated from the following file: