![]() |
SUMO - Simulation of Urban MObility
|
#include <GNETAZFrame.h>


Public Member Functions | |
| void | enableButtonsAndBeginUndoList () |
| enable buttons save and cancel changes (And begin Undo List) More... | |
| void | hideTAZSaveChangesModul () |
| hide TAZ Save Changes Modul More... | |
| bool | isChangesPending () const |
| return true if there is changes to save More... | |
| void | showTAZSaveChangesModul () |
| show TAZ Save Changes Modul More... | |
| TAZSaveChanges (GNETAZFrame *TAZFrameParent) | |
| FOX-declaration. More... | |
| ~TAZSaveChanges () | |
| destructor More... | |
FOX-callbacks | |
Called when the user press the button save changes | |
| long | onCmdSaveChanges (FXObject *, FXSelector, void *) |
| long | onCmdCancelChanges (FXObject *, FXSelector, void *) |
| Called when the user press the button cancel changes. More... | |
Protected Member Functions | |
| TAZSaveChanges () | |
| FOX needs this. More... | |
Private Attributes | |
| FXButton * | myCancelChangesButton |
| FXButton for cancel changes in TAZEdges More... | |
| FXButton * | mySaveChangesButton |
| FXButton for save changes in TAZEdges More... | |
| GNETAZFrame * | myTAZFrameParent |
| pointer to TAZFrame parent More... | |
Definition at line 179 of file GNETAZFrame.h.
| GNETAZFrame::TAZSaveChanges::TAZSaveChanges | ( | GNETAZFrame * | TAZFrameParent | ) |
FOX-declaration.
constructor
Definition at line 400 of file GNETAZFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButton, ICON_CANCEL, ICON_SAVE, MID_CANCEL, MID_OK, myCancelChangesButton, and mySaveChangesButton.
| GNETAZFrame::TAZSaveChanges::~TAZSaveChanges | ( | ) |
destructor
Definition at line 412 of file GNETAZFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 213 of file GNETAZFrame.h.
| void GNETAZFrame::TAZSaveChanges::enableButtonsAndBeginUndoList | ( | ) |
enable buttons save and cancel changes (And begin Undo List)
Definition at line 430 of file GNETAZFrame.cpp.
References GNEViewNet::getUndoList(), myCancelChangesButton, mySaveChangesButton, myTAZFrameParent, GNEFrame::myViewNet, and GNEUndoList::p_begin().
Referenced by GNETAZFrame::addOrRemoveTAZMember(), GNETAZFrame::dropTAZMembers(), GNETAZFrame::TAZSelectionStatistics::onCmdSelectEdges(), GNETAZFrame::TAZSelectionStatistics::onCmdSetNewValues(), and GNETAZFrame::TAZChildDefaultParameters::onCmdUseSelectedEdges().
| void GNETAZFrame::TAZSaveChanges::hideTAZSaveChangesModul | ( | ) |
hide TAZ Save Changes Modul
Definition at line 422 of file GNETAZFrame.cpp.
References GNETAZFrame::hide(), and onCmdCancelChanges().
Referenced by GNETAZFrame::TAZCurrent::setTAZ().
| bool GNETAZFrame::TAZSaveChanges::isChangesPending | ( | ) | const |
return true if there is changes to save
Definition at line 443 of file GNETAZFrame.cpp.
References mySaveChangesButton.
Referenced by GNEViewNet::hotkeyEnter(), and GNETAZFrame::processClick().
| long GNETAZFrame::TAZSaveChanges::onCmdCancelChanges | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user press the button cancel changes.
Definition at line 464 of file GNETAZFrame.cpp.
References GNEViewNet::getUndoList(), myCancelChangesButton, mySaveChangesButton, GNETAZFrame::myTAZChildDefaultParameters, GNETAZFrame::myTAZCurrent, myTAZFrameParent, GNEFrame::myViewNet, GNEUndoList::p_abort(), GNETAZFrame::TAZCurrent::refreshTAZEdges(), and GNETAZFrame::TAZChildDefaultParameters::updateSelectEdgesButton().
Referenced by hideTAZSaveChangesModul().
| long GNETAZFrame::TAZSaveChanges::onCmdSaveChanges | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 450 of file GNETAZFrame.cpp.
References GNEViewNet::getUndoList(), myCancelChangesButton, mySaveChangesButton, myTAZFrameParent, GNEFrame::myViewNet, and GNEUndoList::p_end().
Referenced by GNEViewNet::hotkeyEnter().
| void GNETAZFrame::TAZSaveChanges::showTAZSaveChangesModul | ( | ) |
show TAZ Save Changes Modul
Definition at line 416 of file GNETAZFrame.cpp.
References GNEFrame::show().
Referenced by GNETAZFrame::TAZCurrent::setTAZ().
|
private |
FXButton for cancel changes in TAZEdges
Definition at line 223 of file GNETAZFrame.h.
Referenced by enableButtonsAndBeginUndoList(), onCmdCancelChanges(), onCmdSaveChanges(), and TAZSaveChanges().
|
private |
FXButton for save changes in TAZEdges
Definition at line 220 of file GNETAZFrame.h.
Referenced by enableButtonsAndBeginUndoList(), isChangesPending(), onCmdCancelChanges(), onCmdSaveChanges(), and TAZSaveChanges().
|
private |
pointer to TAZFrame parent
Definition at line 217 of file GNETAZFrame.h.
Referenced by enableButtonsAndBeginUndoList(), onCmdCancelChanges(), and onCmdSaveChanges().