![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEInspectorFrame.h>
Public Member Functions | |
GNEInspectorFrame * | getInspectorFrameParent () const |
get inspector frame parent More... | |
void | hideParametersEditorInspector () |
hide netedit attributes EditorInspector More... | |
ParametersEditorInspector (GNEInspectorFrame *inspectorFrameParent) | |
FOX-declaration. More... | |
void | refreshParametersEditorInspector () |
refresh netedit attributes More... | |
void | showParametersEditorInspector () |
show netedit attributes EditorInspector More... | |
~ParametersEditorInspector () | |
destructor More... | |
FOX-callbacks | |
Called when user clicks over add parameter | |
long | onCmdEditParameters (FXObject *, FXSelector, void *) |
long | onCmdSetParameters (FXObject *, FXSelector, void *) |
Called when user udpate the parameter text field. More... | |
Private Attributes | |
FXButton * | myButtonEditParameters |
button for edit parameters using specific dialog More... | |
GNEInspectorFrame * | myInspectorFrameParent |
current GNEInspectorFrame parent More... | |
FXTextField * | myTextFieldParameters |
text field for write parameters More... | |
Definition at line 283 of file GNEInspectorFrame.h.
GNEInspectorFrame::ParametersEditorInspector::ParametersEditorInspector | ( | GNEInspectorFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1216 of file GNEInspectorFrame.cpp.
References GUIDesignButton, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_OPEN_PARAMETERS_DIALOG, MID_GNE_SET_ATTRIBUTE, myButtonEditParameters, and myTextFieldParameters.
GNEInspectorFrame::ParametersEditorInspector::~ParametersEditorInspector | ( | ) |
destructor
Definition at line 1225 of file GNEInspectorFrame.cpp.
GNEInspectorFrame * GNEInspectorFrame::ParametersEditorInspector::getInspectorFrameParent | ( | ) | const |
get inspector frame parent
Definition at line 1285 of file GNEInspectorFrame.cpp.
Referenced by GNESingleParametersDialog::GNESingleParametersDialog(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNEMultipleParametersDialog::onCmdReset(), and GNESingleParametersDialog::onCmdReset().
void GNEInspectorFrame::ParametersEditorInspector::hideParametersEditorInspector | ( | ) |
hide netedit attributes EditorInspector
Definition at line 1243 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::hide().
Referenced by GNEInspectorFrame::inspectMultisection().
long GNEInspectorFrame::ParametersEditorInspector::onCmdEditParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1291 of file GNEInspectorFrame.cpp.
References GNEAttributeCarrier::getTagProperty(), GNETagProperties::hasParameters(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEInspectorFrame::ParametersEditorInspector::onCmdSetParameters | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user udpate the parameter text field.
Definition at line 1332 of file GNEInspectorFrame.cpp.
References Parameterised::areParametersValid(), Parameterised::DOUBLE, GNEAttributeCarrier::getTagProperty(), GNETagProperties::hasDoubleParameters(), GNETagProperties::hasParameters(), GNEAttributeCarrier::setACParameters(), and Parameterised::STRING.
Referenced by FXDEFMAP().
void GNEInspectorFrame::ParametersEditorInspector::refreshParametersEditorInspector | ( | ) |
refresh netedit attributes
Definition at line 1250 of file GNEInspectorFrame.cpp.
References GNEAttributeCarrier::getAttribute(), GNEAttributeCarrier::getTagProperty(), GNE_ATTR_PARAMETERS, GNETagProperties::hasParameters(), and GNEFrameAttributesModuls::isSupermodeValid().
Referenced by GNEInspectorFrame::updateFrameAfterUndoRedo().
void GNEInspectorFrame::ParametersEditorInspector::showParametersEditorInspector | ( | ) |
show netedit attributes EditorInspector
Definition at line 1229 of file GNEInspectorFrame.cpp.
References GNEInspectorFrame::hide(), and GNEInspectorFrame::show().
Referenced by GNEInspectorFrame::inspectMultisection().
|
private |
button for edit parameters using specific dialog
Definition at line 326 of file GNEInspectorFrame.h.
Referenced by ParametersEditorInspector().
|
private |
current GNEInspectorFrame parent
Definition at line 320 of file GNEInspectorFrame.h.
|
private |
text field for write parameters
Definition at line 323 of file GNEInspectorFrame.h.
Referenced by ParametersEditorInspector().