Eclipse SUMO - Simulation of Urban MObility
GNETAZFrame::TAZSaveChanges Class Reference

#include <GNETAZFrame.h>

Inheritance diagram for GNETAZFrame::TAZSaveChanges:
[legend]
Collaboration diagram for GNETAZFrame::TAZSaveChanges:
[legend]

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...
 

Private Attributes

FXButton * myCancelChangesButton
 @field FXButton for cancel changes in TAZEdges More...
 
FXButton * mySaveChangesButton
 @field FXButton for save changes in TAZEdges More...
 
GNETAZFramemyTAZFrameParent
 pointer to TAZFrame parent More...
 

Detailed Description

Definition at line 184 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ TAZSaveChanges()

GNETAZFrame::TAZSaveChanges::TAZSaveChanges ( GNETAZFrame TAZFrameParent)

FOX-declaration.

constructor

Definition at line 392 of file GNETAZFrame.cpp.

References CANCEL, GUIIconSubSys::getIcon(), GUIDesignButton, MID_CANCEL, MID_OK, myCancelChangesButton, mySaveChangesButton, and SAVE.

◆ ~TAZSaveChanges()

GNETAZFrame::TAZSaveChanges::~TAZSaveChanges ( )

destructor

Definition at line 404 of file GNETAZFrame.cpp.

Member Function Documentation

◆ enableButtonsAndBeginUndoList()

void GNETAZFrame::TAZSaveChanges::enableButtonsAndBeginUndoList ( )

enable buttons save and cancel changes (And begin Undo List)

Definition at line 422 of file GNETAZFrame.cpp.

Referenced by GNETAZFrame::addOrRemoveTAZMember(), and GNETAZFrame::dropTAZMembers().

Here is the caller graph for this function:

◆ hideTAZSaveChangesModul()

void GNETAZFrame::TAZSaveChanges::hideTAZSaveChangesModul ( )

hide TAZ Save Changes Modul

Definition at line 414 of file GNETAZFrame.cpp.

References GNETAZFrame::hide().

◆ isChangesPending()

bool GNETAZFrame::TAZSaveChanges::isChangesPending ( ) const

return true if there is changes to save

Definition at line 435 of file GNETAZFrame.cpp.

Referenced by GNEViewNet::hotkeyEnter(), and GNETAZFrame::processClick().

Here is the caller graph for this function:

◆ onCmdCancelChanges()

long GNETAZFrame::TAZSaveChanges::onCmdCancelChanges ( FXObject *  ,
FXSelector  ,
void *   
)

Called when the user press the button cancel changes.

Definition at line 456 of file GNETAZFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveChanges()

long GNETAZFrame::TAZSaveChanges::onCmdSaveChanges ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 442 of file GNETAZFrame.cpp.

Referenced by FXDEFMAP(), and GNEViewNet::hotkeyEnter().

Here is the caller graph for this function:

◆ showTAZSaveChangesModul()

void GNETAZFrame::TAZSaveChanges::showTAZSaveChangesModul ( )

show TAZ Save Changes Modul

Definition at line 408 of file GNETAZFrame.cpp.

References GNEFrame::show().

Field Documentation

◆ myCancelChangesButton

FXButton* GNETAZFrame::TAZSaveChanges::myCancelChangesButton
private

@field FXButton for cancel changes in TAZEdges

Definition at line 227 of file GNETAZFrame.h.

Referenced by TAZSaveChanges().

◆ mySaveChangesButton

FXButton* GNETAZFrame::TAZSaveChanges::mySaveChangesButton
private

@field FXButton for save changes in TAZEdges

Definition at line 224 of file GNETAZFrame.h.

Referenced by TAZSaveChanges().

◆ myTAZFrameParent

GNETAZFrame* GNETAZFrame::TAZSaveChanges::myTAZFrameParent
private

pointer to TAZFrame parent

Definition at line 221 of file GNETAZFrame.h.


The documentation for this class was generated from the following files: