![]() |
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 More... | |
void | editLocking (const GNEAttributeCarrier *AC, const FXbool value) |
lock or unlock object based in a tag property More... | |
void | hideDataLockMenuCommands () |
show data processing menu commands More... | |
void | hideDemandLockMenuCommands () |
show demand processing menu commands More... | |
void | hideNetworkLockMenuCommands () |
show network processing menu commands More... | |
void | lockAll () |
lock all More... | |
LockMenuCommands (GNEApplicationWindow *GNEApp) | |
constructor More... | |
void | removeHotkeys () |
remove hotkeys More... | |
void | showDataLockMenuCommands () |
show data processing menu commands More... | |
void | showDemandLockMenuCommands () |
show demand processing menu commands More... | |
void | showNetworkLockMenuCommands () |
show network processing menu commands More... | |
void | unlockAll () |
unlock all More... | |
Protected Member Functions | |
FXHotKey | parseHotKey (const FXwchar character) |
Parse hot key from string. More... | |
Private Member Functions | |
LockMenuCommands (const LockMenuCommands &)=delete | |
Invalidated copy constructor. More... | |
LockMenuCommands & | operator= (const LockMenuCommands &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
GNEApplicationWindow * | myGNEApp |
pointer to current GNEApplicationWindows More... | |
struct for processing menu commands
Definition at line 636 of file GNEApplicationWindowHelper.h.
GNEApplicationWindowHelper::LockMenuCommands::LockMenuCommands | ( | GNEApplicationWindow * | GNEApp | ) |
constructor
Definition at line 980 of file GNEApplicationWindowHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands | ( | FXMenuPane * | editMenu | ) |
build menu commands
Definition at line 1009 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, PERSON, PERSONTRIP_FROMTO, POI, POLY, RIDE_FROMTO, ROUTE, STOPELEMENT, TAZ, TAZRELDATA, TRANSHIP_FROMTO, TRANSPORT_FROMTO, UNLOCK, VEHICLE, and WALK_FROMTO.
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 1380 of file GNEApplicationWindowHelper.cpp.
References GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isAdditionalElement(), GNETagProperties::isContainer(), GNETagProperties::isPerson(), GNETagProperties::isPersonTrip(), GNETagProperties::isRide(), GNETagProperties::isRoute(), GNETagProperties::isStop(), GNETagProperties::isStopPerson(), GNETagProperties::isTranshipPlan(), GNETagProperties::isTransportPlan(), GNETagProperties::isVehicle(), GNETagProperties::isWalk(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_EDGEREL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_TAZ, and SUMO_TAG_TAZREL.
void GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1313 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1269 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1206 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::lockAll | ( | ) |
lock all
Definition at line 1326 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdLockAllElements().
|
privatedelete |
Invalidated assignment operator.
|
protected |
Parse hot key from string.
Definition at line 1431 of file GNEApplicationWindowHelper.cpp.
void GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys | ( | ) |
remove hotkeys
Definition at line 1142 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1296 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1231 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1171 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::unlockAll | ( | ) |
unlock all
Definition at line 1353 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdUnlockAllElements().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals |
menu check to lock additionals
Definition at line 692 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections |
menu check to lock connections
Definition at line 686 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers |
menu check to lock containers
Definition at line 726 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockCrossings |
menu check to lock crossings
Definition at line 689 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas |
Definition at line 742 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas |
menu check to lock edgeRelDatas
Definition at line 745 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdges |
menu check to lock edges
Definition at line 680 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels |
menu check to lock edgeTAZRels
Definition at line 748 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunction |
Definition at line 677 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockLanes |
menu check to lock lanes
Definition at line 683 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersons |
menu check to lock persons
Definition at line 714 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrip |
menu check to lock personTrips
Definition at line 717 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPOIs |
menu check to lock POIs
Definition at line 701 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPolygons |
menu check to lock polygons
Definition at line 698 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRides |
menu check to lock rides
Definition at line 723 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes |
Definition at line 708 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockSelectedElements |
menu check for lock selected elemetns
Definition at line 753 of file GNEApplicationWindowHelper.h.
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops |
menu check to lock stops
Definition at line 735 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTAZs |
menu check to lock TAZs
Definition at line 695 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTranships |
menu check to lock tranships
Definition at line 732 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports |
menu check to lock transports
Definition at line 729 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockVehicles |
menu check to lock vehicles
Definition at line 711 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
FXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalk |
menu check to lock walks
Definition at line 720 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
|
private |
pointer to current GNEApplicationWindows
Definition at line 761 of file GNEApplicationWindowHelper.h.