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


Public Member Functions | |
| ConnectionModifications (GNEConnectorFrame *connectorFrameParent) | |
| FOX-declaration. More... | |
| ~ConnectionModifications () | |
| destructor More... | |
FOX-callbacks | |
| long | onCmdSaveModifications (FXObject *, FXSelector, void *) |
| Called when the user presses the OK-Button saves any connection modifications. More... | |
| long | onCmdCancelModifications (FXObject *, FXSelector, void *) |
| Called when the user presses the Cancel-button discards any connection modifications. More... | |
Protected Member Functions | |
| ConnectionModifications () | |
| FOX needs this. More... | |
Private Attributes | |
| FXButton * | myCancelButton |
| "Cancel" button More... | |
| GNEConnectorFrame * | myConnectorFrameParent |
| pointer to connectorFrame parent More... | |
| FXButton * | mySaveButton |
| "OK" button More... | |
Definition at line 62 of file GNEConnectorFrame.h.
| GNEConnectorFrame::ConnectionModifications::ConnectionModifications | ( | GNEConnectorFrame * | connectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 95 of file GNEConnectorFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButton, ICON_ACCEPT, ICON_CANCEL, MID_CANCEL, MID_OK, myCancelButton, and mySaveButton.
| GNEConnectorFrame::ConnectionModifications::~ConnectionModifications | ( | ) |
destructor
Definition at line 108 of file GNEConnectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 85 of file GNEConnectorFrame.h.
| long GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the Cancel-button discards any connection modifications.
Definition at line 112 of file GNEConnectorFrame.cpp.
References GNEConnectorFrame::cleanup(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), myConnectorFrameParent, GNEConnectorFrame::myCurrentEditedLane, GNEConnectorFrame::myNumChanges, GNEUndoList::p_abort(), and GNEViewNet::setStatusBarText().
Referenced by GNEViewNet::abortOperation(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), and GNEConnectorFrame::ConnectionOperations::onCmdResetSelectedConnections().
| long GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the OK-Button saves any connection modifications.
Definition at line 126 of file GNEConnectorFrame.cpp.
References GNEConnectorFrame::cleanup(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), myConnectorFrameParent, GNEConnectorFrame::myCurrentEditedLane, GNEConnectorFrame::myNumChanges, GNEUndoList::p_end(), and GNEViewNet::setStatusBarText().
Referenced by GNEViewNet::hotkeyEnter(), and GNEConnectorFrame::removeConnections().
|
private |
"Cancel" button
Definition at line 92 of file GNEConnectorFrame.h.
Referenced by ConnectionModifications().
|
private |
pointer to connectorFrame parent
Definition at line 89 of file GNEConnectorFrame.h.
Referenced by onCmdCancelModifications(), and onCmdSaveModifications().
|
private |
"OK" button
Definition at line 95 of file GNEConnectorFrame.h.
Referenced by ConnectionModifications().