Eclipse SUMO - Simulation of Urban MObility
GNEInspectorFrame Class Reference

#include <GNEInspectorFrame.h>

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

Data Structures

class  AdditionalDialog
 
class  GEOAttributesEditor
 
class  NeteditAttributesEditor
 
class  TemplateEditor
 

Public Member Functions

void clearInspectedAC ()
 Clear all current inspected ACs. 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...
 
GNEFrameAttributeModules::AttributesEditorgetAttributesEditor () const
 get AttributesEditor More...
 
FXVerticalFrame * getContentFrame () const
 get vertical frame that holds all widgets of frame More...
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame More...
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header More...
 
GNEElementTreegetHierarchicalElementTree () const
 get GNEElementTree modul More...
 
GNEInspectorFrame::NeteditAttributesEditorgetNeteditAttributesEditor () const
 get Netedit Attributes editor More...
 
GNEOverlappedInspectiongetOverlappedInspection () const
 get GNEOverlappedInspection modul More...
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden) More...
 
TemplateEditorgetTemplateEditor () const
 get template editor More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNEInspectorFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor. More...
 
void hide ()
 hide inspector frame More...
 
void inspectChild (GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
 inspect child of already inspected element More...
 
void inspectFromDeleteFrame (GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
 inspect called from DeleteFrame More...
 
void inspectMultisection (const std::vector< GNEAttributeCarrier * > &ACs)
 Inspect the given multi-selection. More...
 
void inspectSingleElement (GNEAttributeCarrier *AC)
 Inspect a single element. More...
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog. More...
 
bool processDataSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 process click over Viewnet in Supermode Data More...
 
bool processDemandSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 process click over Viewnet in Supermode Demand More...
 
bool processNetworkSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 process click over Viewnet in Supermode Network More...
 
void selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog (can be reimplemented in frame children) More...
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame More...
 
void show ()
 show inspector frame More...
 
void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children) More...
 
 ~GNEInspectorFrame ()
 Destructor. More...
 
FOX-callbacks
long onCmdGoBack (FXObject *, FXSelector, void *)
 called when user toggle the go back button 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 attributesEditorExtendedDialogOpened ()
 open GNEAttributesCreator extended dialog More...
 
virtual bool createPath (const bool useLastRoute)
 create path between two elements More...
 

Protected Member Functions

void attributeUpdated (SumoXMLAttr attribute)
 function called after set a valid attribute in AttributeEditor More...
 
const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML More...
 
void inspectClickedElement (const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const Position &clickedPosition)
 FOX need this. 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...
 
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 Attributes

AdditionalDialogmyAdditionalDialog
 Additional dialog. More...
 
GNEFrameAttributeModules::AttributesEditormyAttributesEditor
 Attribute editor. More...
 
FXButton * myBackButton
 Back Button. More...
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header More...
 
GEOAttributesEditormyGEOAttributesEditor
 GEO Attributes editor. More...
 
GNEElementTreemyHierarchicalElementTree
 Attribute Carrier Hierarchy. More...
 
NeteditAttributesEditormyNeteditAttributesEditor
 Netedit Attributes editor. More...
 
GNEOverlappedInspectionmyOverlappedInspection
 Overlapped Inspection. More...
 
GNEFrameAttributeModules::ParametersEditormyParametersEditor
 Parameters editor inspector. More...
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) More...
 
GNEAttributeCarriermyPreviousElementDelete
 pointer to previous element called by Delete Frame More...
 
bool myPreviousElementDeleteWasMarked
 flag to ckec if myPreviousElementDelete was marked in Delete Frame More...
 
GNEAttributeCarriermyPreviousElementInspect
 Pointer to previous element called by Inspector Frame. More...
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame More...
 
TemplateEditormyTemplateEditor
 Template editor. 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...
 

Friends

class GNEFrameAttributeModules::ParametersEditor
 FOX-declaration. More...
 

Detailed Description

The Widget for modifying network-element attributes (i.e. lane speed)

Definition at line 40 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

◆ GNEInspectorFrame()

◆ ~GNEInspectorFrame()

GNEInspectorFrame::~GNEInspectorFrame ( )

Destructor.

Definition at line 867 of file GNEInspectorFrame.cpp.

Member Function Documentation

◆ attributesEditorExtendedDialogOpened()

void GNEFrame::attributesEditorExtendedDialogOpened ( )
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETypeFrame.

Definition at line 292 of file GNEFrame.cpp.

◆ attributeUpdated()

