Eclipse SUMO - Simulation of Urban MObility
GNECreateEdgeFrame Class Reference

#include <GNECreateEdgeFrame.h>

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

Data Structures

class  EdgeTypeSelector
 
class  LaneTypeSelector
 
class  Legend
 

Public Member Functions

void abortEdgeCreation ()
 abort current edge creation More...
 
void focusUpperElement ()
 focus upper element of frame More...
 
virtual void frameWidthUpdated ()
 function called after setting new width in current frame (can be reimplemented in frame children) More...
 
FXVerticalFrame * getContentFrame () const
 get vertical frame that holds all widgets of frame More...
 
GNEAttributesCreatorgetEdgeTypeAttributes () const
 get edgeType attributes More...
 
EdgeTypeSelectorgetEdgeTypeSelector () const
 get edgeType selector More...
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame More...
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header More...
 
const GNEJunctiongetJunctionSource () const
 get junction source for new edge More...
 
GNEAttributesCreatorgetLaneTypeAttributes () const
 get laneType attributes More...
 
LaneTypeSelectorgetLaneTypeSelector ()
 get lane type selector More...
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden) More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNECreateEdgeFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor. More...
 
void hide ()
 hide create edge frame More...
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog. More...
 
void processClick (const Position &clickedPosition, const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const bool oppositeEdge, const bool chainEdge)
 handle processClick and set the relative colouring More...
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame More...
 
void setUseEdgeTemplate ()
 set default to using edge template More...
 
void show ()
 show create edge frame More...
 
virtual void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children) More...
 
void updateObjectsUnderSnappedCursor (const std::vector< GUIGlObject * > &GUIGlObjects)
 update objects under snapped cursor More...
 
 ~GNECreateEdgeFrame ()
 Destructor. More...
 
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety)
virtual void tagSelected ()
 Tag selected in GNETagSelector. More...
 
virtual void demandElementSelected ()
 selected demand element in DemandElementSelector More...
 
virtual bool shapeDrawed ()
 build a shaped element using the drawed shape More...
 
virtual void attributeUpdated ()
 function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/... More...
 
virtual void attributesEditorExtendedDialogOpened ()
 open GNEAttributesCreator extended dialog More...
 
virtual void selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog More...
 
virtual bool createPath (const bool useLastRoute)
 create path between two elements More...
 

Protected Member Functions

void addSidewalk (GNEEdge *edge) const
 disable pedestrians in the given edge (within undoRedo) More...
 
void disablePedestrians (GNEEdge *edge) const
 disable pedestrians in the given edge (within undoRedo) More...
 
const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML More...
 

Static Protected Member Functions

static FXLabel * buildRainbow (FXComposite *parent)
 build rainbow in frame modul More...
 

Protected Attributes

FXVerticalFrame * myContentFrame = nullptr
 Vertical frame that holds all widgets of frame. More...
 
GNEAttributesCreatormyEdgeTypeAttributes = nullptr
 internal edgeType attributes More...
 
EdgeTypeSelectormyEdgeTypeSelector = nullptr
 edge type selector More...
 
FXHorizontalFrame * myHeaderFrame = nullptr
 fame for header elements More...
 
FXHorizontalFrame * myHeaderLeftFrame = nullptr
 fame for left header elements More...
 
FXHorizontalFrame * myHeaderRightFrame = nullptr
 fame for right header elements More...
 
GNEAttributesCreatormyLaneTypeAttributes = nullptr
 internal laneType attributes More...
 
GNECreateEdgeFrame::LaneTypeSelectormyLaneTypeSelector = nullptr
 lane type selector More...
 
GNECreateEdgeFrame::LegendmyLegend = nullptr
 Legend. More...
 
GNEViewNetmyViewNet = nullptr
 FOX need this. More...
 

Private Attributes

GNEJunctionmyCreateEdgeSource
 source junction for new edge More...
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header More...
 
GNEViewNetHelper::ObjectsUnderCursor myObjectsUnderSnappedCursor
 objects under snapped cursor More...
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) More...
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame More...
 

