Eclipse SUMO - Simulation of Urban MObility
|
#include <GNESingleParametersDialog.h>
Data Structures | |
class | GNEParameterHandler |
FOX need this. More... | |
Public Member Functions | |
ParametersOperations (FXHorizontalFrame *frame, GNESingleParametersDialog *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 | |
GNESingleParametersDialog * | myParameterDialogParent |
pointer to Shape Frame Parent | |
FXButton * | mySaveButton |
save button | |
FXButton * | mySortButton |
sort button | |
Definition at line 153 of file GNESingleParametersDialog.h.
GNESingleParametersDialog::ParametersOperations::ParametersOperations | ( | FXHorizontalFrame * | frame, |
GNESingleParametersDialog * | ParameterDialogParent | ||
) |
FOX-declaration.
constructor
Definition at line 279 of file GNESingleParametersDialog.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.
GNESingleParametersDialog::ParametersOperations::~ParametersOperations | ( | ) |
destructor
Definition at line 291 of file GNESingleParametersDialog.cpp.
long GNESingleParametersDialog::ParametersOperations::onCmdClearParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press clear parameters button
Definition at line 358 of file GNESingleParametersDialog.cpp.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::ParametersOperations::onCmdHelpParameter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press help parameters button
Definition at line 394 of file GNESingleParametersDialog.cpp.
References ACCEPT, APP_TABLE, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, TL, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::ParametersOperations::onCmdLoadParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 295 of file GNESingleParametersDialog.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), GREENVEHICLE, XMLSubSys::runParser(), TL, toString(), and WRITE_MESSAGEF.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::ParametersOperations::onCmdSaveParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press save parameters button
Definition at line 322 of file GNESingleParametersDialog.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(), and OutputDevice::writeXMLHeader().
Referenced by FXDEFMAP().
long GNESingleParametersDialog::ParametersOperations::onCmdSortParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event when user press sort parameters button
Definition at line 366 of file GNESingleParametersDialog.cpp.
Referenced by FXDEFMAP().
|
private |
clear button
Definition at line 220 of file GNESingleParametersDialog.h.
Referenced by ParametersOperations().
|
private |
help button
Definition at line 229 of file GNESingleParametersDialog.h.
Referenced by ParametersOperations().
|
private |
load button
Definition at line 223 of file GNESingleParametersDialog.h.
Referenced by ParametersOperations().
|
private |
pointer to Shape Frame Parent
Definition at line 214 of file GNESingleParametersDialog.h.
|
private |
save button
Definition at line 226 of file GNESingleParametersDialog.h.
Referenced by ParametersOperations().
|
private |
sort button
Definition at line 217 of file GNESingleParametersDialog.h.
Referenced by ParametersOperations().