Inherits AzToolsFramework::UndoSystem::URSequencePoint.
|
| AZ_RTTI (PrefabUndoRevertOverrides, "{E244A5F1-22F9-480F-9A75-AEBEFE33EF98}", UndoSystem::URSequencePoint) |
|
| AZ_CLASS_ALLOCATOR (PrefabUndoRevertOverrides, AZ::SystemAllocator) |
|
| PrefabUndoRevertOverrides (const AZStd::string &undoOperationName) |
|
bool | Changed () const override |
|
void | Undo () override |
|
void | Redo () override |
|
void | Capture (const AZ::Dom::Path &pathToSubTree, PrefabOverridePrefixTree &&m_overrideSubTree, LinkId linkId) |
|
| URSequencePoint (const AZStd::string &friendlyName, URCommandID id=0) |
|
| URSequencePoint (URCommandID id) |
|
virtual | ~URSequencePoint () |
|
void | RunUndo () |
|
void | RunRedo () |
|
virtual void | Undo () |
|
virtual void | Redo () |
|
virtual bool | Changed () const =0 |
|
URSequencePoint * | Find (URCommandID id, const AZ::Uuid &typeOfCommand) |
|
void | SetName (const AZStd::string &friendlyName) |
|
AZStd::string & | GetName () |
|
void | SetParent (URSequencePoint *parent) |
|
URSequencePoint * | GetParent () const |
|
const ChildVec & | GetChildren () const |
|
bool | HasRealChildren () const |
|
void | ApplyToTree (const ApplyOperationCB &applyCB) |
|
bool | IsPosted () const |
|
bool | operator== (const URCommandID id) const |
|
bool | operator== (const URSequencePoint *com) const |
|
◆ Changed()
bool AzToolsFramework::Prefab::PrefabUndoRevertOverrides::Changed |
( |
| ) |
const |
|
overridevirtual |
Usage: override with class specific change comparison between undo/redo state. This allows the undo system to remove commands that have no actual effect (Eg: a command that changes a value from 5 to 5 has no effect and can be removed)
Implements AzToolsFramework::UndoSystem::URSequencePoint.
◆ Redo()
void AzToolsFramework::Prefab::PrefabUndoRevertOverrides::Redo |
( |
| ) |
|
|
overridevirtual |
◆ Undo()
void AzToolsFramework::Prefab::PrefabUndoRevertOverrides::Undo |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/Undo/PrefabUndoRevertOverrides.h