36 #ifdef CHECK_MEMORY_LEAKS 54 mySelectedIDs(selected),
55 myDeselectedIDs(deselected) {
121 return (
"Undo change selection");
123 return (
"Undo change selection");
130 return (
"Redo change selection");
132 return (
"Redo change selection");
the function-object for an editing operation (abstract base)
void select(GUIGlID id, bool update=true)
Adds the object with the given id.
~GNEChange_Selection()
Destructor.
A NBNetBuilder extended by visualisation and editing capabilities.
std::set< GUIGlID > myDeselectedIDs
all ids that were deselected in this change
std::set< GUIGlID > mySelectedIDs
all ids that were selected in this change
static GUIGlObjectStorage gIDStorage
A single static instance of this class.
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
void deselect(GUIGlID id)
Deselects the object with the given id.
FXString redoName() const
get Redo name
FXString undoName() const
return undoName
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
GUISelectedStorage gSelected
A global holder of selected objects.
GNEViewNet * getViewNet() const
get view net