7 #ifndef CAFU_MODELEDITOR_COMMAND_RENAME_HPP_INCLUDED
8 #define CAFU_MODELEDITOR_COMMAND_RENAME_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "../ModelDocument.hpp"
32 std::string& GetStringRef()
const;
33 void UpdateAllObservers()
const;
36 const ModelElementTypeT m_Type;
37 const unsigned int m_ElemNr;
38 const std::string m_NewName;
39 const std::string m_OldName;
bool Do()
This method executes the command.
Definition: Rename.cpp:25
wxString GetName() const
Returns the name (a description) of the command.
Definition: Rename.cpp:57
void Undo()
This method un-does the command.
Definition: Rename.cpp:43
Definition: Rename.hpp:18
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
Definition: ModelDocument.hpp:30