![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEMultipleParametersDialog.h>
Data Structures | |
| class | ParametersOperations |
| class | ParametersOptions |
| class | ParametersValues |
| FOX-declaration. More... | |
Public Member Functions | |
| GNEMultipleParametersDialog (GNEAttributesEditorType *attributesEditor) | |
| Constructor for parameter editor inspector. | |
| FXuint | openModalDialog (InternalTest *internalTests, FXuint placement=PLACEMENT_CURSOR) |
| Run modal invocation of the dialog. | |
| void | runInternalTest (const InternalTestStep::DialogTest *modalArguments) |
| run internal test | |
| ~GNEMultipleParametersDialog () | |
| destructor | |
FOX-callbacks | |
| long | onCmdAccept (FXObject *, FXSelector, void *) |
| event after press accept button | |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| event after press cancel button | |
| long | onCmdReset (FXObject *, FXSelector, void *) |
| event after press reset button | |
FOX-callbacks | |
| long | onCmdInternalTest (FXObject *, FXSelector, void *ptr) |
| event used in internal tests | |
Protected Attributes | |
| GNEAttributesEditorType * | myAttributesEditor |
| FOX need this. | |
| FXButton * | myCancelButton |
| cancel button | |
| FXButton * | myKeepOldButton |
| accept button | |
| ParametersOperations * | myParametersOperations |
| pointer to parameters operations | |
| ParametersOptions * | myParametersOptions |
| pointer to parameters options | |
| ParametersValues * | myParametersValues |
| pointer to parameters values | |
| FXButton * | myResetButton |
| cancel button | |
| bool | myTesting = false |
| flag to indicate if this dialog is being tested using internal test | |
Private Member Functions | |
| void | constructor () |
| auxiliar constructor | |
| FXuint | execute (FXuint placement=PLACEMENT_CURSOR) |
| make execute private | |
| GNEMultipleParametersDialog (const GNEMultipleParametersDialog &)=delete | |
| Invalidated copy constructor. | |
| GNEMultipleParametersDialog & | operator= (const GNEMultipleParametersDialog &)=delete |
| Invalidated assignment operator. | |
Definition at line 39 of file GNEMultipleParametersDialog.h.
| GNEMultipleParametersDialog::GNEMultipleParametersDialog | ( | GNEAttributesEditorType * | attributesEditor | ) |
Constructor for parameter editor inspector.
Definition at line 491 of file GNEMultipleParametersDialog.cpp.
References constructor(), and onCmdReset().
| GNEMultipleParametersDialog::~GNEMultipleParametersDialog | ( | ) |
destructor
Definition at line 501 of file GNEMultipleParametersDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
|
private |
auxiliar constructor
Definition at line 620 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, myCancelButton, myKeepOldButton, myParametersOperations, myParametersOptions, myParametersValues, myResetButton, RESET, and TL.
Referenced by GNEMultipleParametersDialog().
|
privateinherited |
make execute private
Definition at line 128 of file MFXDialogBox.cpp.
| long GNEMultipleParametersDialog::onCmdAccept | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press accept button
Definition at line 511 of file GNEMultipleParametersDialog.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNEAttributesEditorType::getFrameParent(), GNEViewNet::getInspectedElements(), GNEMultipleParametersDialog::ParametersValues::getParameterRows(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), SUMOXMLDefinitions::isValidParameterKey(), myAttributesEditor, myParametersOptions, myParametersValues, and GNEMultipleParametersDialog::ParametersOptions::onlyForExistentKeys().
Referenced by FXDEFMAP().
| long GNEMultipleParametersDialog::onCmdCancel | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press cancel button
Definition at line 577 of file GNEMultipleParametersDialog.cpp.
Referenced by FXDEFMAP().
|
inherited |
event used in internal tests
Definition at line 115 of file MFXDialogBox.cpp.
References MFXDialogBox::runInternalTest().
Referenced by FXDEFMAP().
| long GNEMultipleParametersDialog::onCmdReset | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press reset button
Definition at line 585 of file GNEMultipleParametersDialog.cpp.
References GNEAttributesEditorType::getEditedAttributeCarriers(), myAttributesEditor, myParametersValues, and GNEMultipleParametersDialog::ParametersValues::setParameters().
Referenced by FXDEFMAP(), and GNEMultipleParametersDialog().
|
inherited |
Run modal invocation of the dialog.
Definition at line 64 of file MFXDialogBox.cpp.
References InternalTest::getCurrentStep(), InternalTestStep::getModalDialogTestSteps(), and MFXDialogBox::myTesting.
Referenced by GNETLSEditorFrame::TLSAttributes::onCmdParametersDialog(), GNEAllowVClassesDialog::openDialog(), GNEFixElementsDialog::openFixDialog(), GNEOptionsDialog::Options(), and GNEOptionsDialog::Run().
|
privatedelete |
Invalidated assignment operator.
|
virtual |
run internal test
Reimplemented from MFXDialogBox.
Definition at line 505 of file GNEMultipleParametersDialog.cpp.
|
protected |
FOX need this.
pointer to attributes editor
Definition at line 280 of file GNEMultipleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 295 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protected |
accept button
Definition at line 292 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to parameters operations
Definition at line 286 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to parameters options
Definition at line 289 of file GNEMultipleParametersDialog.h.
Referenced by constructor(), and onCmdAccept().
|
protected |
pointer to parameters values
Definition at line 283 of file GNEMultipleParametersDialog.h.
Referenced by constructor(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 298 of file GNEMultipleParametersDialog.h.
Referenced by constructor().
|
protectedinherited |
flag to indicate if this dialog is being tested using internal test
Definition at line 66 of file MFXDialogBox.h.
Referenced by MFXDialogBox::onCmdAccept(), MFXDialogBox::onCmdCancel(), and MFXDialogBox::openModalDialog().