148 void buildFileMenuCommands(FXMenuPane* fileMenu, FXMenuPane* fileMenuSUMOConfig, FXMenuPane* fileMenuTLS,
149 FXMenuPane* fileMenuEdgeTypes, FXMenuPane* fileMenuAdditionals,
150 FXMenuPane* fileMenuDemandElements, FXMenuPane* fileMenuDataElements);
1051 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1055 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1059 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1062 static bool stringEndsWith(
const std::string& str,
const std::string& suffix);
GNEApplicationWindow * myApplicationWindow
application window
const std::string myFilepath
file path
~GNEConfigHandler()
Destructor.
GNEConfigHandler(GNEApplicationWindow *applicationWindow, const std::string &file)
Constructor.
void loadConfig(CommonXMLStructure::SumoBaseObject *configObj)
Load net file.
The main window of the Netedit.
A NBNetBuilder extended by visualisation and editing capabilities.
Dialog for edit rerouters.
A logging window for the gui.
struct used to group all variables related to view options in supermode Data
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
MFXMenuCheckIcon * menuCheckToggleTAZRelOnlyTo
menu check to toggle TAZRel only to
DataViewOptions(GNEApplicationWindow *GNEApp)
default constructor
void hideDataViewOptionsMenuChecks()
hide all options menu checks
void buildDataViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
MFXMenuCheckIcon * menuCheckToggleTAZDrawFill
menu check to toggle TAZ draw fill
DataViewOptions(const DataViewOptions &)=delete
Invalidated copy constructor.
MFXMenuCheckIcon * menuCheckShowShapes
menu check to show Shapes
void updateShortcuts()
update shortcuts (alt+X)
MFXMenuCheckIcon * menuCheckShowAdditionals
menu check to show Additionals
FXMenuSeparator * separator
separator
MFXMenuCheckIcon * menuCheckToggleTAZRelOnlyFrom
menu check to toggle TAZRel only from
MFXMenuCheckIcon * menuCheckToggleTAZRelDrawing
menu check to toggle TAZRel drawing mode
DataViewOptions & operator=(const DataViewOptions &)=delete
Invalidated assignment operator.
MFXMenuCheckIcon * menuCheckToggleDrawJunctionShape
menu check to toggle draw junction shape
MFXMenuCheckIcon * menuCheckShowDemandElements
menu check to show Demand Elements
struct used to group all variables related to view options in supermode Demand
MFXMenuCheckIcon * menuCheckToggleDrawJunctionShape
menu check to toggle draw junction shape
void hideDemandViewOptionsMenuChecks()
hide all options menu checks
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
MFXMenuCheckIcon * menuCheckLockPerson
menu check for lock Person
void buildDemandViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
DemandViewOptions(const DemandViewOptions &)=delete
Invalidated copy constructor.
MFXMenuCheckIcon * menuCheckDrawSpreadVehicles
menu check to draw vehicles in begin position or spread in lane
MFXMenuCheckIcon * menuCheckHideShapes
menu check for hide shapes (Polygons and POIs)
MFXMenuCheckIcon * menuCheckToggleGrid
menu check to show grid button
MFXMenuCheckIcon * menuCheckShowOverlappedRoutes
menu check for show overlapped routes
MFXMenuCheckIcon * menuCheckLockContainer
menu check for lock Container
FXMenuSeparator * separator
separator
DemandViewOptions & operator=(const DemandViewOptions &)=delete
Invalidated assignment operator.
MFXMenuCheckIcon * menuCheckShowAllTrips
menu check for show all trips plans
MFXMenuCheckIcon * menuCheckShowAllContainerPlans
menu check for show all container plans
MFXMenuCheckIcon * menuCheckShowAllPersonPlans
menu check for show all person plans
MFXMenuCheckIcon * menuCheckHideNonInspectedDemandElements
menu check for hide non inspected demand elements
DemandViewOptions(GNEApplicationWindow *GNEApp)
default constructor
void updateShortcuts()
update shortcuts (alt+X)
struct used to group all variables related to view options in supermode Network
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
void hideNetworkViewOptionsMenuChecks()
hide all options menu checks
MFXMenuCheckIcon * menuCheckShowTAZElements
menu check to show TAZ elements
MFXMenuCheckIcon * menuCheckHideConnections
menu check to hide connections in connect mode
NetworkViewOptions(GNEApplicationWindow *GNEApp)
default constructor
MFXMenuCheckIcon * menuCheckSelectEdges
menu check to select only edges
MFXMenuCheckIcon * menuCheckChangeAllPhases
menu check to set change all phases
MFXMenuCheckIcon * menuCheckChainEdges
menu check to the endpoint for a created edge should be set as the new source
NetworkViewOptions(const NetworkViewOptions &)=delete
Invalidated copy constructor.
MFXMenuCheckIcon * menuCheckShowConnections
menu check to show connections
MFXMenuCheckIcon * menuCheckToggleDrawJunctionShape
menu check to toggle draw junction shape
FXMenuSeparator * separator
separator
MFXMenuCheckIcon * menuCheckToggleGrid
menu check to show grid button
MFXMenuCheckIcon * menuCheckAutoOppositeEdge
check checkable to create auto create opposite edge
void updateShortcuts()
update shortcuts (alt+X)
MFXMenuCheckIcon * menuCheckShowJunctionBubble
menu check to show connection as bubble in "Move" mode.
NetworkViewOptions & operator=(const NetworkViewOptions &)=delete
Invalidated assignment operator.
MFXMenuCheckIcon * menuCheckWarnAboutMerge
menu check to we should warn about merging junctions
MFXMenuCheckIcon * menuCheckShowAdditionalSubElements
menu check to show additional sub-elements
MFXMenuCheckIcon * menuCheckExtendSelection
menu check to extend to edge nodes
MFXMenuCheckIcon * menuCheckMoveElevation
menu check to apply movement to elevation
MFXMenuCheckIcon * menuCheckShowDemandElements
menu check to show Demand Elements
MFXMenuCheckIcon * menuCheckDrawSpreadVehicles
menu check to draw vehicles in begin position or spread in lane
void buildNetworkViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
struct for edit menu commands
EditMenuCommands(GNEApplicationWindow *GNEApp)
constructor
DemandViewOptions demandViewOptions
demand view options
FXMenuCommand * openInSUMOGUI
FXMenuCommand for open in SUMO GUI.
NetworkViewOptions networkViewOptions
network view options
FXMenuCommand * editViewScheme
FXMenuCommand for edit view scheme.
EditMenuCommands & operator=(const EditMenuCommands &)=delete
Invalidated assignment operator.
EditMenuCommands(const EditMenuCommands &)=delete
Invalidated copy constructor.
void buildUndoRedoMenuCommands(FXMenuPane *editMenu)
build undo-redo menu commands
DataViewOptions dataViewOptions
data view options
void buildViewMenuCommands(FXMenuPane *editMenu)
build view menu commands
FXMenuCommand * openUndolistDialog
FXMenuCommand for open undolist dialog.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCheck * loadAdditionalsInSUMOGUI
menu check for load additionals in SUMO GUI
FXMenuCommand * undoLastChange
FXMenuCommand for undo last change.
FXMenuCheck * loadDemandInSUMOGUI
menu check for load demand in SUMO GUI
FXMenuCommand * redoLastChange
FXMenuCommand for redo last change.
void buildOpenSUMOMenuCommands(FXMenuPane *editMenu)
build open sumo menu commands
FXMenuCommand * editViewPort
FXMenuCommand for edit view port.
void buildFrontElementMenuCommand(FXMenuPane *editMenu)
build front element commands
FXMenuCommand * clearFrontElement
FXMenuCommand for clear Front element.
struct for File menu commands
FXMenuCascade * dataMenuCascade
FXMenuCascade for data.
FXMenuCascade * TLSMenuCascade
FXMenuCascade for TLS.
FXMenuCommand * saveSUMOConfig
FXMenuCommand for enable or disable save SUMOConfig.
FXMenuCommand * saveTLSPrograms
FXMenuCommand for enable or disable save TLS Programs.
FileMenuCommands(GNEApplicationWindow *GNEApp)
constructor
FXMenuCascade * demandMenuCascade
FXMenuCascade for demand.
FXMenuCommand * saveEdgeTypes
FXMenuCommand for enable or disable save edgeTypes.
FXMenuCommand * reloadTLSPrograms
FXMenuCommand for reload TLS Programs.
FXMenuCascade * additionalMenuCascade
FXMenuCascade for additional.
FileMenuCommands(const FileMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * saveDemandElementsAs
FXMenuCommand for enable or disable save demand elements as.
FileMenuCommands & operator=(const FileMenuCommands &)=delete
Invalidated assignment operator.
FXMenuCommand * saveDataElementsAs
FXMenuCommand for enable or disable save data elements as.
FXMenuCascade * SUMOConfigMenuCascade
FXMenuCascade for SUMOConfig.
FXMenuCommand * saveAdditionals
FXMenuCommand for enable or disable save additionals.
FXMenuCommand * saveDemandElements
FXMenuCommand for enable or disable save demand elements.
FXMenuCommand * reloadSUMOConfig
FXMenuCommand for reload SUMOConfig.
FXMenuCommand * saveDataElements
FXMenuCommand for enable or disable save data elements.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCommand * reloadAdditionals
FXMenuCommand for reload additionals.
FXMenuCommand * reloadDataElements
FXMenuCommand for reload data elements.
void buildFileMenuCommands(FXMenuPane *fileMenu, FXMenuPane *fileMenuSUMOConfig, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements)
build menu commands
FXMenuCommand * reloadDemandElements
FXMenuCommand for reload demand elements.
FXMenuCommand * reloadEdgeTypes
FXMenuCommand for reload Edge Types.
FXMenuCommand * saveAdditionalsAs
FXMenuCommand for enable or disable save additionals As.
FXMenuCascade * edgeTypesMenuCascade
FXMenuCascade for edgeTypes.
struct for locate menu commands
void buildLocateMenuCommands(FXMenuPane *locateMenu)
build menu commands
LocateMenuCommands(GNEApplicationWindow *GNEApp)
constructor
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
LocateMenuCommands & operator=(const LocateMenuCommands &)=delete
Invalidated assignment operator.
LocateMenuCommands(const LocateMenuCommands &)=delete
Invalidated copy constructor.
struct for processing menu commands
void buildLockMenuCommands(FXMenuPane *editMenu)
build menu commands
MFXMenuCheckIcon * menuCheckLockConnections
menu check to lock connections
void hideNetworkLockMenuCommands()
show network processing menu commands
MFXMenuCheckIcon * menuCheckLockPersonTrip
menu check to lock personTrips
MFXMenuCheckIcon * menuCheckLockPersons
menu check to lock persons
MFXMenuCheckIcon * menuCheckLockVehicles
menu check to lock vehicles
MFXMenuCheckIcon * menuCheckLockCrossings
menu check to lock crossings
void removeHotkeys()
remove hotkeys
MFXMenuCheckIcon * menuCheckLockRoutes
MFXMenuCheckIcon * menuCheckLockTAZs
menu check to lock TAZs
void hideDemandLockMenuCommands()
show demand processing menu commands
MFXMenuCheckIcon * menuCheckLockWalk
menu check to lock walks
MFXMenuCheckIcon * menuCheckLockEdgeTAZRels
menu check to lock edgeTAZRels
void hideDataLockMenuCommands()
show data processing menu commands
void showDataLockMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckLockJunction
MFXMenuCheckIcon * menuCheckLockWires
menu check to lock Wires
LockMenuCommands(GNEApplicationWindow *GNEApp)
constructor
MFXMenuCheckIcon * menuCheckLockPOIs
menu check to lock POIs
LockMenuCommands & operator=(const LockMenuCommands &)=delete
Invalidated assignment operator.
MFXMenuCheckIcon * menuCheckLockPolygons
menu check to lock polygons
MFXMenuCheckIcon * menuCheckLockWalkingAreas
menu check to lock walkingAreas
MFXMenuCheckIcon * menuCheckLockEdgeDatas
MFXMenuCheckIcon * menuCheckLockEdges
menu check to lock edges
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
MFXMenuCheckIcon * menuCheckLockSelectedElements
menu check for lock selected elements
MFXMenuCheckIcon * menuCheckLockRides
menu check to lock rides
MFXMenuCheckIcon * menuCheckLockContainers
menu check to lock containers
MFXMenuCheckIcon * menuCheckLockEdgeRelDatas
menu check to lock edgeRelDatas
MFXMenuCheckIcon * menuCheckLockStops
menu check to lock stops
MFXMenuCheckIcon * menuCheckLockLanes
menu check to lock lanes
MFXMenuCheckIcon * menuCheckLockAdditionals
menu check to lock additionals
LockMenuCommands(const LockMenuCommands &)=delete
Invalidated copy constructor.
void showNetworkLockMenuCommands()
show network processing menu commands
FXHotKey parseHotKey(const FXwchar character)
Parse hot key from string.
void showDemandLockMenuCommands()
show demand processing menu commands
MFXMenuCheckIcon * menuCheckLockTranships
menu check to lock tranships
void unlockAll()
unlock all
void editLocking(const GNEAttributeCarrier *AC, const FXbool value)
lock or unlock object based in a tag property
MFXMenuCheckIcon * menuCheckLockTransports
menu check to lock transports
struct for common menu commands
CommonMenuCommands(const CommonMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * deleteMode
menu command for delete mode
FXMenuCommand * selectMode
menu command for select mode
FXMenuCommand * inspectMode
menu command for inspect mode
CommonMenuCommands & operator=(const CommonMenuCommands &)=delete
Invalidated assignment operator.
void buildCommonMenuCommands(FXMenuPane *modesMenu)
build menu commands
CommonMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
struct for Data menu commands
DataMenuCommands & operator=(const DataMenuCommands &)=delete
Invalidated assignment operator.
void buildDataMenuCommands(FXMenuPane *modesMenu)
build menu commands
void hideDataMenuCommands()
hide all menu commands
FXMenuCommand * edgeData
menu command for edge mode
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
FXMenuCommand * TAZRelData
menu command for TAZ rel mode
DataMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
void showDataMenuCommands()
show all menu commands
FXMenuCommand * edgeRelData
menu command for edge rel mode
DataMenuCommands(const DataMenuCommands &)=delete
Invalidated copy constructor.
struct for Demand menu commands
FXMenuCommand * routeMode
menu command for route mode
FXMenuCommand * stopMode
menu command for stop mode
DemandMenuCommands & operator=(const DemandMenuCommands &)=delete
Invalidated assignment operator.
DemandMenuCommands(const DemandMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * personPlanMode
menu command for person plan mode
void buildDemandMenuCommands(FXMenuPane *modesMenu)
build menu commands
FXMenuCommand * moveMode
menu command for move mode (demand)
void showDemandMenuCommands()
show all menu commands
FXMenuCommand * containerMode
menu command for container mode
FXMenuCommand * personMode
menu command for person mode
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
FXMenuCommand * containerPlanMode
menu command for container plan mode
FXMenuCommand * typeMode
menu command for type mode
FXMenuCommand * vehicleMode
menu command for vehicle mode
DemandMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
void hideDemandMenuCommands()
hide all menu commands
struct for network menu commands
void buildNetworkMenuCommands(FXMenuPane *modesMenu)
build menu commands
FXMenuCommand * connectMode
menu command for connect mode
FXMenuCommand * additionalMode
menu command for additional mode
void hideNetworkMenuCommands()
hide all menu commands
NetworkMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
FXMenuCommand * TAZMode
menu command for TAZ mode
void showNetworkMenuCommands()
show all menu commands
FXMenuCommand * TLSMode
menu command for TLS Mode
FXMenuCommand * shapeMode
menu command for shape mode
NetworkMenuCommands(const NetworkMenuCommands &)=delete
Invalidated copy constructor.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
NetworkMenuCommands & operator=(const NetworkMenuCommands &)=delete
Invalidated assignment operator.
FXMenuCommand * createEdgeMode
menu command for create edge
FXMenuCommand * moveMode
menu command for move mode (network)
FXMenuCommand * prohibitionMode
menu command for prohibition mode
FXMenuCommand * wireMode
menu command for wire mode
FXMenuCommand * crossingMode
menu command for crossing mode
struct for modes menu commands
CommonMenuCommands commonMenuCommands
Common Menu Commands.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
void buildModesMenuCommands(FXMenuPane *modesMenu)
build modes menu commands
ModesMenuCommands(GNEApplicationWindow *GNEApp)
constructor
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
ModesMenuCommands & operator=(const ModesMenuCommands &)=delete
Invalidated assignment operator.
ModesMenuCommands(const ModesMenuCommands &)=delete
Invalidated copy constructor.
DataMenuCommands dataMenuCommands
Data Menu Commands.
NetworkMenuCommands networkMenuCommands
Network Menu Commands.
struct for processing menu commands
void showDataProcessingMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckRecomputeDataMode
checkBox for recomputing when changing data mode
FXMenuCommand * cleanRoutes
FXMenuCommand for clean routes without vehicles.
FXMenuCommand * computeNetwork
FXMenuCommand * joinJunctions
FXMenuCommand for join selected junctions.
FXMenuCommand * clearInvalidDemandElements
FXMenuCommand for clear invalid demand elements.
void showDemandProcessingMenuCommands()
show demand processing menu commands
void showSeparator()
show separator
FXMenuSeparator * myOptionsSeparator
separator for optionsMenu
FXMenuSeparator * mySeparatorCheckBox
separator for checkBox
FXMenuCommand * cleanJunctions
FXMenuCommand for clean junctions without edges.
void hideSeparator()
hide separator
void hideDemandProcessingMenuCommands()
show demand processing menu commands
void hideDataProcessingMenuCommands()
show data processing menu commands
FXMenuCommand * joinRoutes
FXMenuCommand for join routes.
void buildProcessingMenuCommands(FXMenuPane *processingMenu)
build menu commands
FXMenuCommand * computeNetworkVolatile
FXMenuCommand for compute network with volatile options.
FXMenuCommand * adjustPersonPlans
FXMenuCommand for adjust person plans.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCommand * optionMenus
FXMenuCommand for open option menus.
FXMenuCommand * clearInvalidCrossings
FXMenuCommand for clear invalid crossings.
void showNetworkProcessingMenuCommands()
show network processing menu commands
FXMenuCommand * computeDemand
ProcessingMenuCommands & operator=(const ProcessingMenuCommands &)=delete
Invalidated assignment operator.
ProcessingMenuCommands(GNEApplicationWindow *GNEApp)
constructor
ProcessingMenuCommands(const ProcessingMenuCommands &)=delete
Invalidated copy constructor.
void hideNetworkProcessingMenuCommands()
show network processing menu commands
struct for supermode commands
FXMenuCommand * dataMode
FXMenuCommand for data supermode.
SupermodeCommands(const SupermodeCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * demandMode
FXMenuCommand for demand supermode.
void hideSupermodeCommands()
hide all menu commands
SupermodeCommands & operator=(const SupermodeCommands &)=delete
Invalidated assignment operator.
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
void showSupermodeCommands()
show all menu commands
SupermodeCommands(GNEApplicationWindow *GNEApp)
constructor
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCommand * networkMode
FXMenuCommand for network supermode.
struct for windows menu commands
WindowsMenuCommands(GNEApplicationWindow *GNEApp)
constructor
WindowsMenuCommands(const WindowsMenuCommands &)=delete
Invalidated copy constructor.
WindowsMenuCommands & operator=(const WindowsMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
void buildWindowsMenuCommands(FXMenuPane *windowsMenu, FXStatusBar *statusbar, GUIMessageWindow *messageWindow)
build menu commands
static bool toggleEditOptionsData(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel)
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
GNEApplicationWindowHelper(const GNEApplicationWindowHelper &)=delete
Invalidated copy constructor.
static bool stringEndsWith(const std::string &str, const std::string &suffix)
check if a string ends with another string
static void saveSUMOConfig()
save SUMOConfig
static bool toggleEditOptionsDemand(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel)
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
GNEApplicationWindowHelper & operator=(const GNEApplicationWindowHelper &)=delete
Invalidated assignment operator.
static bool toggleEditOptionsNetwork(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel)
toggle edit options Network menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)