![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for processing menu commands More...
#include <GNEApplicationWindowHelper.h>
Public Member Functions | |
| void | buildLockMenuCommands (FXMenuPane *editMenu) |
| build menu commands | |
| void | editLocking (const GNEAttributeCarrier *AC, const FXbool value) |
| lock or unlock object based in a tag property | |
| void | hideDataLockMenuCommands () |
| show data processing menu commands | |
| void | hideDemandLockMenuCommands () |
| show demand processing menu commands | |
| void | hideNetworkLockMenuCommands () |
| show network processing menu commands | |
| void | lockAll () |
| lock all | |
| LockMenuCommands (GNEApplicationWindow *applicationWindow) | |
| constructor | |
| void | removeHotkeys () |
| remove hotkeys | |
| void | showDataLockMenuCommands () |
| show data processing menu commands | |
| void | showDemandLockMenuCommands () |
| show demand processing menu commands | |
| void | showNetworkLockMenuCommands () |
| show network processing menu commands | |
| void | unlockAll () |
| unlock all | |
Data Fields | |
| MFXMenuCheckIcon * | menuCheckLockSelectedElements = nullptr |
| menu check for lock selected elements | |
Processing FXMenuCommands for Network mode | |
menu check to lock junction | |
| MFXMenuCheckIcon * | menuCheckLockJunctions = nullptr |
| MFXMenuCheckIcon * | menuCheckLockEdges = nullptr |
| menu check to lock edges | |
| MFXMenuCheckIcon * | menuCheckLockLanes = nullptr |
| menu check to lock lanes | |
| MFXMenuCheckIcon * | menuCheckLockConnections = nullptr |
| menu check to lock connections | |
| MFXMenuCheckIcon * | menuCheckLockCrossings = nullptr |
| menu check to lock crossings | |
| MFXMenuCheckIcon * | menuCheckLockWalkingAreas = nullptr |
| menu check to lock walkingAreas | |
| MFXMenuCheckIcon * | menuCheckLockAdditionals = nullptr |
| menu check to lock additionals | |
| MFXMenuCheckIcon * | menuCheckLockTAZs = nullptr |
| menu check to lock TAZs | |
| MFXMenuCheckIcon * | menuCheckLockWires = nullptr |
| menu check to lock Wires | |
| MFXMenuCheckIcon * | menuCheckLockPolygons = nullptr |
| menu check to lock polygons | |
| MFXMenuCheckIcon * | menuCheckLockPOIs = nullptr |
| menu check to lock POIs | |
| MFXMenuCheckIcon * | menuCheckLockJpsWalkableAreas = nullptr |
| menu check to lock jps walkableareas | |
| MFXMenuCheckIcon * | menuCheckLockJpsObstacles = nullptr |
| menu check to lock jps obstacles | |
Processing FXMenuCommands for Demand mode | |
menu check to lock routes | |
| MFXMenuCheckIcon * | menuCheckLockRoutes = nullptr |
| MFXMenuCheckIcon * | menuCheckLockVehicles = nullptr |
| menu check to lock vehicles | |
| MFXMenuCheckIcon * | menuCheckLockPersons = nullptr |
| menu check to lock persons | |
| MFXMenuCheckIcon * | menuCheckLockPersonTrips = nullptr |
| menu check to lock personTrips | |
| MFXMenuCheckIcon * | menuCheckLockWalks = nullptr |
| menu check to lock walks | |
| MFXMenuCheckIcon * | menuCheckLockRides = nullptr |
| menu check to lock rides | |
| MFXMenuCheckIcon * | menuCheckLockContainers = nullptr |
| menu check to lock containers | |
| MFXMenuCheckIcon * | menuCheckLockTransports = nullptr |
| menu check to lock transports | |
| MFXMenuCheckIcon * | menuCheckLockTranships = nullptr |
| menu check to lock tranships | |
| MFXMenuCheckIcon * | menuCheckLockStops = nullptr |
| menu check to lock stops | |
Processing FXMenuCommands for Data mode | |
menu check to lock edge datas | |
| MFXMenuCheckIcon * | menuCheckLockEdgeDatas = nullptr |
| MFXMenuCheckIcon * | menuCheckLockEdgeRelDatas = nullptr |
| menu check to lock edgeRelDatas | |
| MFXMenuCheckIcon * | menuCheckLockEdgeTAZRels = nullptr |
| menu check to lock edgeTAZRels | |
Protected Member Functions | |
| FXHotKey | parseHotKey (const FXwchar character) |
| Parse hot key from string. | |
Private Member Functions | |
| LockMenuCommands (const LockMenuCommands &)=delete | |
| Invalidated copy constructor. | |
| LockMenuCommands & | operator= (const LockMenuCommands &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| GNEApplicationWindow * | myApplicationWindow |
| pointer to current GNEApplicationWindow | |
struct for processing menu commands
Definition at line 726 of file GNEApplicationWindowHelper.h.
| GNEApplicationWindowHelper::LockMenuCommands::LockMenuCommands | ( | GNEApplicationWindow * | applicationWindow | ) |
constructor
Definition at line 1339 of file GNEApplicationWindowHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
| void GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands | ( | FXMenuPane * | editMenu | ) |
build menu commands
Definition at line 1345 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCheckboxIcon(), GUIDesigns::buildFXMenuCommandShortcut(), BUSSTOP, CONNECTION, CONTAINER, CROSSING, EDGE, EDGEDATA, EDGERELDATA, GUIIconSubSys::getIcon(), JPS_OBSTACLE, JPS_WALKABLEAREA, JUNCTION, LANE, LOCK, LOCK_SELECTED, MID_GNE_LOCK_ALLELEMENTS, MID_GNE_LOCK_ELEMENT, MID_GNE_LOCK_SELECTEDELEMENTS, MID_GNE_UNLOCK_ALLELEMENTS, OVERHEADWIRE, PERSON, PERSONTRIP_EDGE, POI, POLY, RIDE_EDGE, ROUTE, STOPELEMENT, TAZ, TAZRELDATA, TL, TRANSHIP_EDGE, TRANSPORT_EDGE, UNLOCK, VEHICLE, WALK_EDGE, and WALKINGAREA.
Referenced by GNEApplicationWindow::fillMenuBar().
| void GNEApplicationWindowHelper::LockMenuCommands::editLocking | ( | const GNEAttributeCarrier * | AC, |
| const FXbool | value | ||
| ) |
lock or unlock object based in a tag property
Definition at line 1767 of file GNEApplicationWindowHelper.cpp.
References GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_EDGEREL_SINGLE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_POIGEO, GNE_TAG_POILANE, GNETagProperties::isAdditionalElement(), GNETagProperties::isContainer(), GNETagProperties::isPerson(), GNETagProperties::isPlanPersonTrip(), GNETagProperties::isPlanRide(), GNETagProperties::isPlanStopContainer(), GNETagProperties::isPlanStopPerson(), GNETagProperties::isPlanTranship(), GNETagProperties::isPlanTransport(), GNETagProperties::isPlanWalk(), GNETagProperties::isRoute(), GNETagProperties::isTAZElement(), GNETagProperties::isVehicle(), GNETagProperties::isVehicleStop(), GNETagProperties::isWireElement(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_EDGEREL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_TAZREL, and SUMO_TAG_WALKINGAREA.
| void GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1692 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1648 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1578 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::lockAll | ( | ) |
lock all
Definition at line 1705 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdLockAllElements().
|
privatedelete |
Invalidated assignment operator.
|
protected |
Parse hot key from string.
Definition at line 1830 of file GNEApplicationWindowHelper.cpp.
| void GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys | ( | ) |
remove hotkeys
Definition at line 1498 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1675 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1610 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1531 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
| void GNEApplicationWindowHelper::LockMenuCommands::unlockAll | ( | ) |
unlock all
Definition at line 1736 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdUnlockAllElements().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals = nullptr |
menu check to lock additionals
Definition at line 785 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections = nullptr |
menu check to lock connections
Definition at line 776 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers = nullptr |
menu check to lock containers
Definition at line 828 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockCrossings = nullptr |
menu check to lock crossings
Definition at line 779 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas = nullptr |
Definition at line 844 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas = nullptr |
menu check to lock edgeRelDatas
Definition at line 847 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdges = nullptr |
menu check to lock edges
Definition at line 770 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels = nullptr |
menu check to lock edgeTAZRels
Definition at line 850 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJpsObstacles = nullptr |
menu check to lock jps obstacles
Definition at line 803 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJpsWalkableAreas = nullptr |
menu check to lock jps walkableareas
Definition at line 800 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunctions = nullptr |
Definition at line 767 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockLanes = nullptr |
menu check to lock lanes
Definition at line 773 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersons = nullptr |
menu check to lock persons
Definition at line 816 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrips = nullptr |
menu check to lock personTrips
Definition at line 819 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPOIs = nullptr |
menu check to lock POIs
Definition at line 797 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPolygons = nullptr |
menu check to lock polygons
Definition at line 794 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRides = nullptr |
menu check to lock rides
Definition at line 825 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes = nullptr |
Definition at line 810 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockSelectedElements = nullptr |
menu check for lock selected elements
Definition at line 855 of file GNEApplicationWindowHelper.h.
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops = nullptr |
menu check to lock stops
Definition at line 837 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTAZs = nullptr |
menu check to lock TAZs
Definition at line 788 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTranships = nullptr |
menu check to lock tranships
Definition at line 834 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports = nullptr |
menu check to lock transports
Definition at line 831 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockVehicles = nullptr |
menu check to lock vehicles
Definition at line 813 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalkingAreas = nullptr |
menu check to lock walkingAreas
Definition at line 782 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalks = nullptr |
menu check to lock walks
Definition at line 822 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
| MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWires = nullptr |
menu check to lock Wires
Definition at line 791 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdLockElements(), GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
|
private |
pointer to current GNEApplicationWindow
Definition at line 863 of file GNEApplicationWindowHelper.h.