![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEInspector.h>
Public Member Functions | |
AttrInput (FXComposite *parent, const std::vector< GNEAttributeCarrier * > &ACs, SumoXMLAttr attr, std::string initialValue, GNEUndoList *undoList) | |
long | onCmdOpenAttributeEditor (FXObject *, FXSelector, void *) |
open model dialog for more comfortable attribute editing More... | |
long | onCmdSetAttribute (FXObject *, FXSelector, void *) |
try to set new attribute value More... | |
Protected Member Functions | |
AttrInput () | |
FOX needs this. More... | |
Private Attributes | |
const std::vector< GNEAttributeCarrier * > * | myACs |
SumoXMLAttr | myAttr |
FXComboBox * | myChoicesCombo |
SumoXMLTag | myTag |
FXTextField * | myTextField |
GNEUndoList * | myUndoList |
Definition at line 74 of file GNEInspector.h.
GNEInspector::AttrInput::AttrInput | ( | FXComposite * | parent, |
const std::vector< GNEAttributeCarrier * > & | ACs, | ||
SumoXMLAttr | attr, | ||
std::string | initialValue, | ||
GNEUndoList * | undoList | ||
) |
Definition at line 241 of file GNEInspector.cpp.
References GNEAttributeCarrier::discreteChoices(), GNEAttributeCarrier::discreteCombinableChoices(), GNEAttributeCarrier::isNumerical(), MID_GNE_OPEN_ATTRIBUTE_EDITOR, MID_GNE_SET_ATTRIBUTE, myAttr, myChoicesCombo, myTag, myTextField, toString(), and GNEInspector::WIDTH.
|
inlineprotected |
FOX needs this.
Definition at line 90 of file GNEInspector.h.
long GNEInspector::AttrInput::onCmdOpenAttributeEditor | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
open model dialog for more comfortable attribute editing
Definition at line 285 of file GNEInspector.cpp.
References GNEAttributeCarrier::discreteChoices(), joinToString(), myAttr, myTag, myTextField, onCmdSetAttribute(), and toString().
long GNEInspector::AttrInput::onCmdSetAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | data | ||
) |
try to set new attribute value
Definition at line 326 of file GNEInspector.cpp.
References myACs, myAttr, myTextField, myUndoList, GNEUndoList::p_begin(), and GNEUndoList::p_end().
Referenced by onCmdOpenAttributeEditor().
|
private |
Definition at line 95 of file GNEInspector.h.
Referenced by onCmdSetAttribute().
|
private |
Definition at line 94 of file GNEInspector.h.
Referenced by AttrInput(), onCmdOpenAttributeEditor(), and onCmdSetAttribute().
|
private |
Definition at line 98 of file GNEInspector.h.
Referenced by AttrInput().
|
private |
Definition at line 93 of file GNEInspector.h.
Referenced by AttrInput(), and onCmdOpenAttributeEditor().
|
private |
Definition at line 97 of file GNEInspector.h.
Referenced by AttrInput(), onCmdOpenAttributeEditor(), and onCmdSetAttribute().
|
private |
Definition at line 96 of file GNEInspector.h.
Referenced by onCmdSetAttribute().