void GNEInspectorFrame::attributeUpdated ( SumoXMLAttr  attribute)
protectedvirtual

◆ 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:

◆ clearInspectedAC()

void GNEInspectorFrame::clearInspectedAC ( )

Clear all current inspected ACs.

Definition at line 1136 of file GNEInspectorFrame.cpp.

References GNEFrameAttributeModules::AttributesEditor::getFrameParent(), GNEViewNet::getInspectedAttributeCarriers(), GNEFrame::getViewNet(), inspectMultisection(), myAttributesEditor, GNEFrame::myViewNet, and GNEViewNet::setInspectedAttributeCarriers().

Referenced by GNENet::computeAndUpdate(), GNENet::deleteDemandElement(), GNEViewNet::onCmdClearConnections(), and GNEViewNet::onCmdResetConnections().

Here is the caller graph for this function:

◆ createPath()

bool GNEFrame::createPath ( const bool  useLastRoute)
virtualinherited

create path between two elements

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

Definition at line 304 of file GNEFrame.cpp.

Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().

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(), processDataSupermodeClick(), processDemandSupermodeClick(), 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:

◆ getAttributesEditor()

GNEFrameAttributeModules::AttributesEditor * GNEInspectorFrame::getAttributesEditor ( ) const

get AttributesEditor

Definition at line 1147 of file GNEInspectorFrame.cpp.

References myAttributesEditor.

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

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

Here is the caller graph for this function:

◆ getHierarchicalElementTree()

GNEElementTree * GNEInspectorFrame::getHierarchicalElementTree ( ) const

get GNEElementTree modul

Definition at line 1171 of file GNEInspectorFrame.cpp.

References myHierarchicalElementTree.

Referenced by GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().

Here is the caller graph for this function:

◆ getNeteditAttributesEditor()

GNEInspectorFrame::NeteditAttributesEditor * GNEInspectorFrame::getNeteditAttributesEditor ( ) const

get Netedit Attributes editor

Definition at line 1153 of file GNEInspectorFrame.cpp.

References myNeteditAttributesEditor.

Referenced by GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdSetFrontElement(), and GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ getOverlappedInspection()

GNEOverlappedInspection * GNEInspectorFrame::getOverlappedInspection ( ) const

get GNEOverlappedInspection modul

Definition at line 1165 of file GNEInspectorFrame.cpp.

References myOverlappedInspection.

Referenced by GNEViewNet::openObjectDialogAtCursor().

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:

◆ getTemplateEditor()

GNEInspectorFrame::TemplateEditor * GNEInspectorFrame::getTemplateEditor ( ) const

get template editor

Definition at line 1159 of file GNEInspectorFrame.cpp.

References myTemplateEditor.

