Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEElementTree Class Reference

#include <GNEElementTree.h>

Inheritance diagram for GNEElementTree:
[legend]
Collaboration diagram for GNEElementTree:
[legend]

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)
 
 GNEElementTree (GNEFrame *frameParent)
 FOX-declaration.
 
void hideHierarchicalElementTree ()
 hide GNEElementTree
 
long onCmdCollapseButton (FXObject *, FXSelector, void *)
 collapse GroupBoxModule
 
long onCmdExtendButton (FXObject *, FXSelector, void *)
 extends GroupBoxModule
 
long onCmdLoadButton (FXObject *, FXSelector, void *)
 load contents
 
long onCmdResetButton (FXObject *, FXSelector, void *)
 reset GroupBoxModule
 
long onCmdSaveButton (FXObject *, FXSelector, void *)
 save contents
 
long onPaint (FXObject *, FXSelector, void *)
 draw MFXGroupBoxModule
 
long onUpdResetButton (FXObject *, FXSelector, void *)
 update reset GroupBoxModule
 
void refreshHierarchicalElementTree ()
 refresh GNEElementTree
 
void removeCurrentEditedAttributeCarrier (const GNEAttributeCarrier *HE)
 if given AttributeCarrier is the same of myHE, set it as nullptr
 
void setText (const std::string &text)
 set text
 
void showHierarchicalElementTree (GNEAttributeCarrier *AC)
 show GNEElementTree
 
 ~GNEElementTree ()
 destructor
 
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
 
long onCmdInspectItem (FXObject *, FXSelector, void *)
 called when user click over option "inspect" of child menu
 
long onCmdDeleteItem (FXObject *, FXSelector, void *)
 called when user click over option "delete" of child menu
 
long onCmdMoveItemUp (FXObject *, FXSelector, void *)
 called when user click over option "Move up" of child menu
 
long onCmdMoveItemDown (FXObject *, FXSelector, void *)
 called when user click over option "Move down" of child menu
 

Protected Member Functions

FXTreeItem * addListItem (FXTreeItem *itemParent, const std::string &text, FXIcon *icon, bool expanded)
 add item into list
 
FXTreeItem * addListItem (GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="")
 add item into list
 
void createPopUpMenu (int X, int Y, GNEAttributeCarrier *clickedAC)
 
virtual bool loadContents () const
 load contents (can be reimplemented in children)
 
virtual bool saveContents () const
 save contents (can be reimplemented in children)
 
FXTreeItem * showAttributeCarrierParents ()
 show child of current attributeCarrier
 
void showHierarchicalElementChildren (GNEHierarchicalElement *HE, FXTreeItem *itemParent)
 show children of given hierarchical element
 
void toggleSaveButton (const bool value)
 enable or disable save buttons
 

Private Attributes

GNEAttributeCarriermyClickedAC
 pointer to current clicked Attribute Carrier
 
GNEAdditionalmyClickedAdditional
 additional (casted from myClickedAC)
 
GNEConnectionmyClickedConnection
 junction (casted from myClickedAC)
 
GNECrossingmyClickedCrossing
 crossing (casted from myClickedAC)
 
GNEDataIntervalmyClickedDataInterval
 data interval element (casted from myClickedAC)
 
GNEDataSetmyClickedDataSet
 data set element (casted from myClickedAC)
 
GNEDemandElementmyClickedDemandElement
 demand element (casted from myClickedAC)
 
GNEEdgemyClickedEdge
 edge (casted from myClickedAC)
 
GNEGenericDatamyClickedGenericData
 generic data element (casted from myClickedAC)
 
GNEJunctionmyClickedJunction
 junction (casted from myClickedAC)
 
GNELanemyClickedLane
 lane (casted from myClickedAC)
 
FXVerticalFrame * myCollapsableFrame = nullptr
 vertical collapsable frame
 
FXButton * myCollapseButton = nullptr
 button for collapse elements
 
bool myCollapsed
 flag to check if this groupbox is collapsed
 
MFXButtonTooltipmyExtendButton = nullptr
 button for extend elements
 
GNEFramemyFrameParent
 frame Parent
 
GNEHierarchicalElementmyHE
 hierarchical element
 
FXLabel * myLabel = nullptr
 label used in non collapsable MFXGroupBoxModule
 
FXButton * myLoadButton = nullptr
 button for load elements
 
const int myOptions
 GroupBoxModule options.
 
