![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Public Member Functions | |
void | disableMatchAttribute () |
disable match attributes More... | |
void | enableMatchAttribute () |
enable match attributes More... | |
MatchAttribute (GNESelectorFrame *selectorFrameParent) | |
FOX-declaration. More... | |
~MatchAttribute () | |
destructor More... | |
FOX-callbacks | |
long | onCmdSelMBTag (FXObject *, FXSelector, void *) |
Called when the user selectes a tag in the match box. More... | |
long | onCmdSelMBAttribute (FXObject *, FXSelector, void *) |
Called when the user selectes a tag in the match box. More... | |
long | onCmdSelMBString (FXObject *, FXSelector, void *) |
Called when the user enters a new selection expression. More... | |
long | onCmdHelp (FXObject *, FXSelector, void *) |
Called when the user clicks the help button. More... | |
Private Attributes | |
SumoXMLAttr | myCurrentAttribute |
current SumoXMLTag Attribute More... | |
SumoXMLTag | myCurrentTag |
current SumoXMLTag tag More... | |
FXComboBox * | myMatchAttrComboBox |
attributes of the match box More... | |
FXTextField * | myMatchString |
string of the match More... | |
FXComboBox * | myMatchTagComboBox |
tag of the match box More... | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
Definition at line 229 of file GNESelectorFrame.h.
GNESelectorFrame::MatchAttribute::MatchAttribute | ( | GNESelectorFrame * | selectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 808 of file GNESelectorFrame.cpp.
References enableMatchAttribute(), GUIDesignButtonRectangular, GUIDesignComboBox, GUIDesignComboBoxNCol, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SELECTORFRAME_PROCESSSTRING, MID_GNE_SELECTORFRAME_SELECTATTRIBUTE, MID_GNE_SELECTORFRAME_SELECTTAG, MID_HELP, myCurrentAttribute, myMatchAttrComboBox, myMatchString, myMatchTagComboBox, and SUMO_ATTR_SPEED.
GNESelectorFrame::MatchAttribute::~MatchAttribute | ( | ) |
destructor
Definition at line 831 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchAttribute::disableMatchAttribute | ( | ) |
disable match attributes
Definition at line 868 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchAttribute::enableMatchAttribute | ( | ) |
enable match attributes
Definition at line 835 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::allowedTagsByCategory(), GNESelectorFrame::ElementSet::ELEMENTSET_ADDITIONAL, GNESelectorFrame::ElementSet::ELEMENTSET_DEMANDELEMENT, GNESelectorFrame::ElementSet::ELEMENTSET_NETELEMENT, GNESelectorFrame::ElementSet::ELEMENTSET_SHAPE, and toString().
Referenced by MatchAttribute().
long GNESelectorFrame::MatchAttribute::onCmdHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user clicks the help button.
Definition at line 1072 of file GNESelectorFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, ICON_ACCEPT, ICON_MODEADDITIONAL, and WRITE_DEBUG.
long GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selectes a tag in the match box.
Definition at line 954 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARAMETERS, GNE_ATTR_PARENT, and SUMO_ATTR_NOTHING.
long GNESelectorFrame::MatchAttribute::onCmdSelMBString | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user enters a new selection expression.
Definition at line 1020 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getTagProperties().
long GNESelectorFrame::MatchAttribute::onCmdSelMBTag | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selectes a tag in the match box.
Definition at line 881 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::allowedTagsByCategory(), GNESelectorFrame::ElementSet::ELEMENTSET_ADDITIONAL, GNESelectorFrame::ElementSet::ELEMENTSET_DEMANDELEMENT, GNESelectorFrame::ElementSet::ELEMENTSET_NETELEMENT, GNESelectorFrame::ElementSet::ELEMENTSET_SHAPE, GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARAMETERS, GNE_ATTR_PARENT, SUMO_TAG_NOTHING, and toString().
|
private |
current SumoXMLTag Attribute
Definition at line 288 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
current SumoXMLTag tag
Definition at line 285 of file GNESelectorFrame.h.
|
private |
attributes of the match box
Definition at line 282 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
string of the match
Definition at line 291 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
tag of the match box
Definition at line 279 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
pointer to Selector Frame Parent
Definition at line 276 of file GNESelectorFrame.h.