Referenced by GNELane::buildTemplateOperations(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEViewNet::onCmdEdgeUseAsTemplate(), GNEViewNet::onCmdEgeApplyTemplate(), GNEApplicationWindow::onCmdSetTemplate(), GNECreateEdgeFrame::processClick(), GNELane::setAttribute(), and GNEEdge::setAttribute().

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(), clearInspectedAC(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEAdditionalFrame::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 GNEInspectorFrame::hide ( )
virtual

◆ inspectChild()

void GNEInspectorFrame::inspectChild ( GNEAttributeCarrier AC,
GNEAttributeCarrier previousElement 
)

inspect child of already inspected element

Definition at line 1107 of file GNEInspectorFrame.cpp.

References inspectSingleElement(), myBackButton, GNEFrame::myHeaderLeftFrame, myPreviousElementDelete, and myPreviousElementInspect.

Referenced by GNEElementTree::onCmdInspectItem().

Here is the caller graph for this function:

◆ inspectClickedElement()

void GNEInspectorFrame::inspectClickedElement ( const GNEViewNetHelper::ViewObjectsSelector viewObjects,
const Position clickedPosition 
)
protected

FOX need this.

Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor

Definition at line 1212 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), inspectSingleElement(), myOverlappedInspection, and GNEOverlappedInspection::showOverlappedInspection().

Referenced by processDataSupermodeClick(), processDemandSupermodeClick(), and processNetworkSupermodeClick().

Here is the caller graph for this function:

◆ inspectFromDeleteFrame()

void GNEInspectorFrame::inspectFromDeleteFrame ( GNEAttributeCarrier AC,
GNEAttributeCarrier previousElement,
bool  previousElementWasMarked 
)

◆ inspectMultisection()

void GNEInspectorFrame::inspectMultisection ( const std::vector< GNEAttributeCarrier * > &  ACs)

Inspect the given multi-selection.

Definition at line 1018 of file GNEInspectorFrame.cpp.

References GNEViewParent::getFrameAreaWidth(), GNEFrame::getFrameHeaderLabel(), GNEViewNet::getViewParent(), GNEInspectorFrame::AdditionalDialog::hideAdditionalDialog(), GNEFrameAttributeModules::AttributesEditor::hideAttributesEditorModule(), GNEInspectorFrame::GEOAttributesEditor::hideGEOAttributesEditor(), GNEElementTree::hideHierarchicalElementTree(), GNEInspectorFrame::NeteditAttributesEditor::hideNeteditAttributesEditor(), GNEOverlappedInspection::hideOverlappedInspection(), GNEFrameAttributeModules::ParametersEditor::hideParametersEditor(), GNEInspectorFrame::TemplateEditor::hideTemplateEditor(), myAdditionalDialog, myAttributesEditor, myBackButton, myGEOAttributesEditor, GNEFrame::myHeaderLeftFrame, myHierarchicalElementTree, myNeteditAttributesEditor, myOverlappedInspection, myParametersEditor, myTemplateEditor, GNEFrame::myViewNet, GNEFrame::setFrameWidth(), GNEViewNet::setInspectedAttributeCarriers(), GNEInspectorFrame::AdditionalDialog::showAdditionalDialog(), GNEFrameAttributeModules::AttributesEditor::showAttributeEditorModule(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEElementTree::showHierarchicalElementTree(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEFrameAttributeModules::ParametersEditor::showParametersEditor(), GNEInspectorFrame::TemplateEditor::showTemplateEditor(), TL, and toString().

Referenced by clearInspectedAC(), inspectSingleElement(), GNEApplicationWindow::onCmdToggleTimeFormat(), and GNEViewNet::removeFromAttributeCarrierInspected().

Here is the caller graph for this function:

◆ inspectSingleElement()

◆ onCmdGoBack()

long GNEInspectorFrame::onCmdGoBack ( FXObject *  ,
FXSelector  ,
void *   
)

called when user toggle the go back button

Definition at line 1177 of file GNEInspectorFrame.cpp.

References GNEViewParent::getDeleteFrame(), GNEViewNet::getViewParent(), hide(), inspectSingleElement(), myPreviousElementDelete, myPreviousElementInspect, GNEFrame::myViewNet, and GNEDeleteFrame::show().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

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

◆ processDataSupermodeClick()

bool GNEInspectorFrame::processDataSupermodeClick ( const Position clickedPosition,
GNEViewNetHelper::ViewObjectsSelector viewObjects 
)

process click over Viewnet in Supermode Data

Parameters
[in]clickedPositionclicked position over ViewNet
[in]viewObjectsobjects under cursors
Returns
true if something was sucefully done

Definition at line 959 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEFrame::focusUpperElement(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNet::getMouseButtonKeyPressed(), inspectClickedElement(), myOverlappedInspection, GNEFrame::myViewNet, GNEOverlappedInspection::nextElement(), GNEOverlappedInspection::previousElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by GNEViewNet::processLeftButtonPressData().

Here is the caller graph for this function:

◆ processDemandSupermodeClick()

bool GNEInspectorFrame::processDemandSupermodeClick ( const Position clickedPosition,
GNEViewNetHelper::ViewObjectsSelector viewObjects 
)

process click over Viewnet in Supermode Demand

Parameters
[in]clickedPositionclicked position over ViewNet
[in]viewObjectsobjects under cursors
Returns
true if something was sucefully done

Definition at line 924 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEFrame::focusUpperElement(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNet::getMouseButtonKeyPressed(), inspectClickedElement(), myOverlappedInspection, GNEFrame::myViewNet, GNEOverlappedInspection::nextElement(), GNEOverlappedInspection::previousElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by GNEViewNet::processLeftButtonPressDemand().

Here is the caller graph for this function:

◆ processNetworkSupermodeClick()

bool GNEInspectorFrame::processNetworkSupermodeClick ( const Position clickedPosition,
GNEViewNetHelper::ViewObjectsSelector viewObjects 
)

process click over Viewnet in Supermode Network

Parameters
[in]clickedPositionclicked position over ViewNet
[in]viewObjectsobjects under cursors
Returns
true if something was sucefully done

Definition at line 889 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEFrame::focusUpperElement(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNet::getMouseButtonKeyPressed(), inspectClickedElement(), myOverlappedInspection, GNEFrame::myViewNet, GNEOverlappedInspection::nextElement(), GNEOverlappedInspection::previousElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ selectedOverlappedElement()

void GNEInspectorFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtual

open GNEAttributesCreator extended dialog (can be reimplemented in frame children)

Reimplemented from GNEFrame.

Definition at line 1204 of file GNEInspectorFrame.cpp.

References inspectSingleElement(), GNEFrame::myViewNet, and GNEViewNet::updateViewNet().

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

◆ tagSelected()

void GNEFrame::tagSelected ( )
virtualinherited

Tag selected in GNETagSelector.

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

Definition at line 267 of file GNEFrame.cpp.

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

Here is the caller graph for this function:

◆ updateFrameAfterUndoRedo()

void GNEInspectorFrame::updateFrameAfterUndoRedo ( )
virtual

Friends And Related Function Documentation

◆ GNEFrameAttributeModules::ParametersEditor

FOX-declaration.

declare friend class

Definition at line 45 of file GNEInspectorFrame.h.

Field Documentation

◆ myAdditionalDialog

AdditionalDialog* GNEInspectorFrame::myAdditionalDialog
private

Additional dialog.

Definition at line 410 of file GNEInspectorFrame.h.

Referenced by GNEInspectorFrame(), and inspectMultisection().

◆ myAttributesEditor

GNEFrameAttributeModules::AttributesEditor* GNEInspectorFrame::myAttributesEditor
private

◆ myBackButton

FXButton* GNEInspectorFrame::myBackButton
private

Back Button.

Definition at line 419 of file GNEInspectorFrame.h.

Referenced by GNEInspectorFrame(), inspectChild(), inspectFromDeleteFrame(), and inspectMultisection().

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

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

◆ myGEOAttributesEditor

GEOAttributesEditor* GNEInspectorFrame::myGEOAttributesEditor
private

GEO Attributes editor.

Definition at line 404 of file GNEInspectorFrame.h.

Referenced by attributeUpdated(), GNEInspectorFrame(), and inspectMultisection().

◆ 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

fame for left header elements

Definition at line 126 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame(), inspectChild(), inspectFromDeleteFrame(), and inspectMultisection().

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 129 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHierarchicalElementTree

GNEElementTree* GNEInspectorFrame::myHierarchicalElementTree
private

Attribute Carrier Hierarchy.

Definition at line 416 of file GNEInspectorFrame.h.

Referenced by getHierarchicalElementTree(), GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().

◆ myNeteditAttributesEditor

NeteditAttributesEditor* GNEInspectorFrame::myNeteditAttributesEditor
private

Netedit Attributes editor.

Definition at line 401 of file GNEInspectorFrame.h.

Referenced by attributeUpdated(), getNeteditAttributesEditor(), GNEInspectorFrame(), inspectMultisection(), and show().

◆ myOverlappedInspection

◆ myParametersEditor

GNEFrameAttributeModules::ParametersEditor* GNEInspectorFrame::myParametersEditor
private

Parameters editor inspector.

Definition at line 407 of file GNEInspectorFrame.h.

Referenced by GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().

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

◆ myPreviousElementDelete

GNEAttributeCarrier* GNEInspectorFrame::myPreviousElementDelete
private

pointer to previous element called by Delete Frame

Definition at line 425 of file GNEInspectorFrame.h.

Referenced by inspectChild(), inspectFromDeleteFrame(), and onCmdGoBack().

◆ myPreviousElementDeleteWasMarked

bool GNEInspectorFrame::myPreviousElementDeleteWasMarked
private

flag to ckec if myPreviousElementDelete was marked in Delete Frame

Definition at line 428 of file GNEInspectorFrame.h.

Referenced by inspectFromDeleteFrame().

◆ myPreviousElementInspect

GNEAttributeCarrier* GNEInspectorFrame::myPreviousElementInspect
private

Pointer to previous element called by Inspector Frame.

Definition at line 422 of file GNEInspectorFrame.h.

Referenced by inspectChild(), inspectFromDeleteFrame(), and onCmdGoBack().

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

◆ myTemplateEditor

TemplateEditor* GNEInspectorFrame::myTemplateEditor
private

Template editor.

Definition at line 413 of file GNEInspectorFrame.h.

Referenced by getTemplateEditor(), GNEInspectorFrame(), and inspectMultisection().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 117 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::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(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), clearInspectedAC(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::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(), hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), inspectMultisection(), inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), processDataSupermodeClick(), processDemandSupermodeClick(), processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), 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: