![]() |
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 689 of file GNEApplicationWindowHelper.h.
GNEApplicationWindowHelper::LockMenuCommands::LockMenuCommands | ( | GNEApplicationWindow * | GNEApp | ) |
constructor
Definition at line 1108 of file GNEApplicationWindowHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands | ( | FXMenuPane * | editMenu | ) |
build menu commands
Definition at line 1114 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 1510 of file GNEApplicationWindowHelper.cpp.
References GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), 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_MEANDATA_EDGE, SUMO_TAG_POLY, SUMO_TAG_TAZREL, and SUMO_TAG_WALKINGAREA.
void GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1439 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1395 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1329 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::lockAll | ( | ) |
lock all
Definition at line 1452 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdLockAllElements().
|
privatedelete |
Invalidated assignment operator.
|
protected |
Parse hot key from string.
Definition at line 1565 of file GNEApplicationWindowHelper.cpp.
void GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys | ( | ) |
remove hotkeys
Definition at line 1257 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands | ( | ) |
show data processing menu commands
Definition at line 1422 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands | ( | ) |
show demand processing menu commands
Definition at line 1357 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands | ( | ) |
show network processing menu commands
Definition at line 1288 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::updateSuperModeMenuCommands().
void GNEApplicationWindowHelper::LockMenuCommands::unlockAll | ( | ) |
unlock all
Definition at line 1481 of file GNEApplicationWindowHelper.cpp.
Referenced by GNEApplicationWindow::onCmdUnlockAllElements().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals = nullptr |
menu check to lock additionals
Definition at line 748 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 739 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 785 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 742 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas |
Definition at line 801 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 804 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 733 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 807 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunction = nullptr |
Definition at line 730 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 736 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 773 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 776 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 760 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 757 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 782 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes |
Definition at line 767 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 812 of file GNEApplicationWindowHelper.h.
MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops |
menu check to lock stops
Definition at line 794 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 751 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 791 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 788 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 770 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 779 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 745 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 754 of file GNEApplicationWindowHelper.h.
Referenced by GNEViewNetHelper::LockManager::updateFlags(), and GNEViewNetHelper::LockManager::updateLockMenuBar().
|
private |
pointer to current GNEApplicationWindows
Definition at line 820 of file GNEApplicationWindowHelper.h.