Eclipse SUMO - Simulation of Urban MObility
GNEAdditionalFrame Class Reference

#include <GNEAdditionalFrame.h>

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

Data Structures

class  E2MultilaneLegendModule
 
class  HelpCreationModule
 

Public Member Functions

bool addAdditional (const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 add additional element More...
 
bool createPath (const bool useLastRoute)
 create path 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...
 
GNEConsecutiveSelectorgetConsecutiveLaneSelector () const
 get consecutive lane selector More...
 
FXVerticalFrame * getContentFrame () const
 get vertical frame that holds all widgets of frame More...
 
GNENetworkSelectorgetEdgesSelector () const
 get edges 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...
 
GNENetworkSelectorgetLanesSelector () const
 get edges selector More...
 
GNENeteditAttributesgetNeteditAttributes () const
 get Netedit parameter More...
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden) More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNEAdditionalFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor. More...
 
virtual void hide ()
 hide Frame More...
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog. More...
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame More...
 
void show ()
 show Frame More...
 
virtual void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children) More...
 
 ~GNEAdditionalFrame ()
 Destructor. More...
 
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety)
virtual void demandElementSelected ()
 selected demand element in DemandElementSelector More...
 
virtual bool shapeDrawed ()
 build a shaped element using the drawed shape More...
 
virtual void attributeUpdated (SumoXMLAttr attribute)
 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...
 

Protected Member Functions

const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML More...
 
void tagSelected ()
 Tag selected in GNETagSelector. More...
 

Static Protected Member Functions

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

Protected Attributes

CommonXMLStructure::SumoBaseObjectmyBaseAdditional = nullptr
 SumoBaseObject used for create additional. More...
 
FXVerticalFrame * myContentFrame = nullptr
 Vertical frame that holds all widgets of frame. 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...
 
GNEViewNetmyViewNet = nullptr
 FOX need this. More...
 

Private Member Functions

bool buildAdditionalCommonAttributes (const GNETagProperties &tagValues)
 build common additional attributes More...
 
bool buildAdditionalOverEdge (GNELane *lane, const GNETagProperties &tagValues)
 build additional over an edge (parent of lane) More...
 
bool buildAdditionalOverLane (GNELane *lane, const GNETagProperties &tagValues)
 build additional over a single lane More...
 
bool buildAdditionalOverView (const GNETagProperties &tagValues)
 build additional over view More...
 
bool createBaseAdditionalObject (const GNETagProperties &tagProperty)
 

Private Attributes

GNEAttributesCreatormyAdditionalAttributes = nullptr
 internal additional attributes More...
 
GNETagSelectormyAdditionalTagSelector = nullptr
 item selector More...
 
GNEConsecutiveSelectormyConsecutiveLaneSelector = nullptr
 Module for select consecutive lanes. More...
 
E2MultilaneLegendModulemyE2MultilaneLegendModule = nullptr
 Module for show E2 Detector legend. More...
 
GNENetworkSelectormyEdgesSelector = nullptr
 Module for select edges. More...
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header More...
 
HelpCreationModulemyHelpCreationModule = nullptr
 Module for show additional help legend. More...
 
GNENetworkSelectormyLanesSelector = nullptr
 Module for select lanes. More...
 
GNENeteditAttributesmyNeteditAttributes = nullptr
 Netedit parameter. 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...
 
GNESelectorParentmySelectorAdditionalParent = nullptr
 Module for select a single parent additional. 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 setting internal attributes of additional elements

Definition at line 39 of file GNEAdditionalFrame.h.

Constructor & Destructor Documentation

◆ GNEAdditionalFrame()

GNEAdditionalFrame::GNEAdditionalFrame ( GNEViewParent viewParent,
GNEViewNet viewNet 
)

◆ ~GNEAdditionalFrame()

GNEAdditionalFrame::~GNEAdditionalFrame ( )

Destructor.

Definition at line 167 of file GNEAdditionalFrame.cpp.

References myBaseAdditional.

Member Function Documentation

◆ addAdditional()

◆ attributesEditorExtendedDialogOpened()

void GNEFrame::attributesEditorExtendedDialogOpened ( )
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETypeFrame.

Definition at line 292 of file GNEFrame.cpp.

◆ attributeUpdated()

void GNEFrame::attributeUpdated ( SumoXMLAttr  attribute)
virtualinherited

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

Reimplemented in GNETypeFrame, GNETypeDistributionFrame, GNERouteDistributionFrame, GNEMeanDataFrame, and GNEInspectorFrame.

Definition at line 286 of file GNEFrame.cpp.

◆ buildAdditionalCommonAttributes()

◆ buildAdditionalOverEdge()

◆ buildAdditionalOverLane()

