![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Public Member Functions | |
void | disableMatchAttribute () |
disable match attributes More... | |
void | enableMatchAttribute () |
enable match attributes More... | |
void | hideMatchAttribute () |
hide match attributes More... | |
MatchAttribute (GNESelectorFrame *selectorFrameParent) | |
FOX-declaration. More... | |
void | showMatchAttribute () |
show match attributes 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... | |
FXButton * | myMatchStringButton |
match string button More... | |
FXComboBox * | myMatchTagComboBox |
tag of the match box More... | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
Definition at line 244 of file GNESelectorFrame.h.
GNESelectorFrame::MatchAttribute::MatchAttribute | ( | GNESelectorFrame * | selectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 447 of file GNESelectorFrame.cpp.
References enableMatchAttribute(), GUIDesignButton, GUIDesignButtonRectangular, GUIDesignComboBox, GUIDesignComboBoxNCol, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SELECTORFRAME_PROCESSSTRING, MID_GNE_SELECTORFRAME_SELECTATTRIBUTE, MID_GNE_SELECTORFRAME_SELECTTAG, MID_HELP, myCurrentAttribute, myMatchAttrComboBox, myMatchString, myMatchStringButton, myMatchTagComboBox, and SUMO_ATTR_SPEED.
GNESelectorFrame::MatchAttribute::~MatchAttribute | ( | ) |
destructor
Definition at line 472 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchAttribute::disableMatchAttribute | ( | ) |
disable match attributes
Definition at line 512 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchAttribute::enableMatchAttribute | ( | ) |
enable match attributes
Definition at line 476 of file GNESelectorFrame.cpp.
References GNESelectorFrame::ElementSet::ADDITIONALELEMENT, GNESelectorFrame::ElementSet::DEMANDELEMENT, GNEAttributeCarrier::getAllowedTagsByCategory(), GNESelectorFrame::ElementSet::NETWORKELEMENT, GNESelectorFrame::ElementSet::SHAPE, and GNESelectorFrame::ElementSet::TAZELEMENT.
Referenced by MatchAttribute().
void GNESelectorFrame::MatchAttribute::hideMatchAttribute | ( | ) |
hide match attributes
Definition at line 532 of file GNESelectorFrame.cpp.
References GNESelectorFrame::hide().
long GNESelectorFrame::MatchAttribute::onCmdHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user clicks the help button.
Definition at line 737 of file GNESelectorFrame.cpp.
References ACCEPT, GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, MODEADDITIONAL, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selectes a tag in the match box.
Definition at line 615 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.
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchAttribute::onCmdSelMBString | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user enters a new selection expression.
Definition at line 683 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getTagProperties().
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchAttribute::onCmdSelMBTag | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selectes a tag in the match box.
Definition at line 538 of file GNESelectorFrame.cpp.
References GNESelectorFrame::ElementSet::ADDITIONALELEMENT, GNESelectorFrame::ElementSet::DEMANDELEMENT, GNEAttributeCarrier::getAllowedTagsByCategory(), GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_PARAMETERS, GNE_ATTR_PARENT, GNESelectorFrame::ElementSet::NETWORKELEMENT, GNESelectorFrame::ElementSet::SHAPE, SUMO_TAG_NOTHING, GNESelectorFrame::ElementSet::TAZELEMENT, and toString().
Referenced by FXDEFMAP().
void GNESelectorFrame::MatchAttribute::showMatchAttribute | ( | ) |
show match attributes
Definition at line 526 of file GNESelectorFrame.cpp.
References GNESelectorFrame::show().
|
private |
current SumoXMLTag Attribute
Definition at line 309 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
current SumoXMLTag tag
Definition at line 306 of file GNESelectorFrame.h.
|
private |
attributes of the match box
Definition at line 303 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
string of the match
Definition at line 312 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
match string button
Definition at line 315 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
tag of the match box
Definition at line 300 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
pointer to Selector Frame Parent
Definition at line 297 of file GNESelectorFrame.h.