![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEElementTree.h>
Public Types | |
| enum | Options { NOTHING = 1 << 0 , COLLAPSIBLE = 1 << 1 , EXTENSIBLE = 1 << 2 , SAVE = 1 << 3 , LOAD = 1 << 4 } |
| GroupBoxModule options. More... | |
Public Member Functions | |
| FXVerticalFrame * | getCollapsableFrame () |
| get collapsable frame (used by all elements that will be collapsed if button is toggled) More... | |
| GNEElementTree (GNEFrame *frameParent) | |
| FOX-declaration. More... | |
| void | hideHierarchicalElementTree () |
| hide GNEElementTree More... | |
| long | onCmdCollapseButton (FXObject *, FXSelector, void *) |
| collapse GroupBoxModule More... | |
| long | onCmdExtendButton (FXObject *, FXSelector, void *) |
| extends GroupBoxModule More... | |
| long | onCmdLoadButton (FXObject *, FXSelector, void *) |
| load contents More... | |
| long | onCmdResetButton (FXObject *, FXSelector, void *) |
| reset GroupBoxModule More... | |
| long | onCmdSaveButton (FXObject *, FXSelector, void *) |
| save contents More... | |
| long | onPaint (FXObject *, FXSelector, void *) |
| draw MFXGroupBoxModule More... | |
| long | onUpdResetButton (FXObject *, FXSelector, void *) |
| update reset GroupBoxModule More... | |
| void | refreshHierarchicalElementTree () |
| refresh GNEElementTree More... | |
| void | removeCurrentEditedAttributeCarrier (const GNEAttributeCarrier *HE) |
| if given AttributeCarrier is the same of myHE, set it as nullptr More... | |
| void | setText (const std::string &text) |
| set text More... | |
| void | showHierarchicalElementTree (GNEAttributeCarrier *AC) |
| show GNEElementTree More... | |
| ~GNEElementTree () | |
| destructor More... | |
FOX-callbacks | |
called when user press right click over an item of list of children | |
| long | onCmdShowChildMenu (FXObject *, FXSelector, void *data) |
| long | onCmdCenterItem (FXObject *, FXSelector, void *) |
| called when user click over option "center" of child Menu More... | |
| long | onCmdInspectItem (FXObject *, FXSelector, void *) |
| called when user click over option "inspect" of child menu More... | |
| long | onCmdDeleteItem (FXObject *, FXSelector, void *) |
| called when user click over option "delete" of child menu More... | |
| long | onCmdMoveItemUp (FXObject *, FXSelector, void *) |
| called when user click over option "Move up" of child menu More... | |
| long | onCmdMoveItemDown (FXObject *, FXSelector, void *) |
| called when user click over option "Move down" of child menu More... | |
Protected Member Functions | |
| FXTreeItem * | addListItem (FXTreeItem *itemParent, const std::string &text, FXIcon *icon, bool expanded) |
| add item into list More... | |
| FXTreeItem * | addListItem (GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="") |
| add item into list More... | |
| void | createPopUpMenu (int X, int Y, GNEAttributeCarrier *clickedAC) |
| virtual bool | loadContents () const |
| load contents (can be reimplemented in children) More... | |
| virtual bool | saveContents () const |
| save contents (can be reimplemented in children) More... | |
| FXTreeItem * | showAttributeCarrierParents () |
| show child of current attributeCarrier More... | |
| void | showHierarchicalElementChildren (GNEHierarchicalElement *HE, FXTreeItem *itemParent) |
| show children of given hierarchical element More... | |
| void | toggleSaveButton (const bool value) |
| enable or disable save buttons More... | |
Private Attributes | |
| GNEAttributeCarrier * | myClickedAC |
| pointer to current clicked Attribute Carrier More... | |
| GNEAdditional * | myClickedAdditional |
| additional (casted from myClickedAC) More... | |
| GNEConnection * | myClickedConnection |
| junction (casted from myClickedAC) More... | |
| GNECrossing * | myClickedCrossing |
| crossing (casted from myClickedAC) More... | |
| GNEDataInterval * | myClickedDataInterval |
| data interval element (casted from myClickedAC) More... | |
| GNEDataSet * | myClickedDataSet |
| data set element (casted from myClickedAC) More... | |
| GNEDemandElement * | myClickedDemandElement |
| demand element (casted from myClickedAC) More... | |
| GNEEdge * | myClickedEdge |
| edge (casted from myClickedAC) More... | |
| GNEGenericData * | myClickedGenericData |
| generic data element (casted from myClickedAC) More... | |
| GNEJunction * | myClickedJunction |
| junction (casted from myClickedAC) More... | |
| GNELane * | myClickedLane |
| lane (casted from myClickedAC) More... | |
| FXVerticalFrame * | myCollapsableFrame = nullptr |
| vertical collapsable frame More... | |
| FXButton * | myCollapseButton = nullptr |
| button for collapse elements More... | |
| bool | myCollapsed |
| flag to check if this groupbox is collapsed More... | |
| FXButton * | myExtendButton = nullptr |
| button for extend elements More... | |
| GNEFrame * | myFrameParent |
| frame Parent More... | |
| GNEHierarchicalElement * | myHE |
| hierarchical element More... | |
| FXLabel * | myLabel = nullptr |
| label used in non collapsable MFXGroupBoxModule More... | |
| FXButton * | myLoadButton = nullptr |
| button for load elements More... | |
| const int | myOptions |
| GroupBoxModule options. More... | |
| FXButton * | myResetWidthButton = nullptr |
| button for reset frame width More... | |
| FXButton * | mySaveButton = nullptr |
| button for save elements More... | |
| std::set< FXTreeItem * > | myTreeItemsConnections |
| set used to save tree items without AC assigned, the Incoming/Outcoming connections More... | |
| std::map< FXTreeItem *, GNEAttributeCarrier * > | myTreeItemToACMap |
| map used to save the FXTreeItems items with their vinculated AC More... | |
| MFXTreeListDynamic * | myTreeListDynamic = nullptr |
| tree list dynamic to show the children of the element to erase More... | |
Definition at line 38 of file GNEElementTree.h.
|
inherited |
GroupBoxModule options.
| Enumerator | |
|---|---|
| NOTHING | |
| COLLAPSIBLE | |
| EXTENSIBLE | |
| SAVE | |
| LOAD | |
Definition at line 37 of file MFXGroupBoxModule.h.
| GNEElementTree::GNEElementTree | ( | GNEFrame * | frameParent | ) |
FOX-declaration.
constructor
Definition at line 61 of file GNEElementTree.cpp.
References GUIDesignTreeListDinamic, and MID_GNE_ACHIERARCHY_SHOWCHILDMENU.
| GNEElementTree::~GNEElementTree | ( | ) |
destructor
Definition at line 82 of file GNEElementTree.cpp.
|
protected |
add item into list
Definition at line 951 of file GNEElementTree.cpp.
References MFXTreeListDynamic::appendItem(), and myTreeListDynamic.
|
protected |
add item into list
Definition at line 938 of file GNEElementTree.cpp.
References MFXTreeListDynamic::appendItem(), GNEAttributeCarrier::getACIcon(), GNEAttributeCarrier::getHierarchyName(), myTreeItemToACMap, and myTreeListDynamic.
Referenced by showAttributeCarrierParents(), and showHierarchicalElementChildren().
|
protected |
Definition at line 291 of file GNEElementTree.cpp.
References GUIDesigns::buildFXMenuCommand(), GNEAttributeCarrier::getACIcon(), GNENet::getAttributeCarriers(), GUIMainWindow::getBoldFont(), MFXTreeListDynamic::getFXWindow(), GNEViewParent::getGUIMainWindow(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getPopUpID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNEFrameAttributeModules::isSupermodeValid(), GNETagProperties::isVehicleType(), MID_GNE_CENTER, MID_GNE_DELETE, MID_GNE_INSPECT, MODEDELETE, MODEINSPECT, myClickedAC, myClickedAdditional, myClickedConnection, myClickedCrossing, myClickedDataInterval, myClickedDataSet, myClickedDemandElement, myClickedEdge, myClickedGenericData, myClickedJunction, myClickedLane, myFrameParent, myTreeListDynamic, RECENTERVIEW, SUMO_TAG_DATAINTERVAL, and SUMO_TAG_DATASET.
Referenced by onCmdShowChildMenu().
|
inherited |
get collapsable frame (used by all elements that will be collapsed if button is toggled)
Definition at line 118 of file MFXGroupBoxModule.cpp.
References MFXGroupBoxModule::myCollapsableFrame.
Referenced by GNEInspectorFrame::AdditionalDialog::AdditionalDialog(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNEFrameAttributeModules::AttributesEditorExtended::AttributesEditorExtended(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEOverlappedInspection::buildFXElements(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), DemandElementSelector::DemandElementSelector(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEFrameAttributeModules::GenericDataAttributes::GenericDataAttributes(), GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor(), GNEM_PathLegend::GNEM_PathLegend(), GNEPathCreator::GNEPathCreator(), GNESelectorParent::GNESelectorParent(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNECrossingFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNETAZRelDataFrame::Legend::Legend(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEMoveFrame::NetworkModeOptions::NetworkModeOptions(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNENeteditAttributes::onCmdHelp(), GNEOverlappedInspection::onCmdOverlappingHelp(), GNEInspectorFrame::ParametersEditor::ParametersEditor(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNEAttributesCreator::refreshRows(), GNEProhibitionFrame::Selection::Selection(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZCommonStatistics::TAZCommonStatistics(), GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic(), GNETAZFrame::TAZParameters::TAZParameters(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNETAZFrame::TAZSelectionStatistics::TAZSelectionStatistics(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETypeFrame::TypeEditor::TypeEditor(), GNESelectorFrame::VisualScaling::VisualScaling(), and GNETypeFrame::VTypeDistributions::VTypeDistributions().
| void GNEElementTree::hideHierarchicalElementTree | ( | ) |
hide GNEElementTree
Definition at line 101 of file GNEElementTree.cpp.
References MFXTreeListDynamic::hide(), myClickedAC, myClickedAdditional, myClickedConnection, myClickedCrossing, myClickedDataInterval, myClickedDataSet, myClickedDemandElement, myClickedEdge, myClickedGenericData, myClickedJunction, myClickedLane, myHE, and myTreeListDynamic.
Referenced by GNEContainerPlanFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEInspectorFrame::inspectMultisection(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEContainerPlanFrame::tagSelected(), and GNEPersonPlanFrame::tagSelected().
|
protectedvirtualinherited |
load contents (can be reimplemented in children)
Definition at line 226 of file MFXGroupBoxModule.cpp.
Referenced by MFXGroupBoxModule::onCmdLoadButton().
| long GNEElementTree::onCmdCenterItem | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user click over option "center" of child Menu
Definition at line 159 of file GNEElementTree.cpp.
References GUISUMOAbstractView::centerTo(), GUIGlObject::getGlID(), GNEFrame::getViewNet(), myClickedAdditional, myClickedConnection, myClickedCrossing, myClickedDemandElement, myClickedEdge, myClickedGenericData, myClickedJunction, myClickedLane, myFrameParent, and GNEViewNet::updateViewNet().
Referenced by FXDEFMAP().
|
inherited |
collapse GroupBoxModule
Definition at line 137 of file MFXGroupBoxModule.cpp.
References COLLAPSE, GUIIconSubSys::getIcon(), MFXGroupBoxModule::myCollapsableFrame, MFXGroupBoxModule::myCollapseButton, MFXGroupBoxModule::myCollapsed, and UNCOLLAPSE.
Referenced by FXDEFMAP().
| long GNEElementTree::onCmdDeleteItem | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user click over option "delete" of child menu
Definition at line 194 of file GNEElementTree.cpp.
References GNENet::deleteAdditional(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteDataInterval(), GNENet::deleteDataSet(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteGenericData(), GNENet::deleteJunction(), GNENet::deleteLane(), GNEDemandElement::getAttribute(), GNEDataSet::getDataIntervalChildren(), GNEGenericData::getDataIntervalParent(), GNEDataInterval::getDataSetParent(), GNEDataInterval::getGenericDataChildren(), GNEViewNet::getInspectedAttributeCarriers(), GNEViewParent::getInspectorFrame(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEFAULT_VTYPE, GNEInspectorFrame::inspectSingleElement(), GNETagProperties::isPersonPlan(), myClickedAC, myClickedAdditional, myClickedConnection, myClickedCrossing, myClickedDataInterval, myClickedDataSet, myClickedDemandElement, myClickedEdge, myClickedGenericData, myClickedJunction, myClickedLane, myFrameParent, refreshHierarchicalElementTree(), SUMO_ATTR_ID, SUMO_TAG_VTYPE, GNEViewNet::updateViewNet(), and WRITE_WARNING.
Referenced by FXDEFMAP().
|
inherited |
extends GroupBoxModule
Definition at line 153 of file MFXGroupBoxModule.cpp.
References GNEFrame::getScrollBarWidth(), GNETLSEditorFrame::TLSPhases::getTLSEditorParent(), GNETLSTable::getTLSPhasesParent(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), MFXGroupBoxModule::myCollapsableFrame, MFXGroupBoxModule::myFrameParent, and GNEViewParent::setFrameAreaWidth().
Referenced by FXDEFMAP().
| long GNEElementTree::onCmdInspectItem | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user click over option "inspect" of child menu
Definition at line 185 of file GNEElementTree.cpp.
References GNEViewParent::getInspectorFrame(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNEInspectorFrame::inspectChild(), myClickedAC, myFrameParent, and myHE.
Referenced by FXDEFMAP().
|
inherited |
load contents
Definition at line 207 of file MFXGroupBoxModule.cpp.
References MFXGroupBoxModule::loadContents().
Referenced by FXDEFMAP().
| long GNEElementTree::onCmdMoveItemDown | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user click over option "Move down" of child menu
Definition at line 275 of file GNEElementTree.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNETagProperties::getGUIIcon(), GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), myClickedDemandElement, myFrameParent, and refreshHierarchicalElementTree().
Referenced by FXDEFMAP().
| long GNEElementTree::onCmdMoveItemUp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user click over option "Move up" of child menu
Definition at line 259 of file GNEElementTree.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNETagProperties::getGUIIcon(), GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), myClickedDemandElement, myFrameParent, and refreshHierarchicalElementTree().
Referenced by FXDEFMAP().
|
inherited |
reset GroupBoxModule
Definition at line 179 of file MFXGroupBoxModule.cpp.
References GNEFrame::getViewNet(), GNEViewNet::getViewParent(), MFXGroupBoxModule::myFrameParent, and GNEViewParent::setFrameAreaWidth().
Referenced by FXDEFMAP().
|
inherited |
save contents
Definition at line 201 of file MFXGroupBoxModule.cpp.
References MFXGroupBoxModule::saveContents().
Referenced by FXDEFMAP().
| long GNEElementTree::onCmdShowChildMenu | ( | FXObject * | , |
| FXSelector | , | ||
| void * | data | ||
| ) |
Definition at line 145 of file GNEElementTree.cpp.
References createPopUpMenu(), MFXTreeListDynamic::getItemAt(), myTreeItemsConnections, myTreeItemToACMap, and myTreeListDynamic.
Referenced by FXDEFMAP().
|
inherited |
draw MFXGroupBoxModule
Definition at line 124 of file MFXGroupBoxModule.cpp.
Referenced by FXDEFMAP().
|
inherited |
update reset GroupBoxModule
Definition at line 188 of file MFXGroupBoxModule.cpp.
References GNEViewParent::getFrameAreaWidth(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), and MFXGroupBoxModule::myFrameParent.
Referenced by FXDEFMAP().
| void GNEElementTree::refreshHierarchicalElementTree | ( | ) |
refresh GNEElementTree
Definition at line 123 of file GNEElementTree.cpp.
References MFXTreeListDynamic::clearItems(), myHE, myTreeItemsConnections, myTreeItemToACMap, myTreeListDynamic, showAttributeCarrierParents(), and showHierarchicalElementChildren().
Referenced by GNEContainerPlanFrame::createPath(), GNEPersonPlanFrame::createPath(), onCmdDeleteItem(), onCmdMoveItemDown(), onCmdMoveItemUp(), showHierarchicalElementTree(), and GNEInspectorFrame::updateFrameAfterUndoRedo().
| void GNEElementTree::removeCurrentEditedAttributeCarrier | ( | const GNEAttributeCarrier * | HE | ) |
if given AttributeCarrier is the same of myHE, set it as nullptr
Definition at line 136 of file GNEElementTree.cpp.
References myHE.
Referenced by GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().
|
protectedvirtualinherited |
save contents (can be reimplemented in children)
Reimplemented in GNEFixDemandElements::FixOptions, and GNEFixNetworkElements::FixOptions.
Definition at line 219 of file MFXGroupBoxModule.cpp.
Referenced by MFXGroupBoxModule::onCmdSaveButton().
|
inherited |
set text
Definition at line 112 of file MFXGroupBoxModule.cpp.
References MFXGroupBoxModule::myLabel.
Referenced by GNETagSelector::setCurrentTagType(), and GNESelectorFrame::SelectionInformation::updateInformationLabel().
|
protected |
show child of current attributeCarrier
Definition at line 385 of file GNEElementTree.cpp.
References addListItem(), MFXTreeListDynamic::appendItem(), GNEAttributeCarrier::getACIcon(), GNENet::getAttributeCarriers(), GNEGenericData::getDataIntervalParent(), GNEDataInterval::getDataSetParent(), GNEConnection::getEdgeFrom(), GNEConnection::getEdgeTo(), GNEEdge::getFromJunction(), GNENetworkElement::getHierarchyName(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentAdditionals(), GNEHierarchicalElement::getParentDemandElements(), GNELane::getParentEdge(), GNEHierarchicalElement::getParentEdges(), GNEHierarchicalElement::getParentLanes(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEEdge::getToJunction(), GNEFrame::getViewNet(), GNE_TAG_POILANE, GNETagProperties::isAdditionalElement(), GNETagProperties::isDataElement(), GNETagProperties::isDemandElement(), GNETagProperties::isNetworkElement(), GNETagProperties::isTAZElement(), myFrameParent, myHE, myTreeItemToACMap, myTreeListDynamic, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveDataSet(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_DATAINTERVAL, SUMO_TAG_DATASET, SUMO_TAG_EDGE, SUMO_TAG_EDGEREL, SUMO_TAG_LANE, and toString().
Referenced by refreshHierarchicalElementTree().
|
protected |
show children of given hierarchical element
Definition at line 773 of file GNEElementTree.cpp.
References addListItem(), EDGE, GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildEdges(), GNEHierarchicalElement::getChildGenericDatas(), GNEHierarchicalElement::getChildLanes(), GNEDataSet::getDataIntervalChildren(), GNEDataInterval::getGenericDataChildren(), GNEJunction::getGNECrossings(), GNELane::getGNEIncomingConnections(), GNELane::getGNEOutcomingConnections(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::getID(), GNEEdge::getLanes(), GNEViewNet::getNet(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEFrame::getViewNet(), GNETagProperties::isAdditionalElement(), GNETagProperties::isDataElement(), GNETagProperties::isDemandElement(), GNETagProperties::isNetworkElement(), LANE, myFrameParent, GNENetHelper::AttributeCarriers::retrieveDataSet(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveJunction(), GNENetHelper::AttributeCarriers::retrieveLane(), showHierarchicalElementChildren(), SUMO_ATTR_EDGES, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_DATAINTERVAL, SUMO_TAG_DATASET, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, and SUPERMODEDATA.
Referenced by refreshHierarchicalElementTree(), and showHierarchicalElementChildren().
| void GNEElementTree::showHierarchicalElementTree | ( | GNEAttributeCarrier * | AC | ) |
show GNEElementTree
Definition at line 86 of file GNEElementTree.cpp.
References myHE, myTreeListDynamic, refreshHierarchicalElementTree(), and MFXTreeListDynamic::show().
Referenced by GNEInspectorFrame::inspectMultisection(), GNEContainerPlanFrame::tagSelected(), and GNEPersonPlanFrame::tagSelected().
|
protectedinherited |
enable or disable save buttons
Definition at line 233 of file MFXGroupBoxModule.cpp.
References MFXGroupBoxModule::mySaveButton.
|
private |
pointer to current clicked Attribute Carrier
Definition at line 108 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdDeleteItem(), and onCmdInspectItem().
|
private |
additional (casted from myClickedAC)
Definition at line 126 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
private |
junction (casted from myClickedAC)
Definition at line 123 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
private |
crossing (casted from myClickedAC)
Definition at line 120 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
private |
data interval element (casted from myClickedAC)
Definition at line 135 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), and onCmdDeleteItem().
|
private |
data set element (casted from myClickedAC)
Definition at line 132 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), and onCmdDeleteItem().
|
private |
demand element (casted from myClickedAC)
Definition at line 129 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), onCmdDeleteItem(), onCmdMoveItemDown(), and onCmdMoveItemUp().
|
private |
edge (casted from myClickedAC)
Definition at line 114 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
private |
generic data element (casted from myClickedAC)
Definition at line 138 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
private |
junction (casted from myClickedAC)
Definition at line 111 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
private |
lane (casted from myClickedAC)
Definition at line 117 of file GNEElementTree.h.
Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().
|
privateinherited |
vertical collapsable frame
Definition at line 102 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::getCollapsableFrame(), MFXGroupBoxModule::MFXGroupBoxModule(), MFXGroupBoxModule::onCmdCollapseButton(), and MFXGroupBoxModule::onCmdExtendButton().
|
privateinherited |
button for collapse elements
Definition at line 108 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::onCmdCollapseButton().
|
privateinherited |
flag to check if this groupbox is collapsed
Definition at line 123 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::onCmdCollapseButton().
|
privateinherited |
button for extend elements
Definition at line 111 of file MFXGroupBoxModule.h.
|
private |
frame Parent
Definition at line 102 of file GNEElementTree.h.
Referenced by createPopUpMenu(), onCmdCenterItem(), onCmdDeleteItem(), onCmdInspectItem(), onCmdMoveItemDown(), onCmdMoveItemUp(), showAttributeCarrierParents(), and showHierarchicalElementChildren().
|
private |
hierarchical element
Definition at line 105 of file GNEElementTree.h.
Referenced by hideHierarchicalElementTree(), onCmdInspectItem(), refreshHierarchicalElementTree(), removeCurrentEditedAttributeCarrier(), showAttributeCarrierParents(), and showHierarchicalElementTree().
|
privateinherited |
label used in non collapsable MFXGroupBoxModule
Definition at line 105 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::setText().
|
privateinherited |
button for load elements
Definition at line 120 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::MFXGroupBoxModule().
|
privateinherited |
GroupBoxModule options.
Definition at line 96 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::MFXGroupBoxModule().
|
privateinherited |
button for reset frame width
Definition at line 114 of file MFXGroupBoxModule.h.
|
privateinherited |
button for save elements
Definition at line 117 of file MFXGroupBoxModule.h.
Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::toggleSaveButton().
|
private |
set used to save tree items without AC assigned, the Incoming/Outcoming connections
Definition at line 147 of file GNEElementTree.h.
Referenced by onCmdShowChildMenu(), and refreshHierarchicalElementTree().
|
private |
map used to save the FXTreeItems items with their vinculated AC
Definition at line 144 of file GNEElementTree.h.
Referenced by addListItem(), onCmdShowChildMenu(), refreshHierarchicalElementTree(), and showAttributeCarrierParents().
|
private |
tree list dynamic to show the children of the element to erase
Definition at line 141 of file GNEElementTree.h.
Referenced by addListItem(), createPopUpMenu(), hideHierarchicalElementTree(), onCmdShowChildMenu(), refreshHierarchicalElementTree(), showAttributeCarrierParents(), and showHierarchicalElementTree().