![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameModuls.h>
Public Member Functions | |
std::string | getIdSelected () const |
get currently additional parent selected More... | |
void | hideSelectorParentModul () |
hide SelectorParent Modul More... | |
void | refreshSelectorParentModul () |
Refresh list of Additional Parents Modul. More... | |
SelectorParent (GNEFrame *frameParent) | |
constructor More... | |
void | setIDSelected (const std::string &id) |
select manually a element of the list More... | |
bool | showSelectorParentModul (SumoXMLTag additionalTypeParent) |
Show list of SelectorParent Modul. More... | |
~SelectorParent () | |
destructor More... | |
Private Attributes | |
GNEFrame * | myFrameParent |
pointer to Frame Parent More... | |
FXLabel * | myParentsLabel |
Label with parent name. More... | |
FXList * | myParentsList |
List of parents. More... | |
SumoXMLTag | myParentTag |
current additional parent tag More... | |
Definition at line 485 of file GNEFrameModuls.h.
GNEFrameModuls::SelectorParent::SelectorParent | ( | GNEFrame * | frameParent | ) |
constructor
Definition at line 1684 of file GNEFrameModuls.cpp.
References GUIDesignLabelLeftThick, GUIDesignListSingleElementFixedHeight, hideSelectorParentModul(), MID_GNE_SET_TYPE, myParentsLabel, and myParentsList.
GNEFrameModuls::SelectorParent::~SelectorParent | ( | ) |
destructor
Definition at line 1697 of file GNEFrameModuls.cpp.
std::string GNEFrameModuls::SelectorParent::getIdSelected | ( | ) | const |
get currently additional parent selected
Definition at line 1701 of file GNEFrameModuls.cpp.
References myParentsList.
Referenced by GNEAdditionalFrame::buildAdditionalWithParent().
void GNEFrameModuls::SelectorParent::hideSelectorParentModul | ( | ) |
hide SelectorParent Modul
Definition at line 1746 of file GNEFrameModuls.cpp.
References myParentTag, and SUMO_TAG_NOTHING.
Referenced by SelectorParent(), and GNEAdditionalFrame::tagSelected().
void GNEFrameModuls::SelectorParent::refreshSelectorParentModul | ( | ) |
Refresh list of Additional Parents Modul.
Definition at line 1753 of file GNEFrameModuls.cpp.
References GNENet::AttributeCarriers::additionals, GNENet::getAttributeCarriers(), GNEViewNet::getNet(), GNEFrame::getViewNet(), myFrameParent, myParentsList, myParentTag, and SUMO_TAG_NOTHING.
Referenced by GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), and showSelectorParentModul().
void GNEFrameModuls::SelectorParent::setIDSelected | ( | const std::string & | id | ) |
select manually a element of the list
Definition at line 1712 of file GNEFrameModuls.cpp.
References myParentsList.
Referenced by GNEAdditionalFrame::buildAdditionalWithParent().
bool GNEFrameModuls::SelectorParent::showSelectorParentModul | ( | SumoXMLTag | additionalTypeParent | ) |
Show list of SelectorParent Modul.
Definition at line 1729 of file GNEFrameModuls.cpp.
References GNEAttributeCarrier::allowedTagsByCategory(), myParentsLabel, myParentTag, refreshSelectorParentModul(), and toString().
Referenced by GNEAdditionalFrame::tagSelected().
|
private |
pointer to Frame Parent
Definition at line 510 of file GNEFrameModuls.h.
Referenced by refreshSelectorParentModul().
|
private |
Label with parent name.
Definition at line 516 of file GNEFrameModuls.h.
Referenced by SelectorParent(), and showSelectorParentModul().
|
private |
List of parents.
Definition at line 519 of file GNEFrameModuls.h.
Referenced by getIdSelected(), refreshSelectorParentModul(), SelectorParent(), and setIDSelected().
|
private |
current additional parent tag
Definition at line 513 of file GNEFrameModuls.h.
Referenced by hideSelectorParentModul(), refreshSelectorParentModul(), and showSelectorParentModul().