![]() |
ufe
3.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Replace the argument selection. More...
#include <selectionUndoableCommands.h>


Public Member Functions | |
| SelectionReplaceWith (const GlobalSelection::Ptr &sn, const Selection &replacementSn) | |
| Constructor. More... | |
| void | undo () override |
| Undo the replace. More... | |
| void | redo () override |
| Redo the replace. More... | |
Public Member Functions inherited from Ufe::UndoableCommand | |
| virtual | ~UndoableCommand () |
| Destructor. More... | |
| virtual void | execute () |
Static Public Member Functions | |
| static Ptr | createAndExecute (const GlobalSelection::Ptr &sn, const Selection &replacementSn) |
Private Attributes | |
| const GlobalSelection::Ptr | fSn |
| const std::list< Path > | fSnPaths |
| const std::list< Path > | fReplacementSnPaths |
Additional Inherited Members | |
Public Types inherited from Ufe::UndoableCommand | |
| typedef std::shared_ptr< UndoableCommand > | Ptr |
Protected Member Functions inherited from Ufe::UndoableCommand | |
| UndoableCommand () | |
| Constructor. More... | |
| UndoableCommand (const UndoableCommand &)=delete | |
| Deleting copy constructor. More... | |
Replace the argument selection.
Replace the argument selection on execution, and restore it on undo.
Definition at line 128 of file selectionUndoableCommands.h.
| Ufe::SelectionReplaceWith::SelectionReplaceWith | ( | const GlobalSelection::Ptr & | sn, |
| const Selection & | replacementSn | ||
| ) |
Constructor.
|
static |
Convenience method to create the undoable command and execute it.
|
overridevirtual |
Redo the replace.
Implements Ufe::UndoableCommand.
|
overridevirtual |
Undo the replace.
Implements Ufe::UndoableCommand.
|
private |
Definition at line 157 of file selectionUndoableCommands.h.
|
private |
Definition at line 152 of file selectionUndoableCommands.h.
|
private |
Definition at line 156 of file selectionUndoableCommands.h.