FXButton * myResetWidthButton = nullptr
 button for reset frame width
 
FXButton * mySaveButton = nullptr
 button for save elements
 
std::set< FXTreeItem * > myTreeItemsConnections
 set used to save tree items without AC assigned, the Incoming/Outcoming connections
 
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
 map used to save the FXTreeItems items with their vinculated AC
 
MFXTreeListDynamicmyTreeListDynamic = nullptr
 tree list dynamic to show the children of the element to erase
 

Detailed Description

Definition at line 38 of file GNEElementTree.h.

Member Enumeration Documentation

◆ Options

GroupBoxModule options.

Enumerator
NOTHING 
COLLAPSIBLE 
EXTENSIBLE 
SAVE 
LOAD 

Definition at line 38 of file MFXGroupBoxModule.h.

Constructor & Destructor Documentation

◆ GNEElementTree()

GNEElementTree::GNEElementTree ( GNEFrame frameParent)

FOX-declaration.

constructor

Definition at line 61 of file GNEElementTree.cpp.

References GUIDesignTreeListFixedHeight, and MID_GNE_ACHIERARCHY_SHOWCHILDMENU.

◆ ~GNEElementTree()

GNEElementTree::~GNEElementTree ( )

destructor

Definition at line 82 of file GNEElementTree.cpp.

Member Function Documentation

◆ addListItem() [1/2]

FXTreeItem * GNEElementTree::addListItem ( FXTreeItem *  itemParent,
const std::string &  text,
FXIcon *  icon,
bool  expanded 
)
protected

add item into list

Definition at line 952 of file GNEElementTree.cpp.

References MFXTreeListDynamic::appendItem(), and myTreeListDynamic.

◆ addListItem() [2/2]

FXTreeItem * GNEElementTree::addListItem ( GNEAttributeCarrier AC,
FXTreeItem *  itemParent = nullptr,
std::string  prefix = "",
std::string  sufix = "" 
)
protected

add item into list

Definition at line 939 of file GNEElementTree.cpp.

References MFXTreeListDynamic::appendItem(), GNEAttributeCarrier::getACIcon(), GNEAttributeCarrier::getHierarchyName(), myTreeItemToACMap, and myTreeListDynamic.

Referenced by showAttributeCarrierParents(), and showHierarchicalElementChildren().

Here is the caller graph for this function:

◆ createPopUpMenu()

◆ getCollapsableFrame()

FXVerticalFrame * MFXGroupBoxModule::getCollapsableFrame ( )
inherited

get collapsable frame (used by all elements that will be collapsed if button is toggled)