Static Private Attributes

static FXFont * myFrameHeaderFont = nullptr
 static Font for the Header (it's common for all headers, then create only one time) More...
 

Detailed Description

The Widget for create edges

Definition at line 40 of file GNECreateEdgeFrame.h.

Constructor & Destructor Documentation

◆ GNECreateEdgeFrame()

GNECreateEdgeFrame::GNECreateEdgeFrame ( GNEViewParent viewParent,
GNEViewNet viewNet 
)

Constructor.

viewParent GNEViewParent in which this GNEFrame is placed

viewNet viewNet that uses this GNEFrame

Definition at line 641 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeAttributes, myEdgeTypeSelector, myLaneTypeAttributes, myLaneTypeSelector, and myLegend.

◆ ~GNECreateEdgeFrame()

GNECreateEdgeFrame::~GNECreateEdgeFrame ( )

Destructor.

Definition at line 658 of file GNECreateEdgeFrame.cpp.

Member Function Documentation

◆ abortEdgeCreation()

void GNECreateEdgeFrame::abortEdgeCreation ( )

abort current edge creation

Definition at line 763 of file GNECreateEdgeFrame.cpp.

References myCreateEdgeSource, and GNEJunction::unMarkAsCreateEdgeSource().

Referenced by GNEViewNet::abortOperation().

Here is the caller graph for this function:

◆ addSidewalk()

void GNECreateEdgeFrame::addSidewalk ( GNEEdge edge) const
protected

disable pedestrians in the given edge (within undoRedo)

Definition at line 852 of file GNECreateEdgeFrame.cpp.

References GNEEdge::getLanes(), GNEViewNet::getUndoList(), GNEFrame::myViewNet, GNEEdge::setAttribute(), SUMO_ATTR_ALLOW, SUMO_ATTR_NUMLANES, and toString().

Referenced by processClick().

Here is the caller graph for this function:

◆ attributesEditorExtendedDialogOpened()

void GNEFrame::attributesEditorExtendedDialogOpened ( )
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETypeFrame.

Definition at line 291 of file GNEFrame.cpp.

◆ attributeUpdated()

void GNEFrame::attributeUpdated ( )
virtualinherited

function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...

Reimplemented in GNEInspectorFrame, and GNETypeFrame.

Definition at line 285 of file GNEFrame.cpp.

◆ buildRainbow()

FXLabel * GNEFrame::buildRainbow ( FXComposite *  parent)
staticprotectedinherited

build rainbow in frame modul

Definition at line 316 of file GNEFrame.cpp.

References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabelCenterThick, and GUIDesignLabelLeft.

Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().

Here is the caller graph for this function:

◆ createPath()

bool GNEFrame::createPath ( const bool  useLastRoute)
virtualinherited

create path between two elements

Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.

Definition at line 303 of file GNEFrame.cpp.

Referenced by GNEPathCreator::createPath(), and GNEConsecutiveSelector::onCmdCreatePath().

Here is the caller graph for this function:

◆ demandElementSelected()

void GNEFrame::demandElementSelected ( )
virtualinherited

selected demand element in DemandElementSelector

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.

Definition at line 272 of file GNEFrame.cpp.

Referenced by DemandElementSelector::onCmdSelectDemandElement(), and DemandElementSelector::setDemandElement().

Here is the caller graph for this function:

◆ disablePedestrians()

void GNECreateEdgeFrame::disablePedestrians ( GNEEdge edge) const
protected

disable pedestrians in the given edge (within undoRedo)

Definition at line 833 of file GNECreateEdgeFrame.cpp.

References GNEEdge::getLanes(), GNEViewNet::getUndoList(), GNEFrame::myViewNet, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, and toString().

Referenced by processClick().

Here is the caller graph for this function:

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

focus upper element of frame

Definition at line 109 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ frameWidthUpdated()

void GNEFrame::frameWidthUpdated ( )
virtualinherited

function called after setting new width in current frame (can be reimplemented in frame children)

Reimplemented in GNETLSEditorFrame.

Definition at line 257 of file GNEFrame.cpp.

Referenced by GNEFrame::setFrameWidth().

Here is the caller graph for this function:

◆ getContentFrame()

FXVerticalFrame * GNEFrame::getContentFrame ( ) const
inherited

get vertical frame that holds all widgets of frame

Definition at line 156 of file GNEFrame.cpp.

References GNEFrame::myContentFrame.

◆ getEdgeTypeAttributes()

GNEAttributesCreator * GNECreateEdgeFrame::getEdgeTypeAttributes ( ) const

get edgeType attributes

Definition at line 808 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeAttributes.

Referenced by GNEEdgeType::setAttribute().

Here is the caller graph for this function:

◆ getEdgeTypeSelector()

GNECreateEdgeFrame::EdgeTypeSelector * GNECreateEdgeFrame::getEdgeTypeSelector ( ) const

get edgeType selector

Definition at line 802 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeSelector.

Referenced by GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdReloadEdgeTypes(), GNEChange_EdgeType::redo(), GNEEdgeType::setAttribute(), and GNEChange_EdgeType::undo().

Here is the caller graph for this function:

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 168 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 162 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().

Here is the caller graph for this function:

◆ getJunctionSource()

const GNEJunction * GNECreateEdgeFrame::getJunctionSource ( ) const

get junction source for new edge

Definition at line 774 of file GNECreateEdgeFrame.cpp.

References myCreateEdgeSource.

Referenced by GNEJunction::drawDottedContours(), and GNEViewNet::drawTemporalJunction().

Here is the caller graph for this function:

◆ getLaneTypeAttributes()

GNEAttributesCreator * GNECreateEdgeFrame::getLaneTypeAttributes ( ) const

get laneType attributes

Definition at line 820 of file GNECreateEdgeFrame.cpp.

References myLaneTypeAttributes.

Referenced by GNELaneType::setAttribute().

Here is the caller graph for this function:

◆ getLaneTypeSelector()

GNECreateEdgeFrame::LaneTypeSelector * GNECreateEdgeFrame::getLaneTypeSelector ( )

get lane type selector

Definition at line 814 of file GNECreateEdgeFrame.cpp.

References myLaneTypeSelector.

Referenced by GNEEdgeType::setAttribute().

Here is the caller graph for this function:

◆ getPredefinedTagsMML()

const std::vector< std::string > & GNEFrame::getPredefinedTagsMML ( ) const
protectedinherited

get predefinedTagsMML

Definition at line 310 of file GNEFrame.cpp.

References GNEFrame::myPredefinedTagsMML.

Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), and GNEVehicleFrame::createPath().

