Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEInspectorFrame.h>
Data Structures | |
class | AdditionalDialog |
class | GEOAttributesEditor |
class | NeteditAttributesEditor |
class | TemplateEditor |
Public Member Functions | |
void | clearInspectedAC () |
Clear all current inspected ACs. | |
void | focusUpperElement () |
focus upper element of frame | |
virtual void | frameWidthUpdated () |
function called after setting new width in current frame (can be reimplemented in frame children) | |
GNEFrameAttributeModules::AttributesEditor * | getAttributesEditor () const |
get AttributesEditor | |
FXVerticalFrame * | getContentFrame () const |
get vertical frame that holds all widgets of frame | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header | |
GNEElementTree * | getHierarchicalElementTree () const |
get GNEElementTree modul | |
GNEInspectorFrame::NeteditAttributesEditor * | getNeteditAttributesEditor () const |
get Netedit Attributes editor | |
GNEOverlappedInspection * | getOverlappedInspection () const |
get GNEOverlappedInspection modul | |
int | getScrollBarWidth () const |
get scrollBar width (zero if is hidden) | |
TemplateEditor * | getTemplateEditor () const |
get template editor | |
GNEViewNet * | getViewNet () const |
get view net | |
GNEInspectorFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
Constructor. | |
void | hide () |
hide inspector frame | |
void | inspectChild (GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement) |
inspect child of already inspected element | |
void | inspectFromDeleteFrame (GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked) |
inspect called from DeleteFrame | |
void | inspectMultisection (const std::vector< GNEAttributeCarrier * > &ACs) |
Inspect the given multi-selection. | |
void | inspectSingleElement (GNEAttributeCarrier *AC) |
Inspect a single element. | |
void | openHelpAttributesDialog (const GNEAttributeCarrier *AC) const |
Open help attributes dialog. | |
bool | processDataSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click over Viewnet in Supermode Data | |
bool | processDemandSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click over Viewnet in Supermode Demand | |
bool | processNetworkSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click over Viewnet in Supermode Network | |
void | selectedOverlappedElement (GNEAttributeCarrier *AC) |
open GNEAttributesCreator extended dialog (can be reimplemented in frame children) | |
void | setFrameWidth (const int newWidth) |
set width of GNEFrame | |
void | show () |
show inspector frame | |
void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) | |
~GNEInspectorFrame () | |
Destructor. | |
FOX-callbacks | |
long | onCmdGoBack (FXObject *, FXSelector, void *) |
called when user toggle the go back button | |
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. | |
virtual void | demandElementSelected () |
selected demand element in DemandElementSelector | |
virtual bool | shapeDrawed () |
build a shaped element using the drawed shape | |
virtual void | attributesEditorExtendedDialogOpened () |
open GNEAttributesCreator extended dialog | |
virtual bool | createPath (const bool useLastRoute) |
create path between two elements | |
Protected Member Functions | |
void | attributeUpdated (SumoXMLAttr attribute) |
function called after set a valid attribute in AttributeEditor | |
const std::vector< std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML | |
void | inspectClickedElement (const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const Position &clickedPosition) |
FOX need this. | |
Static Protected Member Functions | |
static FXLabel * | buildRainbow (FXComposite *parent) |
build rainbow in frame modul | |
Protected Attributes | |
FXVerticalFrame * | myContentFrame = nullptr |
Vertical frame that holds all widgets of frame. | |
FXHorizontalFrame * | myHeaderFrame = nullptr |
fame for header elements | |
FXHorizontalFrame * | myHeaderLeftFrame = nullptr |
fame for left header elements | |
FXHorizontalFrame * | myHeaderRightFrame = nullptr |
fame for right header elements | |
GNEViewNet * | myViewNet = nullptr |
FOX need this. | |
Private Attributes | |
AdditionalDialog * | myAdditionalDialog |
Additional dialog. | |
GNEFrameAttributeModules::AttributesEditor * | myAttributesEditor |
Attribute editor. | |
FXButton * | myBackButton |
Back Button. | |
FXLabel * | myFrameHeaderLabel = nullptr |
the label for the frame's header | |
GEOAttributesEditor * | myGEOAttributesEditor |
GEO Attributes editor. | |
GNEElementTree * | myHierarchicalElementTree |
Attribute Carrier Hierarchy. | |
NeteditAttributesEditor * | myNeteditAttributesEditor |
Netedit Attributes editor. | |
GNEOverlappedInspection * | myOverlappedInspection |
Overlapped Inspection. | |
GNEFrameAttributeModules::ParametersEditor * | myParametersEditor |
Parameters editor inspector. | |
std::vector< std::string > | myPredefinedTagsMML |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) | |
GNEAttributeCarrier * | myPreviousElementDelete |
pointer to previous element called by Delete Frame | |
bool | myPreviousElementDeleteWasMarked |
flag to ckec if myPreviousElementDelete was marked in Delete Frame | |
GNEAttributeCarrier * | myPreviousElementInspect |
Pointer to previous element called by Inspector Frame. | |
FXScrollWindow * | myScrollWindowsContents = nullptr |
scroll windows that holds the content frame | |
TemplateEditor * | myTemplateEditor |
Template editor. | |
Static Private Attributes | |
static FXFont * | myFrameHeaderFont = nullptr |
static Font for the Header (it's common for all headers, then create only one time) | |
Friends | |
class | GNEFrameAttributeModules::ParametersEditor |
FOX-declaration. | |
The Widget for modifying network-element attributes (i.e. lane speed)
Definition at line 40 of file GNEInspectorFrame.h.
GNEInspectorFrame::GNEInspectorFrame | ( | GNEViewParent * | viewParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
viewParent GNEViewParent in which this GNEFrame is placed
net net that uses this GNEFrame
Definition at line 828 of file GNEInspectorFrame.cpp.
References BIGARROWLEFT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GUIDesignButtonRectangular, MID_GNE_INSPECTORFRAME_GOBACK, myAdditionalDialog, myAttributesEditor, myBackButton, myGEOAttributesEditor, GNEFrame::myHeaderLeftFrame, myHierarchicalElementTree, myNeteditAttributesEditor, myOverlappedInspection, myParametersEditor, and myTemplateEditor.
GNEInspectorFrame::~GNEInspectorFrame | ( | ) |
Destructor.
Definition at line 865 of file GNEInspectorFrame.cpp.
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNETypeFrame.
Definition at line 292 of file GNEFrame.cpp.
|
protectedvirtual |
function called after set a valid attribute in AttributeEditor
Reimplemented from GNEFrame.
Definition at line 1224 of file GNEInspectorFrame.cpp.
References myAttributesEditor, myGEOAttributesEditor, myNeteditAttributesEditor, GNEFrameAttributeModules::AttributesEditor::refreshAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), and GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor().
|
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().
void GNEInspectorFrame::clearInspectedAC | ( | ) |
Clear all current inspected ACs.
Definition at line 1134 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().
|
virtualinherited |
create path between two elements
Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.
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().
|
virtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.
Definition at line 273 of file GNEFrame.cpp.
Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().
|
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().
|
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().
GNEFrameAttributeModules::AttributesEditor * GNEInspectorFrame::getAttributesEditor | ( | ) | const |
get AttributesEditor
Definition at line 1145 of file GNEInspectorFrame.cpp.
References myAttributesEditor.
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 156 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
|
inherited |
get font of the header's frame
Definition at line 168 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 162 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by inspectMultisection().
GNEElementTree * GNEInspectorFrame::getHierarchicalElementTree | ( | ) | const |
get GNEElementTree modul
Definition at line 1169 of file GNEInspectorFrame.cpp.
References myHierarchicalElementTree.
Referenced by GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().
GNEInspectorFrame::NeteditAttributesEditor * GNEInspectorFrame::getNeteditAttributesEditor | ( | ) | const |
get Netedit Attributes editor
Definition at line 1151 of file GNEInspectorFrame.cpp.
References myNeteditAttributesEditor.
Referenced by GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdSetFrontElement(), and GNEViewNet::processLeftButtonPressNetwork().
GNEOverlappedInspection * GNEInspectorFrame::getOverlappedInspection | ( | ) | const |
get GNEOverlappedInspection modul
Definition at line 1163 of file GNEInspectorFrame.cpp.
References myOverlappedInspection.
Referenced by GNEViewNet::openObjectDialogAtCursor().
|
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().
|
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().
GNEInspectorFrame::TemplateEditor * GNEInspectorFrame::getTemplateEditor | ( | ) | const |
get template editor
Definition at line 1157 of file GNEInspectorFrame.cpp.
References myTemplateEditor.
Referenced by GNELane::buildTemplateOperations(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEViewNet::onCmdEdgeUseAsTemplate(), GNEViewNet::onCmdEgeApplyTemplate(), GNEApplicationWindow::onCmdSetTemplate(), GNECreateEdgeFrame::processClick(), GNEEdge::setAttribute(), GNELane::setAttribute(), and GNEEdge::setAttribute().
|
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(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEPlanCreator::drawTemporalRoute(), 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(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), 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(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), 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().
|
virtual |
hide inspector frame
Reimplemented from GNEFrame.
Definition at line 880 of file GNEInspectorFrame.cpp.
References GNEFrame::hide(), GNEFrame::myViewNet, and GNEViewNet::setInspectedAttributeCarriers().
Referenced by GNEInspectorFrame::AdditionalDialog::hideAdditionalDialog(), GNEInspectorFrame::GEOAttributesEditor::hideGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::hideNeteditAttributesEditor(), GNEInspectorFrame::TemplateEditor::hideTemplateEditor(), onCmdGoBack(), and GNEInspectorFrame::AdditionalDialog::showAdditionalDialog().
void GNEInspectorFrame::inspectChild | ( | GNEAttributeCarrier * | AC, |
GNEAttributeCarrier * | previousElement | ||
) |
inspect child of already inspected element
Definition at line 1105 of file GNEInspectorFrame.cpp.
References inspectSingleElement(), myBackButton, GNEFrame::myHeaderLeftFrame, myPreviousElementDelete, and myPreviousElementInspect.
Referenced by GNEElementTree::onCmdInspectItem().
|
protected |
FOX need this.
Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor
Definition at line 1210 of file GNEInspectorFrame.cpp.
References GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), inspectSingleElement(), myOverlappedInspection, and GNEOverlappedInspection::showOverlappedInspection().
Referenced by processDataSupermodeClick(), processDemandSupermodeClick(), and processNetworkSupermodeClick().
void GNEInspectorFrame::inspectFromDeleteFrame | ( | GNEAttributeCarrier * | AC, |
GNEAttributeCarrier * | previousElement, | ||
bool | previousElementWasMarked | ||
) |
inspect called from DeleteFrame
Definition at line 1119 of file GNEInspectorFrame.cpp.
References inspectSingleElement(), myBackButton, GNEFrame::myHeaderLeftFrame, myPreviousElementDelete, myPreviousElementDeleteWasMarked, and myPreviousElementInspect.
void GNEInspectorFrame::inspectMultisection | ( | const std::vector< GNEAttributeCarrier * > & | ACs | ) |
Inspect the given multi-selection.
Definition at line 1016 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().
void GNEInspectorFrame::inspectSingleElement | ( | GNEAttributeCarrier * | AC | ) |
Inspect a single element.
Definition at line 992 of file GNEInspectorFrame.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), GNENet::getAttributeCarriers(), GNEViewNet::getMouseButtonKeyPressed(), GNEViewNet::getNet(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), inspectMultisection(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEFrame::myViewNet, and GNEViewNet::setInspectedAttributeCarriers().
Referenced by inspectChild(), inspectClickedElement(), inspectFromDeleteFrame(), GNEApplicationWindow::onCmdAbort(), GNEElementTree::onCmdDeleteItem(), onCmdGoBack(), GNEViewNet::processLeftButtonPressData(), selectedOverlappedElement(), show(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().
long GNEInspectorFrame::onCmdGoBack | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user toggle the go back button
Definition at line 1175 of file GNEInspectorFrame.cpp.
References GNEViewParent::getDeleteFrame(), GNEViewNet::getViewParent(), hide(), inspectSingleElement(), myPreviousElementDelete, myPreviousElementInspect, GNEFrame::myViewNet, and GNEDeleteFrame::show().
Referenced by FXDEFMAP().
|
inherited |
Open help attributes dialog.
Definition at line 184 of file GNEFrame.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GNETagProperties::getNumberOfAttributes(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, MAX2(), MID_TABLE, MODEINSPECT, GNEFrame::myScrollWindowsContents, TL, TLF, toString(), and WRITE_DEBUG.
Referenced by GNEFrameAttributeModules::AttributesEditor::onCmdAttributesEditorHelp(), and GNEAttributesCreator::onCmdHelp().
bool GNEInspectorFrame::processDataSupermodeClick | ( | const Position & | clickedPosition, |
GNEViewNetHelper::ViewObjectsSelector & | viewObjects | ||
) |
process click over Viewnet in Supermode Data
[in] | clickedPosition | clicked position over ViewNet |
[in] | viewObjects | objects under cursors |
Definition at line 957 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().
bool GNEInspectorFrame::processDemandSupermodeClick | ( | const Position & | clickedPosition, |
GNEViewNetHelper::ViewObjectsSelector & | viewObjects | ||
) |
process click over Viewnet in Supermode Demand
[in] | clickedPosition | clicked position over ViewNet |
[in] | viewObjects | objects under cursors |
Definition at line 922 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().
bool GNEInspectorFrame::processNetworkSupermodeClick | ( | const Position & | clickedPosition, |
GNEViewNetHelper::ViewObjectsSelector & | viewObjects | ||
) |
process click over Viewnet in Supermode Network
[in] | clickedPosition | clicked position over ViewNet |
[in] | viewObjects | objects under cursors |
Definition at line 887 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().
|
virtual |
open GNEAttributesCreator extended dialog (can be reimplemented in frame children)
Reimplemented from GNEFrame.
Definition at line 1202 of file GNEInspectorFrame.cpp.
References inspectSingleElement(), GNEFrame::myViewNet, and GNEViewNet::updateViewNet().
|
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().
|
virtualinherited |
build a shaped element using the drawed shape
Reimplemented in GNEShapeFrame, and GNETAZFrame.
Definition at line 279 of file GNEFrame.cpp.
Referenced by GNEDrawingShape::stopDrawing().
|
virtual |
show inspector frame
Reimplemented from GNEFrame.
Definition at line 869 of file GNEInspectorFrame.cpp.
References inspectSingleElement(), myNeteditAttributesEditor, GNEFrame::show(), and GNEInspectorFrame::NeteditAttributesEditor::stopSelectParent().
Referenced by GNEInspectorFrame::AdditionalDialog::showAdditionalDialog(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEInspectorFrame::TemplateEditor::showTemplateEditor(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
Tag selected in GNETagSelector.
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.
Definition at line 267 of file GNEFrame.cpp.
Referenced by GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEPlanSelector::refreshPlanSelector(), GNETagSelector::refreshTagSelector(), GNETagSelector::setCurrentTag(), and GNETagSelector::setCurrentTagType().
|
virtual |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented from GNEFrame.
Definition at line 1191 of file GNEInspectorFrame.cpp.
References myAttributesEditor, myHierarchicalElementTree, myParametersEditor, GNEFrameAttributeModules::AttributesEditor::refreshAttributeEditor(), GNEElementTree::refreshHierarchicalElementTree(), and GNEFrameAttributeModules::ParametersEditor::refreshParametersEditor().
|
friend |
|
private |
Additional dialog.
Definition at line 410 of file GNEInspectorFrame.h.
Referenced by GNEInspectorFrame(), and inspectMultisection().
|
private |
Attribute editor.
Definition at line 398 of file GNEInspectorFrame.h.
Referenced by attributeUpdated(), clearInspectedAC(), getAttributesEditor(), GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().
|
private |
Back Button.
Definition at line 419 of file GNEInspectorFrame.h.
Referenced by GNEInspectorFrame(), inspectChild(), inspectFromDeleteFrame(), and inspectMultisection().
|
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().
|
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().
|
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().
|
private |
GEO Attributes editor.
Definition at line 404 of file GNEInspectorFrame.h.
Referenced by attributeUpdated(), GNEInspectorFrame(), and inspectMultisection().
|
protectedinherited |
fame for header elements
Definition at line 123 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 126 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame(), inspectChild(), inspectFromDeleteFrame(), and inspectMultisection().
|
protectedinherited |
fame for right header elements
Definition at line 129 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
Attribute Carrier Hierarchy.
Definition at line 416 of file GNEInspectorFrame.h.
Referenced by getHierarchicalElementTree(), GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().
|
private |
Netedit Attributes editor.
Definition at line 401 of file GNEInspectorFrame.h.
Referenced by attributeUpdated(), getNeteditAttributesEditor(), GNEInspectorFrame(), inspectMultisection(), and show().
|
private |
Overlapped Inspection.
Definition at line 395 of file GNEInspectorFrame.h.
Referenced by getOverlappedInspection(), GNEInspectorFrame(), inspectClickedElement(), inspectMultisection(), processDataSupermodeClick(), processDemandSupermodeClick(), and processNetworkSupermodeClick().
|
private |
Parameters editor inspector.
Definition at line 407 of file GNEInspectorFrame.h.
Referenced by GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().
|
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().
|
private |
pointer to previous element called by Delete Frame
Definition at line 425 of file GNEInspectorFrame.h.
Referenced by inspectChild(), inspectFromDeleteFrame(), and onCmdGoBack().
|
private |
flag to ckec if myPreviousElementDelete was marked in Delete Frame
Definition at line 428 of file GNEInspectorFrame.h.
Referenced by inspectFromDeleteFrame().
|
private |
Pointer to previous element called by Inspector Frame.
Definition at line 422 of file GNEInspectorFrame.h.
Referenced by inspectChild(), inspectFromDeleteFrame(), and onCmdGoBack().
|
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().
|
private |
Template editor.
Definition at line 413 of file GNEInspectorFrame.h.
Referenced by getTemplateEditor(), GNEInspectorFrame(), and inspectMultisection().
|
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().