 |
Eclipse SUMO - Simulation of Urban MObility
|
void p_clear()
clears the undo list (implies abort)
GNEApplicationWindow *const myGNEApplicationWindowParent
void p_end()
End undo command sub-group. If the sub-group is still empty, it will be deleted; otherwise,...
The main window of the Netedit.
void redo()
redo the last command group
const std::string myDescription
description of command
CommandGroup(std::string description)
Constructor.
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
void undo()
undo the last command group
std::stack< CommandGroup * > myCommandGroups
FXString redoName() const
get redo name
GNEUndoList(GNEApplicationWindow *parent)
FOX declaration.
void p_abortLastCommandGroup()
reverts last command group
long p_onUpdRedo(FXObject *, FXSelector, void *)
event after Redo
void p_abort()
reverts and discards ALL active command groups
int currentCommandGroupSize() const
get size of current CommandGroup
bool hasCommandGroup() const
Check if undoList has command group.
const std::string & getDescription()
get description
FXString undoName() const
get undo Name
the function-object for an editing operation (abstract base)
long p_onUpdUndo(FXObject *, FXSelector, void *)
void p_begin(const std::string &description)
Begin undo command sub-group. This begins a new group of commands that are treated as a single comman...