7 #ifndef CAFU_COMMAND_NEW_GROUP_HPP_INCLUDED
8 #define CAFU_COMMAND_NEW_GROUP_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
GroupT * GetGroup()
Returns the new group.
Definition: Group_New.hpp:36
void Undo()
This method un-does the command.
Definition: Group_New.cpp:48
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
~CommandNewGroupT()
The destructor.
Definition: Group_New.cpp:24
This class represents groups.
Definition: Group.hpp:20
CommandNewGroupT(MapDocumentT &MapDoc, const wxString &Name)
The constructor.
Definition: Group_New.cpp:12
wxString GetName() const
Returns the name (a description) of the command.
Definition: Group_New.cpp:63
bool Do()
This method executes the command.
Definition: Group_New.cpp:33
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
This class implements a command for adding a new group to the map document.
Definition: Group_New.hpp:23
This is the base class for all elements ("objects") that can exist in a map.
Definition: MapElement.hpp:57