Eclipse SUMO - Simulation of Urban MObility
|
Dialog for edit parameters. More...
#include <GNEMultipleParametersDialog.h>
Data Structures | |
class | ParametersOperations |
class | ParametersOptions |
class | ParametersValues |
FOX-declaration. More... | |
Public Member Functions | |
GNEMultipleParametersDialog (GNEFrameAttributeModules::ParametersEditor *parametersEditorInspector) | |
Constructor for parameter editor inspector. | |
~GNEMultipleParametersDialog () | |
destructor | |
FOX-callbacks | |
event after press accept button | |
long | onCmdAccept (FXObject *, FXSelector, void *) |
long | onCmdCancel (FXObject *, FXSelector, void *) |
event after press cancel button | |
long | onCmdReset (FXObject *, FXSelector, void *) |
event after press reset button | |
Protected Attributes | |
FXButton * | myAcceptButton |
accept button | |
FXButton * | myCancelButton |
cancel button | |
GNEFrameAttributeModules::ParametersEditor * | myParametersEditor |
FOX need this. | |
ParametersOperations * | myParametersOperations |
pointer to parameters operations | |
ParametersOptions * | myParametersOptions |
pointer to parameters options | |
ParametersValues * | myParametersValues |
pointer to parameters values | |
FXButton * | myResetButton |
cancel button | |
Private Member Functions | |
void | constructor () |
auxiliar constructor | |
GNEMultipleParametersDialog (const GNEMultipleParametersDialog &)=delete | |
Invalidated copy constructor. | |
GNEMultipleParametersDialog & | operator= (const GNEMultipleParametersDialog &)=delete |
Invalidated assignment operator. | |
Dialog for edit parameters.
Definition at line 42 of file GNEMultipleParametersDialog.h.
GNEMultipleParametersDialog::GNEMultipleParametersDialog | ( | GNEFrameAttributeModules::ParametersEditor * | parametersEditorInspector | ) |
Constructor for parameter editor inspector.
Definition at line 495 of file GNEMultipleParametersDialog.cpp.
References constructor(), and onCmdReset().
GNEMultipleParametersDialog::~GNEMultipleParametersDialog | ( | ) |
destructor
Definition at line 505 of file GNEMultipleParametersDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
|
private |
auxiliar constructor
Definition at line 630 of file GNEMultipleParametersDialog.cpp.
References ACCEPT, APP_TABLE, GUIDesigns::buildFXButton(), CANCEL, GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignAuxiliarVerticalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignButtonReset, GUIDesignHorizontalFrame, GUIDesignHorizontalSeparator, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_CANCEL, MID_GNE_BUTTON_RESET, myAcceptButton, myCancelButton, myParametersOperations, myParametersOptions, myParametersValues, myResetButton, RESET, and TL.
Referenced by GNEMultipleParametersDialog().
long GNEMultipleParametersDialog::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 509 of file GNEMultipleParametersDialog.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNEViewNet::getInspectedAttributeCarriers(), GNEFrameAttributeModules::ParametersEditor::getInspectorFrameParent(), GNEMultipleParametersDialog::ParametersValues::getParameterRows(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), SUMOXMLDefinitions::isValidParameterKey(), myParametersEditor, myParametersOptions, myParametersValues, GNEMultipleParametersDialog::ParametersOptions::onlyForExistentKeys(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEMultipleParametersDialog::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 587 of file GNEMultipleParametersDialog.cpp.
Referenced by FXDEFMAP().
long GNEMultipleParametersDialog::onCmdReset | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press reset button
Definition at line 595 of file GNEMultipleParametersDialog.cpp.
References GNEViewNet::getInspectedAttributeCarriers(), GNEFrameAttributeModules::ParametersEditor::getInspectorFrameParent(), GNEFrame::getViewNet(), myParametersEditor, myParametersValues, and GNEMultipleParametersDialog::ParametersValues::setParameters().
Referenced by FXDEFMAP(), and GNEMultipleParametersDialog().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 290 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protected |
cancel button
Definition at line 293 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protected |
FOX need this.
pointer to ParametersEditor
Definition at line 278 of file GNEMultipleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to parameters operations
Definition at line 284 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to parameters options
Definition at line 287 of file GNEMultipleParametersDialog.h.
Referenced by constructor(), and onCmdAccept().
|
protected |
pointer to parameters values
Definition at line 281 of file GNEMultipleParametersDialog.h.
Referenced by constructor(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 296 of file GNEMultipleParametersDialog.h.
Referenced by constructor().