Definition at line 123 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(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEFrameAttributeModules::GenericDataAttributes::GenericDataAttributes(), GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEOptionsDialog::GNEOptionsDialog(), GNEPathCreator::GNEPathCreator(), GNEPathLegendModule::GNEPathLegendModule(), GNEPlanCreator::GNEPlanCreator(), GNEPlanCreatorLegend::GNEPlanCreatorLegend(), GNESelectorParent::GNESelectorParent(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNEAdditionalFrame::HelpCreationModule::HelpCreationModule(), GNECrossingFrame::Information::Information(), GNEMoveFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNETAZRelDataFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataEditor::MeanDataEditor(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEMoveFrame::NetworkModeOptions::NetworkModeOptions(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNENeteditAttributes::onCmdHelp(), GNEOverlappedInspection::onCmdOverlappingHelp(), GNEFrameAttributeModules::ParametersEditor::ParametersEditor(), GNEFrameAttributeModules::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(), and GNESelectorFrame::VisualScaling::VisualScaling().

◆ hideHierarchicalElementTree()

◆ loadContents()

bool MFXGroupBoxModule::loadContents ( ) const
protectedvirtualinherited

load contents (can be reimplemented in children)

Definition at line 231 of file MFXGroupBoxModule.cpp.

Referenced by MFXGroupBoxModule::onCmdLoadButton().

Here is the caller graph for this function:

◆ onCmdCenterItem()

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().

Here is the caller graph for this function:

◆ onCmdCollapseButton()

long MFXGroupBoxModule::onCmdCollapseButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

collapse GroupBoxModule

Definition at line 142 of file MFXGroupBoxModule.cpp.

References COLLAPSE, GUIIconSubSys::getIcon(), MFXGroupBoxModule::myCollapsableFrame, MFXGroupBoxModule::myCollapseButton, MFXGroupBoxModule::myCollapsed, and UNCOLLAPSE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDeleteItem()

long GNEElementTree::onCmdDeleteItem ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdExtendButton()

long MFXGroupBoxModule::onCmdExtendButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

extends GroupBoxModule

Definition at line 158 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().

Here is the caller graph for this function:

◆ onCmdInspectItem()

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().

Here is the caller graph for this function:

◆ onCmdLoadButton()

long MFXGroupBoxModule::onCmdLoadButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

load contents

Definition at line 212 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::loadContents().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdMoveItemDown()

long GNEElementTree::onCmdMoveItemDown ( FXObject *  ,
FXSelector  ,
void *   
)

called when user click over option "Move down" of child menu

Definition at line 276 of file GNEElementTree.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEChange_Children::MOVE_FRONT, myClickedDemandElement, myFrameParent, and refreshHierarchicalElementTree().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdMoveItemUp()

long GNEElementTree::onCmdMoveItemUp ( FXObject *  ,
FXSelector  ,
void *   
)

called when user click over option "Move up" of child menu

Definition at line 260 of file GNEElementTree.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEChange_Children::MOVE_BACK, myClickedDemandElement, myFrameParent, and refreshHierarchicalElementTree().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetButton()

long MFXGroupBoxModule::onCmdResetButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

reset GroupBoxModule

Definition at line 184 of file MFXGroupBoxModule.cpp.

References GNEFrame::getViewNet(), GNEViewNet::getViewParent(), MFXGroupBoxModule::myFrameParent, and GNEViewParent::setFrameAreaWidth().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveButton()

long MFXGroupBoxModule::onCmdSaveButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

save contents

Definition at line 206 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::saveContents().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowChildMenu()

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().

Here is the caller graph for this function:

◆ onPaint()

long MFXGroupBoxModule::onPaint ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
inherited

draw MFXGroupBoxModule

Definition at line 129 of file MFXGroupBoxModule.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdResetButton()

long MFXGroupBoxModule::onUpdResetButton ( FXObject *  sender,
FXSelector  ,
void *   
)
inherited

update reset GroupBoxModule

Definition at line 193 of file MFXGroupBoxModule.cpp.

References GNEViewParent::getFrameAreaWidth(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), and MFXGroupBoxModule::myFrameParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ refreshHierarchicalElementTree()

void GNEElementTree::refreshHierarchicalElementTree ( )

◆ removeCurrentEditedAttributeCarrier()

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().

Here is the caller graph for this function:

◆ saveContents()

bool MFXGroupBoxModule::saveContents ( ) const
protectedvirtualinherited

save contents (can be reimplemented in children)

Reimplemented in GNEFixDemandElements::FixOptions, and GNEFixNetworkElements::FixOptions.

Definition at line 224 of file MFXGroupBoxModule.cpp.

Referenced by MFXGroupBoxModule::onCmdSaveButton().

Here is the caller graph for this function:

◆ setText()

void MFXGroupBoxModule::setText ( const std::string &  text)
inherited

set text

Definition at line 117 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::myLabel.

Referenced by GNETagSelector::setCurrentTagType(), and GNESelectorFrame::SelectionInformation::updateInformationLabel().

Here is the caller graph for this function:

◆ showAttributeCarrierParents()

FXTreeItem * GNEElementTree::showAttributeCarrierParents ( )
protected

show child of current attributeCarrier

Definition at line 386 of file GNEElementTree.cpp.

References addListItem(), MFXTreeListDynamic::appendItem(), GNEAttributeCarrier::getACIcon(), GNENet::getAttributeCarriers(), GNEGenericData::getDataIntervalParent(), GNEDataInterval::getDataSetParent(), GNEConnection::getEdgeFrom(), GNEConnection::getEdgeTo(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getGUIGlObject(), 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, TL, and toString().

Referenced by refreshHierarchicalElementTree().

Here is the caller graph for this function:

◆ showHierarchicalElementChildren()

void GNEElementTree::showHierarchicalElementChildren ( GNEHierarchicalElement HE,
FXTreeItem *  itemParent 
)
protected

show children of given hierarchical element

Definition at line 774 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, SUPERMODEDATA, and TL.

Referenced by refreshHierarchicalElementTree(), and showHierarchicalElementChildren().

Here is the caller graph for this function:

◆ showHierarchicalElementTree()

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().

Here is the caller graph for this function:

◆ toggleSaveButton()

void MFXGroupBoxModule::toggleSaveButton ( const bool  value)
protectedinherited

enable or disable save buttons

Definition at line 238 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::mySaveButton.

Field Documentation

◆ myClickedAC

GNEAttributeCarrier* GNEElementTree::myClickedAC
private

pointer to current clicked Attribute Carrier

Definition at line 108 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdDeleteItem(), and onCmdInspectItem().

◆ myClickedAdditional

GNEAdditional* GNEElementTree::myClickedAdditional
private

additional (casted from myClickedAC)

Definition at line 126 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myClickedConnection

GNEConnection* GNEElementTree::myClickedConnection
private

junction (casted from myClickedAC)

Definition at line 123 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myClickedCrossing

GNECrossing* GNEElementTree::myClickedCrossing
private

crossing (casted from myClickedAC)

Definition at line 120 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myClickedDataInterval

GNEDataInterval* GNEElementTree::myClickedDataInterval
private

data interval element (casted from myClickedAC)

Definition at line 135 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), and onCmdDeleteItem().

◆ myClickedDataSet

GNEDataSet* GNEElementTree::myClickedDataSet
private

data set element (casted from myClickedAC)

Definition at line 132 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), and onCmdDeleteItem().

◆ myClickedDemandElement

GNEDemandElement* GNEElementTree::myClickedDemandElement
private

demand element (casted from myClickedAC)

Definition at line 129 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), onCmdDeleteItem(), onCmdMoveItemDown(), and onCmdMoveItemUp().

◆ myClickedEdge

GNEEdge* GNEElementTree::myClickedEdge
private

edge (casted from myClickedAC)

Definition at line 114 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myClickedGenericData

GNEGenericData* GNEElementTree::myClickedGenericData
private

generic data element (casted from myClickedAC)

Definition at line 138 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myClickedJunction

GNEJunction* GNEElementTree::myClickedJunction
private

junction (casted from myClickedAC)

Definition at line 111 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myClickedLane

GNELane* GNEElementTree::myClickedLane
private

lane (casted from myClickedAC)

Definition at line 117 of file GNEElementTree.h.

Referenced by createPopUpMenu(), hideHierarchicalElementTree(), onCmdCenterItem(), and onCmdDeleteItem().

◆ myCollapsableFrame

FXVerticalFrame* MFXGroupBoxModule::myCollapsableFrame = nullptr
privateinherited

◆ myCollapseButton

FXButton* MFXGroupBoxModule::myCollapseButton = nullptr
privateinherited

button for collapse elements

Definition at line 109 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::onCmdCollapseButton().

◆ myCollapsed

bool MFXGroupBoxModule::myCollapsed
privateinherited

flag to check if this groupbox is collapsed

Definition at line 124 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::onCmdCollapseButton().

◆ myExtendButton

MFXButtonTooltip* MFXGroupBoxModule::myExtendButton = nullptr
privateinherited

button for extend elements

Definition at line 112 of file MFXGroupBoxModule.h.

◆ myFrameParent

◆ myHE

◆ myLabel

FXLabel* MFXGroupBoxModule::myLabel = nullptr
privateinherited

label used in non collapsable MFXGroupBoxModule

Definition at line 106 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::setText().

◆ myLoadButton

FXButton* MFXGroupBoxModule::myLoadButton = nullptr
privateinherited

button for load elements

Definition at line 121 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule().

◆ myOptions

const int MFXGroupBoxModule::myOptions
privateinherited

GroupBoxModule options.

Definition at line 97 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule().

◆ myResetWidthButton

FXButton* MFXGroupBoxModule::myResetWidthButton = nullptr
privateinherited

button for reset frame width

Definition at line 115 of file MFXGroupBoxModule.h.

◆ mySaveButton

FXButton* MFXGroupBoxModule::mySaveButton = nullptr
privateinherited

button for save elements

Definition at line 118 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::toggleSaveButton().

◆ myTreeItemsConnections

std::set<FXTreeItem*> GNEElementTree::myTreeItemsConnections
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().

◆ myTreeItemToACMap

std::map<FXTreeItem*, GNEAttributeCarrier*> GNEElementTree::myTreeItemToACMap
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().

◆ myTreeListDynamic

MFXTreeListDynamic* GNEElementTree::myTreeListDynamic = nullptr
private

The documentation for this class was generated from the following files: