![]() |
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 *GNEApp) | |
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 |
menu check for lock selected elements | |
Processing FXMenuCommands for Network mode | |
menu check to lock junction | |
MFXMenuCheckIcon * | menuCheckLockJunction = 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 | |
Processing FXMenuCommands for Demand mode | |
menu check to lock routes | |
MFXMenuCheckIcon * | menuCheckLockRoutes |
MFXMenuCheckIcon * | menuCheckLockVehicles |
menu check to lock vehicles | |
MFXMenuCheckIcon * | menuCheckLockPersons |
menu check to lock persons | |
MFXMenuCheckIcon * | menuCheckLockPersonTrip |
menu check to lock personTrips | |
MFXMenuCheckIcon * | menuCheckLockWalk |
menu check to lock walks | |
MFXMenuCheckIcon * | menuCheckLockRides |
menu check to lock rides | |
MFXMenuCheckIcon * | menuCheckLockContainers |
menu check to lock containers | |
MFXMenuCheckIcon * | menuCheckLockTransports |
menu check to lock transports | |
MFXMenuCheckIcon * | menuCheckLockTranships |
menu check to lock tranships | |
MFXMenuCheckIcon * | menuCheckLockStops |
menu check to lock stops | |
Processing FXMenuCommands for Data mode | |
menu check to lock edge datas | |
MFXMenuCheckIcon * | menuCheckLockEdgeDatas |
MFXMenuCheckIcon * | menuCheckLockEdgeRelDatas |
menu check to lock edgeRelDatas | |
MFXMenuCheckIcon * | menuCheckLockEdgeTAZRels |
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 * | myGNEApp |
pointer to current GNEApplicationWindows | |
struct for processing menu commands
Definition at line 727 of file GNEApplicationWindowHelper.h.
GNEApplicationWindowHelper::LockMenuCommands::LockMenuCommands | ( | GNEApplicationWindow * | GNEApp | ) |
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(), JUNCTION, LANE, LOCK, LOCK_SELECTED, MID_GNE_LOCK_ALLELEMENTS, MID_GNE_LOCK_ELEMENT, MID_GNE_LOCK_SELECTEDELEMENTS, MID_GNE_UNLOCK_ALLELEMENTS, OVERHEADWIRE, PERSON, PERSONTRIP_FROMTO, POI, POLY, RIDE_FROMTO, ROUTE, STOPELEMENT, TAZ, TAZRELDATA, TL, TRANSHIP_FROMTO, TRANSPORT_FROMTO, UNLOCK, VEHICLE, WALK_FROMTO, 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 1741 of file GNEApplicationWindowHelper.cpp.
References GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_EDGEREL_SINGLE, GNETagProperties::isAdditionalElement(), GNETagProperties::isContainer(), GNETagProperties::isPerson(), GNETagProperties::isPersonTrip(), GNETagProperties::isRide(), GNETagProperties::isRoute(), GNETagProperties::isShapeElement(), GNETagProperties::isStop(), GNETagProperties::isStopPerson(), GNETagProperties::isTAZElement(), GNETagProperties::isTranshipPlan(), GNETagProperties::isTransportPlan(), GNETagProperties::isVehicle(), GNETagProperties::isWalk(), GNETagProperties::isWireElement(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_EDGEREL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_POLY, SUMO_TAG_TAZREL, and SUMO_TAG_WALKINGAREA.
void GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1670 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1626 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1560 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::lockAll | ( | ) |
lock all
Definition at line 1683 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdLockAllElements().
|
privatedelete |
Invalidated assignment operator.
|
protected |
Parse hot key from string.
Definition at line 1796 of file GNEApplicationWindowHelper.cpp.
void GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys | ( | ) |
remove hotkeys
Definition at line 1488 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1653 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1588 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1519 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::unlockAll | ( | ) |
unlock all
Definition at line 1712 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdUnlockAllElements().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals = nullptr |
menu check to lock additionals
Definition at line 786 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections = nullptr |
menu check to lock connections
Definition at line 777 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers |
menu check to lock containers
Definition at line 823 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockCrossings = nullptr |
menu check to lock crossings
Definition at line 780 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas |
Definition at line 839 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas |
menu check to lock edgeRelDatas
Definition at line 842 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdges = nullptr |
menu check to lock edges
Definition at line 771 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels |
menu check to lock edgeTAZRels
Definition at line 845 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunction = nullptr |
Definition at line 768 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockLanes = nullptr |
menu check to lock lanes
Definition at line 774 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersons |
menu check to lock persons
Definition at line 811 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrip |
menu check to lock personTrips
Definition at line 814 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPOIs = nullptr |
menu check to lock POIs
Definition at line 798 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPolygons = nullptr |
menu check to lock polygons
Definition at line 795 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRides |
menu check to lock rides
Definition at line 820 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes |
Definition at line 805 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockSelectedElements |
menu check for lock selected elements
Definition at line 850 of file GNEApplicationWindowHelper.h.
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops |
menu check to lock stops
Definition at line 832 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTAZs = nullptr |
menu check to lock TAZs
Definition at line 789 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTranships |
menu check to lock tranships
Definition at line 829 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports |
menu check to lock transports
Definition at line 826 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockVehicles |
menu check to lock vehicles
Definition at line 808 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalk |
menu check to lock walks
Definition at line 817 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalkingAreas = nullptr |
menu check to lock walkingAreas
Definition at line 783 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWires = nullptr |
menu check to lock Wires
Definition at line 792 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
|
private |
pointer to current GNEApplicationWindows
Definition at line 858 of file GNEApplicationWindowHelper.h.