Here is the caller graph for this function:

◆ getScrollBarWidth()

int GNEFrame::getScrollBarWidth ( ) const
inherited

get scrollBar width (zero if is hidden)

Definition at line 174 of file GNEFrame.cpp.

References GNEFrame::myScrollWindowsContents.

Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().

Here is the caller graph for this function:

◆ getViewNet()

GNEViewNet * GNEFrame::getViewNet ( ) const
inherited

get view net

Definition at line 150 of file GNEFrame.cpp.

References GNEFrame::myViewNet.

Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPathCreator::addStoppingPlace(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEInspectorFrame::clearInspectedAC(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEInternalLane::drawGL(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEM_PathLegend::GNEM_PathLegend(), GNESingleParametersDialog::GNESingleParametersDialog(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAttributeDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), GNESingleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), DemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPathCreator::recalculatePath(), DemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETypeFrame::show(), GNEElementTree::showAttributeCarrierParents(), DemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEOverlappedInspection::showOverlappedInspection(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().

◆ hide()

void GNECreateEdgeFrame::hide ( )
virtual

hide create edge frame

Reimplemented from GNEFrame.

Definition at line 795 of file GNECreateEdgeFrame.cpp.

References GNEFrame::hide().

Referenced by GNECreateEdgeFrame::LaneTypeSelector::hideLaneTypeSelector().

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

void GNEFrame::openHelpAttributesDialog ( const GNEAttributeCarrier AC) const
inherited

◆ processClick()

void GNECreateEdgeFrame::processClick ( const Position clickedPosition,
const GNEViewNetHelper::ObjectsUnderCursor objectsUnderCursor,
const bool  oppositeEdge,
const bool  chainEdge 
)

handle processClick and set the relative colouring

Parameters
[in]clickedPositionclicked position over ViewNet
objectsUnderCursorcollection of objects under cursor after click over view
oppositeEdgeautomatically create an opposite edge
chainEdgecreate edges in chain mode

Definition at line 662 of file GNECreateEdgeFrame.cpp.

References addSidewalk(), GNEAttributesCreator::areValuesValid(), GNEUndoList::begin(), GNEEdge::copyEdgeType(), GNEEdge::copyTemplate(), GNENet::createEdge(), GNENet::createJunction(), disablePedestrians(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNECreateEdgeFrame::EdgeTypeSelector::getDefaultEdgeType(), GNEInspectorFrame::TemplateEditor::getEdgeTemplate(), GNECreateEdgeFrame::EdgeTypeSelector::getEdgeTypeSelected(), NBEdge::getID(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront(), GNEEdge::getNBEdge(), GNEViewNet::getNet(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), GNEUndoList::hasCommandGroup(), GNECreateEdgeFrame::EdgeTypeSelector::isAddSidewalkEnabled(), GNECreateEdgeFrame::EdgeTypeSelector::isNoPedestriansEnabled(), GNEJunction::markAsCreateEdgeSource(), myCreateEdgeSource, myEdgeTypeAttributes, myEdgeTypeSelector, myLaneTypeAttributes, myObjectsUnderSnappedCursor, GNEFrame::myViewNet, GNENetHelper::AttributeCarriers::retrieveEdges(), GNEViewNet::setStatusBarText(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_TAG_EDGE, TL, toString(), GNEJunction::unMarkAsCreateEdgeSource(), GNECreateEdgeFrame::EdgeTypeSelector::useDefaultEdgeType(), GNECreateEdgeFrame::EdgeTypeSelector::useEdgeTemplate(), and WRITE_WARNING.

Referenced by GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ selectedOverlappedElement()

void GNEFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.

Definition at line 297 of file GNEFrame.cpp.

Referenced by GNEOverlappedInspection::onCmdListItemSelected(), GNEOverlappedInspection::onCmdNextElement(), and GNEOverlappedInspection::onCmdPreviousElement().

Here is the caller graph for this function:

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( const int  newWidth)
inherited

set width of GNEFrame

Definition at line 133 of file GNEFrame.cpp.

References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMarging, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.

Referenced by GNEInspectorFrame::inspectMultisection().

Here is the caller graph for this function:

◆ setUseEdgeTemplate()

void GNECreateEdgeFrame::setUseEdgeTemplate ( )

◆ shapeDrawed()

bool GNEFrame::shapeDrawed ( )
virtualinherited

build a shaped element using the drawed shape

Reimplemented in GNEShapeFrame, and GNETAZFrame.

Definition at line 278 of file GNEFrame.cpp.

Referenced by GNEDrawingShape::stopDrawing().

Here is the caller graph for this function:

◆ show()

void GNECreateEdgeFrame::show ( )
virtual

show create edge frame

Reimplemented from GNEFrame.

Definition at line 786 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeSelector, GNECreateEdgeFrame::EdgeTypeSelector::refreshEdgeTypeSelector(), and GNEFrame::show().

Referenced by GNECreateEdgeFrame::LaneTypeSelector::showLaneTypeSelector(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ tagSelected()

void GNEFrame::tagSelected ( )
virtualinherited

Tag selected in GNETagSelector.

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.

Definition at line 266 of file GNEFrame.cpp.

Referenced by GNETagSelector::onCmdSelectTag(), GNETagSelector::refreshTagSelector(), GNETagSelector::setCurrentTag(), and GNETagSelector::setCurrentTagType().

Here is the caller graph for this function:

◆ updateFrameAfterUndoRedo()

void GNEFrame::updateFrameAfterUndoRedo ( )
virtualinherited

function called after undo/redo in the current frame (can be reimplemented in frame children)

Reimplemented in GNEInspectorFrame, GNESelectorFrame, and GNEGenericDataFrame.

Definition at line 251 of file GNEFrame.cpp.

Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().

Here is the caller graph for this function:

◆ updateObjectsUnderSnappedCursor()

void GNECreateEdgeFrame::updateObjectsUnderSnappedCursor ( const std::vector< GUIGlObject * > &  GUIGlObjects)

update objects under snapped cursor

Definition at line 780 of file GNECreateEdgeFrame.cpp.

References myObjectsUnderSnappedCursor, and GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor().

Referenced by GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame = nullptr
protectedinherited

Vertical frame that holds all widgets of frame.

Definition at line 120 of file GNEFrame.h.

Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().

◆ myCreateEdgeSource

GNEJunction* GNECreateEdgeFrame::myCreateEdgeSource
private

source junction for new edge

Definition at line 310 of file GNECreateEdgeFrame.h.

Referenced by abortEdgeCreation(), getJunctionSource(), and processClick().

◆ myEdgeTypeAttributes

GNEAttributesCreator* GNECreateEdgeFrame::myEdgeTypeAttributes = nullptr
protected

internal edgeType attributes

Definition at line 288 of file GNECreateEdgeFrame.h.

Referenced by getEdgeTypeAttributes(), GNECreateEdgeFrame(), and processClick().

◆ myEdgeTypeSelector

EdgeTypeSelector* GNECreateEdgeFrame::myEdgeTypeSelector = nullptr
protected

edge type selector

Definition at line 285 of file GNECreateEdgeFrame.h.

Referenced by getEdgeTypeSelector(), GNECreateEdgeFrame(), processClick(), setUseEdgeTemplate(), and show().

◆ myFrameHeaderFont

FXFont * GNEFrame::myFrameHeaderFont = nullptr
staticprivateinherited

static Font for the Header (it's common for all headers, then create only one time)

Definition at line 142 of file GNEFrame.h.

Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().

◆ myFrameHeaderLabel

FXLabel* GNEFrame::myFrameHeaderLabel = nullptr
privateinherited

the label for the frame's header

Definition at line 145 of file GNEFrame.h.

Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame = nullptr
protectedinherited

fame for header elements

Definition at line 123 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 129 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myLaneTypeAttributes

GNEAttributesCreator* GNECreateEdgeFrame::myLaneTypeAttributes = nullptr
protected

internal laneType attributes

Definition at line 294 of file GNECreateEdgeFrame.h.

Referenced by getLaneTypeAttributes(), GNECreateEdgeFrame(), and processClick().

◆ myLaneTypeSelector

GNECreateEdgeFrame::LaneTypeSelector* GNECreateEdgeFrame::myLaneTypeSelector = nullptr
protected

lane type selector

Definition at line 291 of file GNECreateEdgeFrame.h.

Referenced by getLaneTypeSelector(), and GNECreateEdgeFrame().

◆ myLegend

GNECreateEdgeFrame::Legend* GNECreateEdgeFrame::myLegend = nullptr
protected

Legend.

Definition at line 297 of file GNECreateEdgeFrame.h.

Referenced by GNECreateEdgeFrame().

◆ myObjectsUnderSnappedCursor

GNEViewNetHelper::ObjectsUnderCursor GNECreateEdgeFrame::myObjectsUnderSnappedCursor
private

objects under snapped cursor

Definition at line 307 of file GNECreateEdgeFrame.h.

Referenced by processClick(), and updateObjectsUnderSnappedCursor().

◆ myPredefinedTagsMML

std::vector<std::string> GNEFrame::myPredefinedTagsMML
privateinherited

Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)

Definition at line 148 of file GNEFrame.h.

Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents = nullptr
privateinherited

scroll windows that holds the content frame

Definition at line 139 of file GNEFrame.h.

Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 117 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEInspectorFrame::clearInspectedAC(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), processClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().


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