◆ buildAdditionalOverView()

bool GNEAdditionalFrame::buildAdditionalOverView ( const GNETagProperties tagValues)
private

build additional over view

Definition at line 547 of file GNEAdditionalFrame.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNEAdditional::getAttribute(), GNENet::getAttributeCarriers(), GNEViewNet::getNet(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GUISUMOAbstractView::getPositionInformation(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNE_TAG_CALIBRATOR_FLOW, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myAdditionalAttributes, myBaseAdditional, myEdgesSelector, myLanesSelector, mySelectorAdditionalParent, GNEFrame::myViewNet, GNENetworkSelector::onCmdClearSelection(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNENetHelper::AttributeCarriers::retrieveAdditional(), GNEAttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), string2time(), SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_TIME, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_STEP, SUMO_TAG_VSS, TIME2STEPS, TL, WRITE_WARNING, Position::x(), Position::y(), and Position::z().

Referenced by addAdditional().

Here is the caller graph for this function:

◆ buildRainbow()

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

build rainbow in frame modul

Definition at line 317 of file GNEFrame.cpp.

References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.

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

Here is the caller graph for this function:

◆ createBaseAdditionalObject()

◆ createPath()

bool GNEAdditionalFrame::createPath ( const bool  useLastRoute)
virtual

create path

Reimplemented from GNEFrame.

Definition at line 258 of file GNEAdditionalFrame.cpp.

References GNEConsecutiveSelector::abortPathCreation(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), createBaseAdditionalObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNETagSelector::getCurrentTemplateAC(), GNEConsecutiveSelector::getLaneIDPath(), GNEConsecutiveSelector::getLanePath(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEAttributeCarrier::getTagProperty(), GNEFrame::getViewNet(), GNE_TAG_MULTI_LANE_AREA_DETECTOR, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myAdditionalAttributes, myAdditionalTagSelector, myBaseAdditional, myConsecutiveLaneSelector, myNeteditAttributes, mySelectorAdditionalParent, GNEFrame::myViewNet, AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_ENDPOS, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_POSITION, TL, and WRITE_WARNING.

Referenced by GNEViewNet::hotkeyEnter().

Here is the caller graph for this function:

◆ demandElementSelected()

void GNEFrame::demandElementSelected ( )
virtualinherited

selected demand element in DemandElementSelector

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

Definition at line 273 of file GNEFrame.cpp.

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

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 258 of file GNEFrame.cpp.

Referenced by GNEFrame::setFrameWidth().

Here is the caller graph for this function:

◆ getConsecutiveLaneSelector()

GNEConsecutiveSelector * GNEAdditionalFrame::getConsecutiveLaneSelector ( ) const

get consecutive lane selector

Definition at line 246 of file GNEAdditionalFrame.cpp.

References myConsecutiveLaneSelector.

Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), and GNEViewNet::hotkeyBackSpace().

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.

◆ getEdgesSelector()

GNENetworkSelector * GNEAdditionalFrame::getEdgesSelector ( ) const

get edges selector

Definition at line 234 of file GNEAdditionalFrame.cpp.

References myEdgesSelector.

Referenced by GNEViewNet::abortOperation().

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 GNEInspectorFrame::inspectMultisection().

Here is the caller graph for this function:

◆ getLanesSelector()

GNENetworkSelector * GNEAdditionalFrame::getLanesSelector ( ) const

get edges selector

Definition at line 240 of file GNEAdditionalFrame.cpp.

References myLanesSelector.

Referenced by GNEViewNet::abortOperation().

Here is the caller graph for this function:

◆ getNeteditAttributes()

GNENeteditAttributes * GNEAdditionalFrame::getNeteditAttributes ( ) const

get Netedit parameter

Definition at line 252 of file GNEAdditionalFrame.cpp.

References myNeteditAttributes.

Referenced by GNEViewNet::drawNeteditAttributesReferences().

Here is the caller graph for this function:

◆ getPredefinedTagsMML()

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

get predefinedTagsMML

Definition at line 311 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(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEInspectorFrame::clearInspectedAC(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPathCreator::recalculatePath(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::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(), GNEDemandElementSelector::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 GNEFrame::hide ( )
virtualinherited

hide Frame

Note
some GNEFrames needs a re-implementation

Reimplemented in GNETAZFrame, GNEProhibitionFrame, GNECrossingFrame, GNECreateEdgeFrame, GNEVehicleFrame, GNERouteFrame, GNEPersonPlanFrame, GNEPersonFrame, GNEContainerPlanFrame, GNEContainerFrame, GNEMeanDataFrame, GNEGenericDataFrame, GNESelectorFrame, GNEMoveFrame, GNEInspectorFrame, and GNEDeleteFrame.

Definition at line 124 of file GNEFrame.cpp.

References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and GNEFrame::myViewNet.

Referenced by GNEDeleteFrame::hide(), GNEInspectorFrame::hide(), GNEMoveFrame::hide(), GNESelectorFrame::hide(), GNEGenericDataFrame::hide(), GNEMeanDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNECreateEdgeFrame::hide(), GNECrossingFrame::hide(), GNEProhibitionFrame::hide(), GNETAZFrame::hide(), GNEAdditionalFrame::E2MultilaneLegendModule::hideE2MultilaneLegend(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEAdditionalFrame::HelpCreationModule::hideHelpCreationModule(), GNETLSEditorFrame::TLSAttributes::hideTLSAttributes(), GNETLSEditorFrame::TLSDefinition::hideTLSDefinition(), GNETLSEditorFrame::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

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

◆ selectedOverlappedElement()

void GNEFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETLSEditorFrame, and GNEInspectorFrame.

Definition at line 298 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(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.

Referenced by GNEInspectorFrame::inspectMultisection().

Here is the caller graph for this function:

◆ shapeDrawed()

bool GNEFrame::shapeDrawed ( )
virtualinherited

build a shaped element using the drawed shape

Reimplemented in GNETAZFrame, and GNEShapeFrame.

Definition at line 279 of file GNEFrame.cpp.

Referenced by GNEDrawingShape::stopDrawing().

Here is the caller graph for this function:

◆ show()

void GNEAdditionalFrame::show ( )
virtual

show Frame

Reimplemented from GNEFrame.

Definition at line 176 of file GNEAdditionalFrame.cpp.

References myAdditionalTagSelector, GNEFrame::myViewNet, GNETagSelector::refreshTagSelector(), GNEViewNet::resetLastClickedPosition(), and GNEFrame::show().

Referenced by GNEAdditionalFrame::E2MultilaneLegendModule::showE2MultilaneLegend(), GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ tagSelected()

◆ updateFrameAfterUndoRedo()

void GNEFrame::updateFrameAfterUndoRedo ( )
virtualinherited

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

Reimplemented in GNEMeanDataFrame, GNEGenericDataFrame, GNESelectorFrame, and GNEInspectorFrame.

Definition at line 252 of file GNEFrame.cpp.

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

Here is the caller graph for this function:

Field Documentation

◆ myAdditionalAttributes

GNEAttributesCreator* GNEAdditionalFrame::myAdditionalAttributes = nullptr
private

◆ myAdditionalTagSelector

GNETagSelector* GNEAdditionalFrame::myAdditionalTagSelector = nullptr
private

◆ myBaseAdditional

CommonXMLStructure::SumoBaseObject* GNEAdditionalFrame::myBaseAdditional = nullptr
protected

◆ myConsecutiveLaneSelector

GNEConsecutiveSelector* GNEAdditionalFrame::myConsecutiveLaneSelector = nullptr
private

Module for select consecutive lanes.

Definition at line 167 of file GNEAdditionalFrame.h.

Referenced by addAdditional(), createPath(), getConsecutiveLaneSelector(), GNEAdditionalFrame(), and tagSelected().

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

◆ myE2MultilaneLegendModule

E2MultilaneLegendModule* GNEAdditionalFrame::myE2MultilaneLegendModule = nullptr
private

Module for show E2 Detector legend.

Definition at line 173 of file GNEAdditionalFrame.h.

Referenced by GNEAdditionalFrame(), and tagSelected().

◆ myEdgesSelector

GNENetworkSelector* GNEAdditionalFrame::myEdgesSelector = nullptr
private

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

◆ myHelpCreationModule

HelpCreationModule* GNEAdditionalFrame::myHelpCreationModule = nullptr
private

Module for show additional help legend.

Definition at line 170 of file GNEAdditionalFrame.h.

Referenced by GNEAdditionalFrame(), and tagSelected().

◆ myLanesSelector

GNENetworkSelector* GNEAdditionalFrame::myLanesSelector = nullptr
private

◆ myNeteditAttributes

GNENeteditAttributes* GNEAdditionalFrame::myNeteditAttributes = nullptr
private

Netedit parameter.

Definition at line 155 of file GNEAdditionalFrame.h.

Referenced by addAdditional(), createPath(), getNeteditAttributes(), GNEAdditionalFrame(), and tagSelected().

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

◆ mySelectorAdditionalParent

GNESelectorParent* GNEAdditionalFrame::mySelectorAdditionalParent = nullptr
private

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 117 of file GNEFrame.h.

Referenced by addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEInspectorFrame::clearInspectedAC(), createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::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(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), 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(), show(), GNEStopFrame::tagSelected(), and tagSelected().


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