![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEShapeFrame.h>
Data Structures | |
class | GEOPOICreator |
Public Member Functions | |
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) | |
FXVerticalFrame * | getContentFrame () const |
get vertical frame that holds all widgets of frame | |
GNEDrawingShape * | getDrawingShapeModule () const |
get drawing mode editor | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header | |
int | getScrollBarWidth () const |
get scrollBar width (zero if is hidden) | |
GNEViewNet * | getViewNet () const |
get view net | |
GNEShapeFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
Constructor. | |
virtual void | hide () |
hide Frame | |
void | openHelpAttributesDialog (const GNEAttributeCarrier *AC) const |
Open help attributes dialog. | |
bool | processClick (const Position &clickedPosition, const GNEViewNetHelper::ViewObjectsSelector &viewObjects, bool &updateTemporalShape) |
process click over Viewnet | |
void | setFrameWidth (const int newWidth) |
set width of GNEFrame | |
void | show () |
show Frame | |
virtual void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) | |
~GNEShapeFrame () | |
Destructor. | |
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 | |
virtual void | attributeUpdated (SumoXMLAttr attribute) |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/... | |
virtual void | selectedOverlappedElement (GNEAttributeCarrier *AC) |
open GNEAttributesCreator extended dialog | |
virtual bool | createPath (const bool useLastRoute) |
create path between two elements | |
Static Public Member Functions | |
static std::string | getIdsSelected (const FXList *list) |
get list of selecte id's in string format | |
Protected Member Functions | |
void | createBaseShapeObject (const SumoXMLTag shapeTag) |
const std::vector< std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML | |
bool | processClickPOI (SumoXMLTag POITag, const Position &clickedPosition) |
process click for POIs over view | |
bool | processClickPOIGeo (const Position &clickedPosition) |
process click for POIGeo | |
bool | processClickPOILanes (const GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click for POILanes | |
bool | processClickPolygons (const Position &clickedPosition, bool &updateTemporalShape) |
process click for Polygons | |
bool | shapeDrawed () |
build a shaped element using the drawed shape return true if was successfully created | |
void | tagSelected () |
Tag selected in GNETagSelector. | |
Static Protected Member Functions | |
static FXLabel * | buildRainbow (FXComposite *parent) |
build rainbow in frame modul | |
Protected Attributes | |
CommonXMLStructure::SumoBaseObject * | myBaseShape |
SumoBaseObject used for create shape. | |
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 | |
GNEDrawingShape * | myDrawingShape = nullptr |
Drawing shape. | |
FXLabel * | myFrameHeaderLabel = nullptr |
the label for the frame's header | |
GEOPOICreator * | myGEOPOICreator = nullptr |
GEOPOICreator. | |
std::vector< std::string > | myPredefinedTagsMML |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) | |
FXScrollWindow * | myScrollWindowsContents = nullptr |
scroll windows that holds the content frame | |
GNEAttributesEditor * | myShapeAttributesEditor = nullptr |
shape attributes editor | |
GNETagSelector * | myShapeTagSelector |
shape tag selector | |
Static Private Attributes | |
static FXFont * | myFrameHeaderFont = nullptr |
static Font for the Header (it's common for all headers, then create only one time) | |
Definition at line 37 of file GNEShapeFrame.h.
GNEShapeFrame::GNEShapeFrame | ( | GNEViewParent * | viewParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
viewParent GNEViewParent in which this GNEFrame is placed
viewNet viewNet that uses this GNEFrame
create GEOPOICreator
Definition at line 225 of file GNEShapeFrame.cpp.
References GNEAttributesEditorType::CREATOR, myDrawingShape, myGEOPOICreator, myShapeAttributesEditor, myShapeTagSelector, GNETagProperties::SHAPE, and SUMO_TAG_POLY.
GNEShapeFrame::~GNEShapeFrame | ( | ) |
|
virtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
Reimplemented in GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.
Definition at line 296 of file GNEFrame.cpp.
Referenced by GNEAttributesEditorType::setAttribute(), and GNEAttributesEditorType::toggleEnableAttribute().
|
staticprotectedinherited |
build rainbow in frame modul
Definition at line 321 of file GNEFrame.cpp.
References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().
|
protected |
Definition at line 312 of file GNEShapeFrame.cpp.
References myBaseShape, and CommonXMLStructure::SumoBaseObject::setTag().
Referenced by processClickPOI(), processClickPOIGeo(), processClickPOILanes(), and shapeDrawed().
|
virtualinherited |
create path between two elements
Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.
Definition at line 308 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 283 of file GNEFrame.cpp.
Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().
|
inherited |
focus upper element of frame
Definition at line 114 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::inspectClickedElements(), 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 268 of file GNEFrame.cpp.
Referenced by GNEFrame::setFrameWidth().
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 161 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
GNEDrawingShape * GNEShapeFrame::getDrawingShapeModule | ( | ) | const |
get drawing mode editor
Definition at line 306 of file GNEShapeFrame.cpp.
References myDrawingShape.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::hotkeyEnter(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onRightBtnPress(), GNEViewNet::onRightBtnRelease(), and GNEViewNet::processMoveMouseNetwork().
|
inherited |
get font of the header's frame
Definition at line 173 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 167 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEInspectorFrame::refreshInspection().
|
static |
get list of selecte id's in string format
Definition at line 290 of file GNEShapeFrame.cpp.
|
protectedinherited |
get predefinedTagsMML
Definition at line 315 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 179 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().
|
inherited |
get view net
Definition at line 155 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(), GNEAttributesEditorType::buildRows(), GNETLSTable::Cell::Cell(), GNEAttributesEditorType::checkAttributes(), GNEDeleteFrame::SubordinatedElements::checkElements(), GNEPathCreator::clearEdgeColors(), GNEPlanSelector::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEPlanSelector::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEViewObjectSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNEMatchAttribute::CurrentEditedProperties::CurrentEditedProperties(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEAttributesEditorRow::enableElements(), GNEAttributesEditorType::enableReparent(), GNEAttributesEditorRow::getAttributeValue(), GNEMatchAttribute::getMatches(), GNEInternalLane::getPopUpMenu(), GNEAttributesEditorRow::GNEAttributesEditorRow(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEMatchAttribute::GNEMatchAttribute(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesEditorType::inspectParent(), GNEElementTree::isSupermodeValid(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEAttributesEditorType::moveLaneDown(), GNEAttributesEditorType::moveLaneUp(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNEAttributesEditorType::onCmdAttributesEditorReset(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesEditorRow::onCmdOpenAllowDialog(), GNEAttributesEditorRow::onCmdOpenColorDialog(), GNEAttributesEditorType::onCmdOpenEditParametersDialog(), GNEAttributesEditorType::onCmdOpenExtendedAttributesDialog(), GNEAttributesEditorRow::onCmdOpenFileDialog(), MFXGroupBoxModule::onCmdResetButton(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNETagSelector::onCmdSelectTag(), GNEViewObjectSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNEAttributesEditorType::setAttribute(), GNETagSelector::setCurrentTag(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEAttributesEditorType::setNewParent(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNEElementTree::showAttributeCarrierParents(), GNEAttributesEditorRow::showAttributeRow(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEAttributesEditorRow::showMoveLaneButtons(), GNEAttributesEditorRow::showValueComboBox(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNEAttributesEditorType::toggleEnableAttribute(), GNEViewObjectSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPlanSelector::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEPlanSelector::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNETagSelector::updateTagTypes().
|
virtualinherited |
hide Frame
Reimplemented in GNEDeleteFrame, GNEInspectorFrame, GNEMoveFrame, GNESelectorFrame, GNEGenericDataFrame, GNEMeanDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNECreateEdgeFrame, GNECrossingFrame, GNEProhibitionFrame, and GNETAZFrame.
Definition at line 129 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::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETLSEditorFrame::TLSPrograms::hideTLSPrograms(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().
|
inherited |
Open help attributes dialog.
Definition at line 189 of file GNEFrame.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GNETagProperties::getAttributeProperties(), GUIIconSubSys::getIcon(), GNETagProperties::getNumberOfAttributes(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHeight, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, MAX2(), MID_TABLE, MODEINSPECT, GNEFrame::myScrollWindowsContents, and TL.
Referenced by GNEAttributesEditorType::onCmdAttributesEditorHelp().
bool GNEShapeFrame::processClick | ( | const Position & | clickedPosition, |
const GNEViewNetHelper::ViewObjectsSelector & | viewObjects, | ||
bool & | updateTemporalShape | ||
) |
process click over Viewnet
[in] | clickedPosition | clicked position over ViewNet |
[in] | viewObjects | objects under cursor after click over view |
Definition at line 261 of file GNEShapeFrame.cpp.
References GNETagSelector::getCurrentTemplateAC(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_POIGEO, GNE_TAG_POILANE, myShapeTagSelector, GNEFrame::myViewNet, processClickPOI(), processClickPOIGeo(), processClickPOILanes(), processClickPolygons(), GNEViewNet::setStatusBarText(), SUMO_TAG_POI, SUMO_TAG_POLY, and TL.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
|
protected |
process click for POIs over view
Definition at line 408 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), GNEAttributesEditor::checkAttributes(), createBaseShapeObject(), GNEAttributesEditor::fillSumoBaseObject(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getViewParent(), GNE_ATTR_ADDITIONAL_FILE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myBaseShape, myShapeAttributesEditor, GNEFrame::myViewNet, AdditionalHandler::parseSumoBaseObject(), GNEAttributesEditor::refreshAttributesEditor(), SUMO_ATTR_GEO, SUMO_ATTR_X, SUMO_ATTR_Y, Position::x(), and Position::y().
Referenced by processClick().
|
protected |
process click for POIGeo
Definition at line 436 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), GeoConvHelper::cartesian2geo(), GNEAttributesEditor::checkAttributes(), createBaseShapeObject(), GNEAttributesEditor::fillSumoBaseObject(), GeoConvHelper::getFinal(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getViewParent(), GNE_ATTR_ADDITIONAL_FILE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myBaseShape, myShapeAttributesEditor, GNEFrame::myViewNet, AdditionalHandler::parseSumoBaseObject(), GNEAttributesEditor::refreshAttributesEditor(), SUMO_ATTR_GEO, SUMO_ATTR_LAT, SUMO_ATTR_LON, SUMO_TAG_POI, Position::x(), and Position::y().
Referenced by processClick().
|
protected |
process click for POILanes
Definition at line 467 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesEditor::checkAttributes(), createBaseShapeObject(), GNEAttributesEditor::fillSumoBaseObject(), GNEViewParent::getGNEAppWindows(), GNEAttributeCarrier::getID(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNELane::getLaneShape(), GNELane::getLengthGeometryFactor(), GNEViewNet::getNet(), GUISUMOAbstractView::getPositionInformation(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getViewParent(), GNE_ATTR_ADDITIONAL_FILE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myBaseShape, myShapeAttributesEditor, GNEFrame::myViewNet, PositionVector::nearest_offset_to_point2D(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesEditor::refreshAttributesEditor(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_POI, TL, and WRITE_WARNING.
Referenced by processClick().
|
protected |
process click for Polygons
Definition at line 390 of file GNEShapeFrame.cpp.
References GNEDrawingShape::addNewPoint(), GNEDrawingShape::getDeleteLastCreatedPoint(), GNEDrawingShape::isDrawing(), myDrawingShape, and GNEDrawingShape::removeLastPoint().
Referenced by processClick().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.
Definition at line 302 of file GNEFrame.cpp.
Referenced by GNEOverlappedInspection::refreshOverlappedInspection().
|
inherited |
set width of GNEFrame
Definition at line 138 of file GNEFrame.cpp.
References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.
Referenced by GNEInspectorFrame::refreshInspection().
|
protectedvirtual |
build a shaped element using the drawed shape return true if was successfully created
Reimplemented from GNEFrame.
Definition at line 326 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), GNEAttributesEditor::checkAttributes(), PositionVector::closePolygon(), createBaseShapeObject(), GNEAttributesEditor::fillSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNETagSelector::getCurrentTemplateAC(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEDrawingShape::getTemporalShape(), GNEViewNet::getViewParent(), GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_DEMAND_FILE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myBaseShape, myDrawingShape, myShapeAttributesEditor, myShapeTagSelector, GNEFrame::myViewNet, AdditionalHandler::parseSumoBaseObject(), GNEAttributesEditor::refreshAttributesEditor(), SUMO_ATTR_SHAPE, TL, and WRITE_WARNING.
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 252 of file GNEShapeFrame.cpp.
References myShapeTagSelector, GNETagSelector::refreshTagSelector(), and GNEFrame::show().
Referenced by GNEShapeFrame::GEOPOICreator::showGEOPOICreatorModule(), and GNEViewNet::updateNetworkModeSpecificControls().
|
protectedvirtual |
Tag selected in GNETagSelector.
Reimplemented from GNEFrame.
Definition at line 362 of file GNEShapeFrame.cpp.
References GNETagSelector::getCurrentTemplateAC(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_POIGEO, GNEAttributesEditor::hideAttributesEditor(), GNEDrawingShape::hideDrawingShape(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), myDrawingShape, myGEOPOICreator, myShapeAttributesEditor, myShapeTagSelector, GNEAttributesEditor::showAttributesEditor(), GNEDrawingShape::showDrawingShape(), GNEShapeFrame::GEOPOICreator::showGEOPOICreatorModule(), and SUMO_TAG_POLY.
|
virtualinherited |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented in GNEInspectorFrame, GNESelectorFrame, GNEGenericDataFrame, and GNEMeanDataFrame.
Definition at line 262 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
protected |
SumoBaseObject used for create shape.
Definition at line 127 of file GNEShapeFrame.h.
Referenced by createBaseShapeObject(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), shapeDrawed(), and ~GNEShapeFrame().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 124 of file GNEFrame.h.
Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
private |
Drawing shape.
Definition at line 161 of file GNEShapeFrame.h.
Referenced by getDrawingShapeModule(), GNEShapeFrame(), processClickPolygons(), shapeDrawed(), and tagSelected().
|
staticprivateinherited |
static Font for the Header (it's common for all headers, then create only one time)
Definition at line 146 of file GNEFrame.h.
Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().
|
privateinherited |
the label for the frame's header
Definition at line 149 of file GNEFrame.h.
Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().
|
private |
Definition at line 164 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), and tagSelected().
|
protectedinherited |
fame for header elements
Definition at line 127 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 130 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), and GNEInspectorFrame::refreshInspection().
|
protectedinherited |
fame for right header elements
Definition at line 133 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
privateinherited |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
Definition at line 152 of file GNEFrame.h.
Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().
|
privateinherited |
scroll windows that holds the content frame
Definition at line 143 of file GNEFrame.h.
Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().
|
private |
shape attributes editor
Definition at line 158 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), shapeDrawed(), and tagSelected().
|
private |
shape tag selector
Definition at line 155 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), processClick(), shapeDrawed(), show(), and tagSelected().
|
protectedinherited |
FOX need this.
View Net
Definition at line 121 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(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), 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(), GNEStopFrame::getStopParameter(), 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(), GNEAdditionalFrame::initBaseAdditionalObject(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectClickedElements(), GNEInspectorFrame::inspectElement(), GNEInspectorFrame::inspectElements(), GNEProhibitionFrame::Legend::Legend(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), processClick(), GNECreateEdgeFrame::processClick(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), GNEInspectorFrame::refreshInspection(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), and GNEAdditionalFrame::tagSelected().