![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEParametersDialog.h>
Data Structures | |
class | GNEParameterHandler |
FOX need this. More... | |
Public Member Functions | |
ParametersOperations (FXHorizontalFrame *frame, GNEParametersDialog *ParameterDialogParent) | |
FOX-declaration. | |
~ParametersOperations () | |
destructor | |
FOX-callbacks | |
event when user press load parameters button | |
long | onCmdLoadParameters (FXObject *, FXSelector, void *) |
long | onCmdSaveParameters (FXObject *, FXSelector, void *) |
event when user press save parameters button | |
long | onCmdClearParameters (FXObject *, FXSelector, void *) |
event when user press clear parameters button | |
long | onCmdSortParameters (FXObject *, FXSelector, void *) |
event when user press sort parameters button | |
long | onCmdHelpParameter (FXObject *, FXSelector, void *) |
event when user press help parameters button | |
Private Attributes | |
FXButton * | myClearButton |
clear button | |
FXButton * | myHelpButton |
help button | |
FXButton * | myLoadButton |
load button | |
GNEParametersDialog * | myParameterDialogParent |
pointer to Shape Frame Parent | |
FXButton * | mySaveButton |
save button | |
FXButton * | mySortButton |
sort button | |
Definition at line 153 of file GNEParametersDialog.h.
GNEParametersDialog::ParametersOperations::ParametersOperations | ( | FXHorizontalFrame * | frame, |
GNEParametersDialog * | ParameterDialogParent | ||
) |
FOX-declaration.
constructor
Definition at line 290 of file GNEParametersDialog.cpp.
References GUIDesigns::buildFXButton(), CLEANJUNCTIONS, GUIIconSubSys::getIcon(), GUIDesignButtonFixed, HELP, MID_GNE_BUTTON_CLEAR, MID_GNE_BUTTON_LOAD, MID_GNE_BUTTON_SAVE, MID_GNE_BUTTON_SORT, MID_HELP, myClearButton, myHelpButton, myLoadButton, mySaveButton, mySortButton, OPEN, RELOAD, SAVE, and TL.
GNEParametersDialog::ParametersOperations::~ParametersOperations | ( | ) |
destructor
Definition at line 302 of file GNEParametersDialog.cpp.
long GNEParametersDialog::ParametersOperations::onCmdClearParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press clear parameters button
Definition at line 370 of file GNEParametersDialog.cpp.
Referenced by FXDEFMAP().
long GNEParametersDialog::ParametersOperations::onCmdHelpParameter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press help parameters button
Definition at line 406 of file GNEParametersDialog.cpp.
References TL.
Referenced by FXDEFMAP().
long GNEParametersDialog::ParametersOperations::onCmdLoadParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 306 of file GNEParametersDialog.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), GREENVEHICLE, XMLSubSys::runParser(), TL, toString(), WRITE_MESSAGEF, and SUMOXMLDefinitions::XMLFileExtensions.
Referenced by FXDEFMAP().
long GNEParametersDialog::ParametersOperations::onCmdSaveParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press save parameters button
Definition at line 333 of file GNEParametersDialog.cpp.
References OutputDevice::close(), OutputDevice::closeTag(), gCurrentFolder, OutputDevice::getDevice(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), GREENVEHICLE, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, TL, OutputDevice::writeAttr(), OutputDevice::writeXMLHeader(), and SUMOXMLDefinitions::XMLFileExtensions.
Referenced by FXDEFMAP().
long GNEParametersDialog::ParametersOperations::onCmdSortParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press sort parameters button
Definition at line 378 of file GNEParametersDialog.cpp.
Referenced by FXDEFMAP().
|
private |
clear button
Definition at line 221 of file GNEParametersDialog.h.
Referenced by ParametersOperations().
|
private |
help button
Definition at line 230 of file GNEParametersDialog.h.
Referenced by ParametersOperations().
|
private |
load button
Definition at line 224 of file GNEParametersDialog.h.
Referenced by ParametersOperations().
|
private |
pointer to Shape Frame Parent
Definition at line 215 of file GNEParametersDialog.h.
|
private |
save button
Definition at line 227 of file GNEParametersDialog.h.
Referenced by ParametersOperations().
|
private |
sort button
Definition at line 218 of file GNEParametersDialog.h.
Referenced by ParametersOperations().