![]() |
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... | |
Protected Member Functions | |
MatchAttribute () | |
FOX needs this. 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 233 of file GNESelectorFrame.h.
GNESelectorFrame::MatchAttribute::MatchAttribute | ( | GNESelectorFrame * | selectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 809 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 832 of file GNESelectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 277 of file GNESelectorFrame.h.
void GNESelectorFrame::MatchAttribute::disableMatchAttribute | ( | ) |
disable match attributes
Definition at line 869 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchAttribute::enableMatchAttribute | ( | ) |
enable match attributes
Definition at line 836 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 1068 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 950 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_GENERIC, 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 1016 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 882 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_GENERIC, GNE_ATTR_PARENT, SUMO_TAG_NOTHING, and toString().
|
private |
current SumoXMLTag Attribute
Definition at line 293 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
current SumoXMLTag tag
Definition at line 290 of file GNESelectorFrame.h.
|
private |
attributes of the match box
Definition at line 287 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
string of the match
Definition at line 296 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
tag of the match box
Definition at line 284 of file GNESelectorFrame.h.
Referenced by MatchAttribute().
|
private |
pointer to Selector Frame Parent
Definition at line 281 of file GNESelectorFrame.h.