163 void buildFileMenuCommands(FXMenuPane* fileMenu, FXMenuPane* fileMenuNEEDITConfig, FXMenuPane* fileMenuSumoConfig,
164 FXMenuPane* fileMenuTLS, FXMenuPane* fileMenuEdgeTypes, FXMenuPane* fileMenuAdditionals,
165 FXMenuPane* fileMenuDemandElements, FXMenuPane* fileMenuDataElements,
166 FXMenuPane* fileMenuMeanDataElements);
1000 void buildTools(FXMenuPane* toolsMenu,
const std::map<std::string, FXMenuPane*>& menuPaneToolMaps);
1003 long showTool(FXObject* menuCommand);
1153 FXObject* obj, FXSelector sel);
1157 FXObject* obj, FXSelector sel);
1161 FXObject* obj, FXSelector sel);
1164 static bool stringEndsWith(
const std::string& str,
const std::string& suffix);
Supermode
@brie enum for supermodes
GNENeteditConfigHandler & operator=(const GNENeteditConfigHandler &)=delete
Invalidated assignment operator.
GNENeteditConfigHandler(const GNENeteditConfigHandler &)=delete
Invalidated copy constructor.
const std::string myFile
netedit config file
bool loadNeteditConfig()
load netedit config
const std::string myFile
SUMO config file.
GNESumoConfigHandler(const GNESumoConfigHandler &)=delete
Invalidated copy constructor.
GNESumoConfigHandler & operator=(const GNESumoConfigHandler &)=delete
Invalidated assignment operator.
OptionsCont & mySumoOptions
sumo options
bool loadSumoConfig()
load SUMO config
The main window of Netedit.
A NBNetBuilder extended by visualisation and editing capabilities.
A logging window for the gui.
A storage for options typed value containers)
struct used to group all variables related to view options in supermode Data
MFXMenuCheckIcon * menuCheckToggleTAZRelOnlyTo
menu check to toggle TAZRel only to
void hideDataViewOptionsMenuChecks()
hide all options menu checks
void buildDataViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
MFXMenuCheckIcon * menuCheckToggleTAZDrawFill
menu check to toggle TAZ draw fill
DataViewOptions & operator=(const DataViewOptions &)=delete
Invalidated assignment operator.
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
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FXMenuSeparator * separator
separator
MFXMenuCheckIcon * menuCheckToggleTAZRelOnlyFrom
menu check to toggle TAZRel only from
MFXMenuCheckIcon * menuCheckToggleTAZRelDrawing
menu check to toggle TAZRel drawing mode
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
DemandViewOptions & operator=(const DemandViewOptions &)=delete
Invalidated assignment operator.
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
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
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
void updateShortcuts()
update shortcuts (alt+X)
struct used to group all variables related to view options in supermode Network
void hideNetworkViewOptionsMenuChecks()
hide all options menu checks
MFXMenuCheckIcon * menuCheckShowTAZElements
menu check to show TAZ elements
MFXMenuCheckIcon * menuCheckMergeAutomatically
menu check to we should warn about merging junctions
MFXMenuCheckIcon * menuCheckHideConnections
menu check to hide connections in connect mode
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
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
NetworkViewOptions(const NetworkViewOptions &)=delete
Invalidated copy constructor.
MFXMenuCheckIcon * menuCheckShowConnections
menu check to show connections
MFXMenuCheckIcon * menuCheckToggleDrawJunctionShape
menu check to toggle draw junction shape
NetworkViewOptions & operator=(const NetworkViewOptions &)=delete
Invalidated assignment operator.
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.
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
DemandViewOptions demandViewOptions
demand view options
FXMenuCheck * menuCheckAllowUndoRedo
checkBox for allow undo-redo
FXMenuCommand * openInSUMOGUI
FXMenuCommand for open in SUMO GUI.
NetworkViewOptions networkViewOptions
network view options
FXMenuCommand * editViewScheme
FXMenuCommand for edit view scheme.
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.
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.
EditMenuCommands & operator=(const EditMenuCommands &)=delete
Invalidated assignment operator.
void buildOpenSUMOMenuCommands(FXMenuPane *editMenu)
build open sumo menu commands
FXMenuCommand * editViewPort
FXMenuCommand for edit view port.
void buildFrontElementMenuCommand(FXMenuPane *editMenu)
build front element commands
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FXMenuCommand * clearFrontElement
FXMenuCommand for clear Front element.
struct for File menu commands
FXMenuCascade * myDataMenuCascade
FXMenuCascade for data.
void setJuPedSimView()
set JuPedSim view
FileMenuCommands & operator=(const FileMenuCommands &)=delete
Invalidated assignment operator.
void setDefaultView()
set default view
void buildEdgeTypeSection(FXMenuPane *menuPane)
build edge type section
FXMenuCascade * myEdgeTypesMenuCascade
FXMenuCascade for edgeTypes.
void buildDemandSection(FXMenuPane *menuPane)
build demand section
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FileMenuCommands(const FileMenuCommands &)=delete
Invalidated copy constructor.
void buildFileMenuCommands(FXMenuPane *fileMenu, FXMenuPane *fileMenuNEEDITConfig, FXMenuPane *fileMenuSumoConfig, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements, FXMenuPane *fileMenuMeanDataElements)
build menu commands
void buildDataSection(FXMenuPane *menuPane)
build data section
FXMenuCascade * myMeanDataMenuCascade
FXMenuCascade for mean data.
FXMenuCheck * menuCheckAllowUndoRedoLoading
checkBox for allow undo-redo loading
void buildTrafficLightSection(FXMenuPane *menuPane)
build traffic light section
void enableMenuCascades()
enable menu cascades
FXMenuCascade * myAdditionalMenuCascade
FXMenuCascade for additional.
FXMenuCascade * myTLSMenuCascade
FXMenuCascade for TLS.
FXMenuCascade * mySumoConfigMenuCascade
FXMenuCascade for SumoConfig.
void buildAdditionalSection(FXMenuPane *menuPane)
build additional section
void buildMeanDataSection(FXMenuPane *menuPane)
build meanData section
void disableMenuCascades()
disable menu cascades
void buildNeteditConfigSection(FXMenuPane *menuPane)
build netedit config section
FXMenuCascade * myNeteditConfigMenuCascade
FXMenuCascade for neteditConfig.
void buildSumoConfigSection(FXMenuPane *menuPane)
build SUMO Config section
FXMenuCascade * myDemandMenuCascade
FXMenuCascade for demand.
struct for help menu commands
void buildHelpMenuCommands(FXMenuPane *helpMenu)
build menu commands
HelpMenuCommands & operator=(const HelpMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
HelpMenuCommands(const HelpMenuCommands &)=delete
Invalidated copy constructor.
struct for locate menu commands
void buildLocateMenuCommands(FXMenuPane *locateMenu)
build menu commands
LocateMenuCommands & operator=(const LocateMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
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 * 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 * menuCheckLockEdgeTAZRels
menu check to lock edgeTAZRels
void hideDataLockMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckLockJunctions
void showDataLockMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckLockPersonTrips
menu check to lock personTrips
MFXMenuCheckIcon * menuCheckLockWires
menu check to lock Wires
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
LockMenuCommands & operator=(const LockMenuCommands &)=delete
Invalidated assignment operator.
MFXMenuCheckIcon * menuCheckLockPOIs
menu check to lock POIs
MFXMenuCheckIcon * menuCheckLockPolygons
menu check to lock polygons
MFXMenuCheckIcon * menuCheckLockWalkingAreas
menu check to lock walkingAreas
MFXMenuCheckIcon * menuCheckLockEdgeDatas
MFXMenuCheckIcon * menuCheckLockEdges
menu check to lock edges
MFXMenuCheckIcon * menuCheckLockSelectedElements
menu check for lock selected elements
MFXMenuCheckIcon * menuCheckLockRides
menu check to lock rides
MFXMenuCheckIcon * menuCheckLockContainers
menu check to lock containers
MFXMenuCheckIcon * menuCheckLockJpsWalkableAreas
menu check to lock jps walkableareas
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
MFXMenuCheckIcon * menuCheckLockWalks
menu check to lock walks
MFXMenuCheckIcon * menuCheckLockJpsObstacles
menu check to lock jps obstacles
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
void buildCommonMenuCommands(FXMenuPane *modesMenu)
build menu commands
CommonMenuCommands & operator=(const CommonMenuCommands &)=delete
Invalidated assignment operator.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
struct for Data menu commands
void buildDataMenuCommands(FXMenuPane *modesMenu)
build menu commands
void hideDataMenuCommands()
hide all menu commands
FXMenuCommand * edgeData
menu command for edge mode
DataMenuCommands & operator=(const DataMenuCommands &)=delete
Invalidated assignment operator.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
FXMenuCommand * TAZRelData
menu command for TAZ rel mode
void showDataMenuCommands()
show all menu commands
FXMenuCommand * meanData
menu command for mean data
FXMenuCommand * edgeRelData
menu command for edge rel mode
DataMenuCommands(const DataMenuCommands &)=delete
Invalidated copy constructor.
struct for Demand menu commands
FXMenuCommand * typeDistributionMode
menu command for type distribution mode
FXMenuCommand * routeMode
menu command for route mode
FXMenuCommand * routeDistributionMode
menu command for route distribution 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
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
FXMenuCommand * decalMode
menu command for decal mode
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
ModesMenuCommands & operator=(const ModesMenuCommands &)=delete
Invalidated assignment operator.
CommonMenuCommands commonMenuCommands
Common Menu Commands.
void buildModesMenuCommands(FXMenuPane *modesMenu)
build modes menu commands
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
void setDefaultView(Supermode supermode)
set default view
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
ModesMenuCommands(const ModesMenuCommands &)=delete
Invalidated copy constructor.
void setJuPedSimView(Supermode supermode)
set JuPedSim view
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.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
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.
FXMenuCommand * optionMenus
FXMenuCommand for open option menus.
FXMenuCommand * clearInvalidCrossings
FXMenuCommand for clear invalid crossings.
void showNetworkProcessingMenuCommands()
show network processing menu commands
ProcessingMenuCommands & operator=(const ProcessingMenuCommands &)=delete
Invalidated assignment operator.
FXMenuCommand * computeDemand
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.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FXMenuCommand * demandMode
FXMenuCommand for demand supermode.
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
void showSupermodeCommands()
show all menu commands
SupermodeCommands & operator=(const SupermodeCommands &)=delete
Invalidated assignment operator.
void setJuPedSimView()
set JuPedSim view
FXMenuCommand * networkMode
FXMenuCommand for network supermode.
void setDefaultView()
set default view
struct for windows menu commands
WindowsMenuCommands & operator=(const WindowsMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
WindowsMenuCommands(const WindowsMenuCommands &)=delete
Invalidated copy constructor.
void buildWindowsMenuCommands(FXMenuPane *windowsMenu, FXStatusBar *statusbar, GUIMessageWindow *messageWindow)
build menu commands
GNEApplicationWindowHelper(const GNEApplicationWindowHelper &)=delete
Invalidated copy constructor.
static bool toggleEditOptionsDemand(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel)
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
static bool toggleEditOptionsData(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel)
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
static bool stringEndsWith(const std::string &str, const std::string &suffix)
check if a string ends with another string
static bool toggleEditOptionsNetwork(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel)
toggle edit options Network menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
GNEApplicationWindowHelper & operator=(const GNEApplicationWindowHelper &)=delete
Invalidated assignment operator.