27#include <netedit/templates.h>
33#include <xercesc/parsers/SAXParser.hpp>
34#include <xercesc/sax/AttributeList.hpp>
35#include <xercesc/sax/HandlerBase.hpp>
36#include <xercesc/sax/SAXException.hpp>
37#include <xercesc/sax/SAXParseException.hpp>
67 myPythonToolBarShellSuperModes =
new FXToolBarShell(myGNEApp,
GUIDesignToolBar);
68 myPythonToolBarShellSaveElements =
new FXToolBarShell(myGNEApp,
GUIDesignToolBar);
69 myPythonToolBarShellTimeFormat =
new FXToolBarShell(myGNEApp,
GUIDesignToolBar);
70 myPythonToolBarShellNavigation =
new FXToolBarShell(myGNEApp,
GUIDesignToolBar);
72 myPythonToolBarShellIntervalBar =
new FXToolBarShell(myGNEApp,
GUIDesignToolBar);
93 saveElements->create();
97 intervalBar->create();
99 myPythonToolBarShellSuperModes->create();
100 myPythonToolBarShellSaveElements->create();
101 myPythonToolBarShellTimeFormat->create();
102 myPythonToolBarShellNavigation->create();
103 myPythonToolBarShellModes->create();
104 myPythonToolBarShellIntervalBar->create();
106 myGNEApp->getTopDock()->recalc();
120 delete myPythonToolBarShellSuperModes;
121 delete myPythonToolBarShellSaveElements;
122 delete myPythonToolBarShellTimeFormat;
123 delete myPythonToolBarShellNavigation;
124 delete myPythonToolBarShellModes;
125 delete myPythonToolBarShellIntervalBar;
127 myGNEApp->getTopDock()->recalc();
135 myRecentNetworks(GNEApp->getApp(),
TL(
"nets")),
136 myRecentConfigs(GNEApp->getApp(),
TL(
"configs")),
154 new FXMenuSeparator(fileMenuRecentNetworkFiles);
158 myRecentNetworks.setTarget(myGNEApp);
160 new FXMenuCascade(fileMenu,
TL(
"Recent Networks"),
nullptr, fileMenuRecentNetworkFiles);
177 new FXMenuSeparator(fileMenuRecentConfigFiles);
181 myRecentConfigs.setTarget(myGNEApp);
183 new FXMenuCascade(fileMenu,
TL(
"Recent Configs"),
nullptr, fileMenuRecentConfigFiles);
197 FXMenuPane* fileMenuSumoConfig, FXMenuPane* fileMenuTLS, FXMenuPane* fileMenuEdgeTypes, FXMenuPane* fileMenuAdditionals,
198 FXMenuPane* fileMenuDemandElements, FXMenuPane* fileMenuDataElements, FXMenuPane* fileMenuMeanDataElements) {
201 TL(
"New Network"),
"Ctrl+N",
TL(
"Create a new network."),
205 TL(
"New Window"),
"Ctrl+Shift+N",
TL(
"Open a new netedit window."),
209 TL(
"Generate Network"),
"",
TL(
"Create network using netgenerate."),
213 new FXMenuSeparator(fileMenu);
216 TL(
"Load Netedit config..."),
"Ctrl+E",
TL(
"Load a netedit configuration file."),
220 TL(
"Load Sumo config..."),
"Ctrl+M",
TL(
"Load a SUMO configuration file."),
224 new FXMenuSeparator(fileMenu);
227 TL(
"Open Network..."),
"Ctrl+O",
TL(
"Open a SUMO network."),
231 TL(
"Open Netconvert Configuration..."),
"Ctrl+Shift+O",
TL(
"Open a configuration file with NETCONVERT options."),
235 TL(
"Import Foreign Network..."),
"",
TL(
"Import a foreign network such as OSM."),
239 new FXMenuSeparator(fileMenu);
242 TL(
"Save Network"),
"Ctrl+S",
TL(
"Save the network."),
246 TL(
"Save Network As..."),
"",
TL(
"Save the network to another file."),
250 TL(
"Save Plain XML..."),
"Ctrl+L",
TL(
"Save a plain XML representation of the network."),
254 TL(
"Save Joined Junctions..."),
"",
TL(
"Save log of joined junctions (allows reproduction of joins)."),
258 new FXMenuSeparator(fileMenu);
261 TL(
"Reload"),
"Ctrl+R",
TL(
"Reload the network."),
265 TL(
"Reload Network"),
"",
TL(
"Reload the network."),
268 new FXMenuSeparator(fileMenu);
271 buildNeteditConfigSection(fileMenuNeteditConfig);
275 buildSumoConfigSection(fileMenuSumoConfig);
279 buildTrafficLightSection(fileMenuTLS);
283 buildEdgeTypeSection(fileMenuEdgeTypes);
287 buildAdditionalSection(fileMenuAdditionals);
291 buildDemandSection(fileMenuDemandElements);
295 buildDataSection(fileMenuDataElements);
299 buildMeanDataSection(fileMenuMeanDataElements);
303 new FXMenuSeparator(fileMenu);
305 TL(
"Allow undoing element loading"),
"",
TL(
"Allow to undo loading of elements (Slow if a lot of elements are loaded)"),
308 menuCheckAllowUndoRedoLoading->setCheck(myGNEApp->getApp()->reg().readBoolEntry(
"NETEDIT",
"AllowUndoRedoLoading",
true));
311 new FXMenuSeparator(fileMenu);
313 TL(
"Close"),
"Ctrl+W",
TL(
"Close the network."),
320 mySumoConfigMenuCascade->enable();
321 myNeteditConfigMenuCascade->enable();
322 myTLSMenuCascade->enable();
323 myEdgeTypesMenuCascade->enable();
324 myAdditionalMenuCascade->enable();
325 myDemandMenuCascade->enable();
326 myDataMenuCascade->enable();
327 myMeanDataMenuCascade->enable();
333 mySumoConfigMenuCascade->disable();
334 myNeteditConfigMenuCascade->disable();
335 myTLSMenuCascade->disable();
336 myEdgeTypesMenuCascade->disable();
337 myAdditionalMenuCascade->disable();
338 myDemandMenuCascade->disable();
339 myDataMenuCascade->disable();
340 myMeanDataMenuCascade->disable();
346 myTLSMenuCascade->show();
347 myDataMenuCascade->show();
348 myMeanDataMenuCascade->show();
354 myTLSMenuCascade->hide();
355 myDataMenuCascade->hide();
356 myMeanDataMenuCascade->hide();
363 TL(
"Save Netedit Config"),
"Ctrl+Shift+E",
TL(
"Save netedit configuration file."),
367 TL(
"Save Netedit Config As..."),
"",
TL(
"Save netedit configuration in a new file."),
370 new FXMenuSeparator(menuPane);
373 TL(
"Reload Netedit Config"),
"",
TL(
"Reload netedit configuration."),
381 TL(
"Save Sumo Config"),
"Ctrl+Shift+S",
TL(
"Save sumo configuration file."),
385 TL(
"Save Sumo Config As..."),
"",
TL(
"Save sumo configuration in a new file."),
388 new FXMenuSeparator(menuPane);
391 TL(
"Reload Sumo Config"),
"",
TL(
"Reload sumo configuration."),
399 TL(
"Load TLS Programs..."),
"Ctrl+K",
TL(
"Load programs for traffic lights in the current net."),
402 new FXMenuSeparator(menuPane);
405 TL(
"Save TLS Programs"),
"Ctrl+Shift+K",
TL(
"Save all traffic light programs of the current network."),
409 TL(
"Save TLS Programs As..."),
"",
TL(
"Save all traffic light programs of the current network to another file."),
412 new FXMenuSeparator(menuPane);
415 TL(
"Reload TLS Programs"),
"",
TL(
"Reload TLS Programs."),
423 TL(
"Load Edge Types..."),
"Ctrl+H",
TL(
"Load edge types in the current net."),
426 new FXMenuSeparator(menuPane);
429 TL(
"Save Edge Types"),
"Ctrl+Shift+H",
TL(
"Save edge types of the current net."),
433 TL(
"Save Edge Types As..."),
"",
TL(
"Save edge types of the current net to another file."),
436 new FXMenuSeparator(menuPane);
439 TL(
"Reload edge types"),
"",
TL(
"Reload edge types."),
447 TL(
"Load Additionals..."),
"Ctrl+A",
TL(
"Load additionals and shapes."),
450 new FXMenuSeparator(menuPane);
453 TL(
"Save Additionals"),
"Ctrl+Shift+A",
TL(
"Save additionals and shapes."),
457 TL(
"Save Additionals As..."),
"",
TL(
"Save additional elements to another file."),
461 TL(
"Save JuPedSim Elements As..."),
"",
TL(
"Save JuPedSim elements in a separated file."),
464 new FXMenuSeparator(menuPane);
467 TL(
"Reload Additionals"),
"",
TL(
"Reload additionals."),
475 TL(
"Load Demand Elements..."),
"Ctrl+D",
TL(
"Load demand elements."),
478 new FXMenuSeparator(menuPane);
481 TL(
"Save Demand Elements"),
"Ctrl+Shift+D",
TL(
"Save demand elements."),
485 TL(
"Save Demand Elements As..."),
"",
TL(
"Save demand elements to another file."),
488 new FXMenuSeparator(menuPane);
491 TL(
"Reload Demand Elements"),
"",
TL(
"Reload demand elements."),
499 TL(
"Load Data Elements..."),
"Ctrl+B",
TL(
"Load data elements."),
502 new FXMenuSeparator(menuPane);
505 TL(
"Save Data Elements"),
"Ctrl+Shift+B",
TL(
"Save data elements."),
509 TL(
"Save Data Elements As..."),
"",
TL(
"Save data elements to another file."),
512 new FXMenuSeparator(menuPane);
515 TL(
"Reload Data Elements"),
"",
TL(
"Reload data elements."),
523 TL(
"Load MeanDatas..."),
"",
TL(
"Load meanDatas and shapes."),
526 new FXMenuSeparator(menuPane);
529 TL(
"Save MeanDatas"),
"",
TL(
"Save meanDatas and shapes."),
533 TL(
"Save MeanDatas As..."),
"Ctrl+Shift+M",
TL(
"Save meanData elements to another file."),
536 new FXMenuSeparator(menuPane);
539 TL(
"Reload MeanDatas"),
"",
TL(
"Reload meanDatas."),
548 myModesMenuCommandsParent(modesMenuCommandsParent) {
556 TL(
"&Inspect"),
"I",
TL(
"Inspect elements and change their attributes."),
559 TL(
"&Delete"),
"D",
TL(
"Delete elements."),
562 TL(
"&Select"),
"S",
TL(
"Select elements."),
571 myModesMenuCommandsParent(modesMenuCommandsParent) {
577 createEdgeMode->show();
580 prohibitionMode->show();
582 additionalMode->show();
583 crossingMode->show();
593 createEdgeMode->hide();
596 prohibitionMode->hide();
598 additionalMode->hide();
599 crossingMode->hide();
611 TL(
"&Move"),
"M",
TL(
"Move elements."),
615 TL(
"&Edge"),
"E",
TL(
"Create junction and edges."),
619 TL(
"&Traffic light"),
"T",
TL(
"Modes traffic lights over junctions."),
623 TL(
"&Connection"),
"C",
TL(
"Modes connections between lanes."),
627 TL(
"Pro&hibition"),
"H",
TL(
"Modes connection prohibitions."),
631 TL(
"C&rossing"),
"R",
TL(
"Create crossings between edges."),
635 TL(
"&Additional"),
"A",
TL(
"Create additional elements."),
639 TL(
"&Wire"),
"W",
TL(
"Create wires."),
643 TL(
"TA&Z"),
"Z",
TL(
"Create Traffic Assignment Zones."),
647 TL(
"&POI-Poly"),
"P",
TL(
"Create Points-Of-Interest and polygons."),
651 TL(
"Deca&ls"),
"U",
TL(
"Create decals."),
661 myModesMenuCommandsParent(modesMenuCommandsParent) {
669 routeDistributionMode->show();
672 typeDistributionMode->show();
675 personPlanMode->show();
676 containerMode->show();
677 containerPlanMode->show();
685 routeDistributionMode->hide();
688 typeDistributionMode->hide();
691 personPlanMode->hide();
692 containerMode->hide();
693 containerPlanMode->hide();
701 TL(
"&Move"),
"M",
TL(
"Move elements."),
704 TL(
"Route"),
"R",
TL(
"Create Routes."),
707 TL(
"Route distribution"),
"W",
TL(
"Create and edit route distributions."),
711 TL(
"Vehicle"),
"V",
TL(
"Create vehicles."),
714 TL(
"Type"),
"T",
TL(
"Create types (vehicles, person and containers)."),
717 TL(
"TypeDistribution"),
"U",
TL(
"Create and edit type distributions."),
720 TL(
"Stop"),
"A",
TL(
"Create stops."),
723 TL(
"Person"),
"P",
TL(
"Create persons."),
726 TL(
"Person plan"),
"L",
TL(
"Create person plans."),
729 TL(
"Container"),
"C",
TL(
"Create containers."),
732 TL(
"Container plan"),
"H",
TL(
"Create container plans."),
741 myModesMenuCommandsParent(modesMenuCommandsParent) {
767 TL(
"&EdgeData"),
"E",
TL(
"Create edgeData elements."),
770 TL(
"Edge&Relation"),
"R",
TL(
"Create edgeRelation elements."),
773 TL(
"TA&ZRelation"),
"Z",
TL(
"Create TAZRelation elements."),
776 TL(
"&MeanData"),
"M",
TL(
"Create MeanData edge/lanes."),
795 commonMenuCommands.buildCommonMenuCommands(modesMenu);
797 networkMenuCommands.buildNetworkMenuCommands(modesMenu);
798 networkMenuCommands.hideNetworkMenuCommands();
800 demandMenuCommands.buildDemandMenuCommands(modesMenu);
801 demandMenuCommands.hideDemandMenuCommands();
803 dataMenuCommands.buildDataMenuCommands(modesMenu);
804 dataMenuCommands.hideDataMenuCommands();
811 networkMenuCommands.showNetworkMenuCommands();
813 demandMenuCommands.showDemandMenuCommands();
815 dataMenuCommands.showDataMenuCommands();
823 networkMenuCommands.connectMode->hide();
824 networkMenuCommands.TLSMode->hide();
825 networkMenuCommands.prohibitionMode->hide();
826 networkMenuCommands.wireMode->hide();
827 networkMenuCommands.decalMode->hide();
829 demandMenuCommands.moveMode->hide();
830 demandMenuCommands.vehicleMode->hide();
831 demandMenuCommands.stopMode->hide();
832 demandMenuCommands.containerMode->hide();
833 demandMenuCommands.containerPlanMode->hide();
835 dataMenuCommands.hideDataMenuCommands();
852 TL(
"Show grid"),
"Ctrl+G or Alt+1",
"",
857 TL(
"Hide junction shape"),
"Ctrl+J or Alt+2",
"",
862 TL(
"Draw vehicles spread in lane or in depart position"),
"Alt+3",
"",
867 TL(
"Show demand elements"),
"Alt+4",
"",
872 TL(
"Clicking should target lanes"),
"Alt+5",
"",
877 TL(
"Show connections over junctions"),
"Alt+6",
"",
882 TL(
"Hide connections"),
"Alt+7",
"",
887 TL(
"Show sub-additional elements"),
"Alt+8",
"",
892 TL(
"Show TAZ elements"),
"Alt+9",
"",
897 TL(
"Selecting multiple edges automatically select their junctions"),
"Alt+10",
"",
902 TL(
"Clicking should apply state changes to all phases of TLS plan"),
"Alt+5",
"",
907 TL(
"Ask for confirmation before merging junction"),
"Alt+5",
"",
912 TL(
"Show bubbles over junctions shapes"),
"Alt+6",
"",
917 TL(
"Apply mouse movement to elevation"),
"Alt+7",
"",
922 TL(
"Create consecutive edges"),
"Alt+5",
"",
927 TL(
"Create an edge in the opposite direction"),
"Alt+6",
"",
932 separator =
new FXMenuSeparator(editMenu);
938 menuCheckToggleGrid->hide();
939 menuCheckToggleDrawJunctionShape->hide();
940 menuCheckDrawSpreadVehicles->hide();
941 menuCheckShowDemandElements->hide();
942 menuCheckSelectEdges->hide();
943 menuCheckShowConnections->hide();
944 menuCheckHideConnections->hide();
945 menuCheckShowAdditionalSubElements->hide();
946 menuCheckShowTAZElements->hide();
947 menuCheckExtendSelection->hide();
948 menuCheckChangeAllPhases->hide();
949 menuCheckWarnAboutMerge->hide();
950 menuCheckShowJunctionBubble->hide();
951 menuCheckMoveElevation->hide();
952 menuCheckChainEdges->hide();
953 menuCheckAutoOppositeEdge->hide();
962 if (menuCheckDrawSpreadVehicles->shown()) {
963 menuCheckDrawSpreadVehicles->setAccelText((
"Alt+" +
toString(index)).c_str());
966 if (menuCheckDrawSpreadVehicles->shown()) {
967 menuCheckDrawSpreadVehicles->setAccelText((
"Alt+" +
toString(index)).c_str());
970 if (menuCheckShowDemandElements->shown()) {
971 menuCheckShowDemandElements->setAccelText((
"Alt+" +
toString(index)).c_str());
974 if (menuCheckSelectEdges->shown()) {
975 menuCheckSelectEdges->setAccelText((
"Alt+" +
toString(index)).c_str());
978 if (menuCheckShowConnections->shown()) {
979 menuCheckShowConnections->setAccelText((
"Alt+" +
toString(index)).c_str());
982 if (menuCheckHideConnections->shown()) {
983 menuCheckHideConnections->setAccelText((
"Alt+" +
toString(index)).c_str());
986 if (menuCheckShowAdditionalSubElements->shown()) {
987 menuCheckShowAdditionalSubElements->setAccelText((
"Alt+" +
toString(index)).c_str());
990 if (menuCheckShowTAZElements->shown()) {
991 menuCheckShowTAZElements->setAccelText((
"Alt+" +
toString(index)).c_str());
994 if (menuCheckExtendSelection->shown()) {
995 menuCheckExtendSelection->setAccelText((
"Alt+" +
toString(index)).c_str());
998 if (menuCheckChangeAllPhases->shown()) {
999 menuCheckChangeAllPhases->setAccelText((
"Alt+" +
toString(index)).c_str());
1002 if (menuCheckWarnAboutMerge->shown()) {
1003 menuCheckWarnAboutMerge->setAccelText((
"Alt+" +
toString(index)).c_str());
1006 if (menuCheckShowJunctionBubble->shown()) {
1007 menuCheckShowJunctionBubble->setAccelText((
"Alt+" +
toString(index)).c_str());
1010 if (menuCheckMoveElevation->shown()) {
1011 menuCheckMoveElevation->setAccelText((
"Alt+" +
toString(index)).c_str());
1014 if (menuCheckChainEdges->shown()) {
1015 menuCheckChainEdges->setAccelText((
"Alt+" +
toString(index)).c_str());
1018 if (menuCheckAutoOppositeEdge->shown()) {
1019 menuCheckAutoOppositeEdge->setAccelText((
"Alt+" +
toString(index)).c_str());
1037 TL(
"Show grid"),
"Ctrl+G or Alt+1",
"",
1042 TL(
"Hide junction shape"),
"Ctrl+J or Alt+2",
"",
1047 TL(
"Draw vehicles spread/depart position"),
"Alt+3",
"",
1052 TL(
"Show shapes"),
"Alt+4",
"",
1057 TL(
"Show all trips"),
"Alt+5",
"",
1062 TL(
"Show all person plans"),
"Alt+6",
"",
1067 TL(
"Lock selected person"),
"Alt+7",
"",
1072 TL(
"Show all container plans"),
"Alt+6",
"",
1077 TL(
"Lock selected container"),
"Alt+7",
"",
1082 TL(
"Show non-inspected demand elements"),
"Alt+8",
"",
1087 TL(
"Show number of overlapped routes"),
"Alt+9",
"",
1092 separator =
new FXMenuSeparator(editMenu);
1098 menuCheckToggleGrid->hide();
1099 menuCheckToggleDrawJunctionShape->hide();
1100 menuCheckDrawSpreadVehicles->hide();
1101 menuCheckHideShapes->hide();
1102 menuCheckShowAllTrips->hide();
1103 menuCheckHideNonInspectedDemandElements->hide();
1104 menuCheckShowOverlappedRoutes->hide();
1105 menuCheckShowAllPersonPlans->hide();
1106 menuCheckLockPerson->hide();
1107 menuCheckShowAllContainerPlans->hide();
1108 menuCheckLockContainer->hide();
1117 if (menuCheckDrawSpreadVehicles->shown()) {
1118 menuCheckDrawSpreadVehicles->setAccelText((
"Alt+" +
toString(index)).c_str());
1121 if (menuCheckHideShapes->shown()) {
1122 menuCheckHideShapes->setAccelText((
"Alt+" +
toString(index)).c_str());
1125 if (menuCheckShowAllTrips->shown()) {
1126 menuCheckShowAllTrips->setAccelText((
"Alt+" +
toString(index)).c_str());
1129 if (menuCheckHideNonInspectedDemandElements->shown()) {
1130 menuCheckHideNonInspectedDemandElements->setAccelText((
"Alt+" +
toString(index)).c_str());
1133 if (menuCheckShowOverlappedRoutes->shown()) {
1134 menuCheckShowOverlappedRoutes->setAccelText((
"Alt+" +
toString(index)).c_str());
1137 if (menuCheckShowAllPersonPlans->shown()) {
1138 menuCheckShowAllPersonPlans->setAccelText((
"Alt+" +
toString(index)).c_str());
1141 if (menuCheckLockPerson->shown()) {
1142 menuCheckLockPerson->setAccelText((
"Alt+" +
toString(index)).c_str());
1145 if (menuCheckShowAllContainerPlans->shown()) {
1146 menuCheckShowAllContainerPlans->setAccelText((
"Alt+" +
toString(index)).c_str());
1149 if (menuCheckLockContainer->shown()) {
1150 menuCheckLockContainer->setAccelText((
"Alt+" +
toString(index)).c_str());
1168 TL(
"Hide junction shape"),
"Ctrl+J or Alt+1",
"",
1173 TL(
"Show additionals"),
"Alt+2",
"",
1178 TL(
"Show shapes"),
"Alt+3",
"",
1183 TL(
"Show demand elements"),
"Alt+4",
"",
1188 TL(
"Draw TAZRel from center"),
"Alt+5",
"",
1193 TL(
"Draw TAZ fill"),
"Alt+6",
"",
1198 TL(
"Only draw TAZRel from"),
"Alt+6",
"",
1203 TL(
"Only draw TAZRel to"),
"Alt+7",
"",
1207 separator =
new FXMenuSeparator(editMenu);
1213 menuCheckToggleDrawJunctionShape->hide();
1214 menuCheckShowAdditionals->hide();
1215 menuCheckShowShapes->hide();
1216 menuCheckShowDemandElements->hide();
1217 menuCheckToggleTAZRelDrawing->hide();
1218 menuCheckToggleTAZDrawFill->hide();
1219 menuCheckToggleTAZRelOnlyFrom->hide();
1220 menuCheckToggleTAZRelOnlyTo->hide();
1229 if (menuCheckShowAdditionals->shown()) {
1230 menuCheckShowAdditionals->setAccelText((
"Alt+" +
toString(index)).c_str());
1233 if (menuCheckShowShapes->shown()) {
1234 menuCheckShowShapes->setAccelText((
"Alt+" +
toString(index)).c_str());
1237 if (menuCheckShowDemandElements->shown()) {
1238 menuCheckShowDemandElements->setAccelText((
"Alt+" +
toString(index)).c_str());
1241 if (menuCheckToggleTAZRelDrawing->shown()) {
1242 menuCheckToggleTAZRelDrawing->setAccelText((
"Alt+" +
toString(index)).c_str());
1245 if (menuCheckToggleTAZDrawFill->shown()) {
1246 menuCheckToggleTAZDrawFill->setAccelText((
"Alt+" +
toString(index)).c_str());
1249 if (menuCheckToggleTAZRelOnlyFrom->shown()) {
1250 menuCheckToggleTAZRelOnlyFrom->setAccelText((
"Alt+" +
toString(index)).c_str());
1253 if (menuCheckToggleTAZRelOnlyTo->shown()) {
1254 menuCheckToggleTAZRelOnlyTo->setAccelText((
"Alt+" +
toString(index)).c_str());
1275 TL(
"Undo"),
"Ctrl+Z",
TL(
"Undo the last change."),
1278 TL(
"Redo"),
"Ctrl+Y",
TL(
"Redo the last change."),
1281 TL(
"Show undo/redo history"),
"",
TL(
"Open undo/redo history dialog."),
1285 TL(
"Allow undo-redo"),
"",
"",
1287 menuCheckAllowUndoRedo->setCheck(myGNEApp->getApp()->reg().readBoolEntry(
"NETEDIT",
"AllowUndoRedo",
true));
1295 TL(
"Edit Visualisation"),
"F9",
TL(
"Opens a dialog for editing visualization settings."),
1298 TL(
"Edit Viewport"),
"Ctrl+I",
TL(
"Opens a dialog for editing viewing area, zoom and rotation."),
1307 TL(
"Clear front element"),
"F11",
TL(
"Clear current front element"),
1316 TL(
"Load additionals in sumo-gui"),
TL(
"Load additionals in sumo-gui."),
1318 loadAdditionalsInSUMOGUI->setCheck(TRUE);
1320 TL(
"Load demand in sumo-gui"),
TL(
"Load demand in sumo-gui."),
1322 loadDemandInSUMOGUI->setCheck(TRUE);
1324 TL(
"Open in sumo-gui"),
"Ctrl+T",
TL(
"Opens the sumo-gui application with the current network."),
1341 TL(
"&Junctions"),
"",
"",
1346 TL(
"&Edges"),
"",
"",
1351 TL(
"&Lanes"),
"",
"",
1356 TL(
"&Connections"),
"",
"",
1361 TL(
"C&rossings"),
"",
"",
1366 TL(
"Walkin&gAreas"),
"",
"",
1371 TL(
"&Additionals"),
"",
"",
1376 TL(
"&TAZs"),
"",
"",
1381 TL(
"&Wires"),
"",
"",
1386 TL(
"&Polygons"),
"",
"",
1391 TL(
"P&OIs"),
"",
"",
1396 TL(
"WalkableAreas"),
"",
"",
1401 TL(
"Obstacles"),
"",
"",
1406 TL(
"&Routes"),
"",
"",
1411 TL(
"&Vehicles"),
"",
"",
1416 TL(
"&Persons"),
"",
"",
1421 TL(
"Person&Trips"),
"",
"",
1426 TL(
"&Walks"),
"",
"",
1431 TL(
"Ri&des"),
"",
"",
1436 TL(
"&Containers"),
"",
"",
1441 TL(
"Tra&nsports"),
"",
"",
1446 TL(
"Trans&hips"),
"",
"",
1451 TL(
"Stop&s"),
"",
"",
1456 TL(
"&EdgeDatas"),
"",
"",
1461 TL(
"E&dgeRelDatas"),
"",
"",
1466 TL(
"Edge&TAZRel"),
"",
"",
1471 new FXMenuSeparator(fileMenu);
1474 TL(
"Lock selected elements"),
"",
TL(
"selected elements"),
1478 new FXMenuSeparator(fileMenu);
1481 TL(
"Lock all elements"),
"",
TL(
"all elements"),
1485 TL(
"Unlock all elements"),
"",
TL(
"Unlock all elements"),
1493 menuCheckLockJunction->remHotKey(parseHotKey(
'j'));
1494 menuCheckLockEdges->remHotKey(parseHotKey(
'e'));
1495 menuCheckLockLanes->remHotKey(parseHotKey(
'l'));
1496 menuCheckLockConnections->remHotKey(parseHotKey(
'c'));
1497 menuCheckLockCrossings->remHotKey(parseHotKey(
'r'));
1498 menuCheckLockWalkingAreas->remHotKey(parseHotKey(
'g'));
1499 menuCheckLockAdditionals->remHotKey(parseHotKey(
'a'));
1500 menuCheckLockTAZs->remHotKey(parseHotKey(
't'));
1501 menuCheckLockWires->remHotKey(parseHotKey(
'w'));
1502 menuCheckLockPolygons->remHotKey(parseHotKey(
'p'));
1503 menuCheckLockPOIs->remHotKey(parseHotKey(
'o'));
1504 menuCheckLockJpsWalkableAreas->remHotKey(parseHotKey(
'n'));
1505 menuCheckLockJpsObstacles->remHotKey(parseHotKey(
'b'));
1507 menuCheckLockRoutes->remHotKey(parseHotKey(
'r'));
1508 menuCheckLockVehicles->remHotKey(parseHotKey(
'v'));
1509 menuCheckLockPersons->remHotKey(parseHotKey(
'p'));
1510 menuCheckLockPersonTrip->remHotKey(parseHotKey(
't'));
1511 menuCheckLockWalk->remHotKey(parseHotKey(
'w'));
1512 menuCheckLockRides->remHotKey(parseHotKey(
'd'));
1513 menuCheckLockContainers->remHotKey(parseHotKey(
'c'));
1514 menuCheckLockTransports->remHotKey(parseHotKey(
'n'));
1515 menuCheckLockTranships->remHotKey(parseHotKey(
'h'));
1516 menuCheckLockStops->remHotKey(parseHotKey(
's'));
1518 menuCheckLockEdgeDatas->remHotKey(parseHotKey(
'e'));
1519 menuCheckLockEdgeRelDatas->remHotKey(parseHotKey(
'd'));
1520 menuCheckLockEdgeTAZRels->remHotKey(parseHotKey(
't'));
1526 menuCheckLockJunction->enable();
1527 menuCheckLockEdges->enable();
1528 menuCheckLockLanes->enable();
1529 menuCheckLockConnections->enable();
1530 menuCheckLockCrossings->enable();
1531 menuCheckLockWalkingAreas->enable();
1532 menuCheckLockAdditionals->enable();
1533 menuCheckLockTAZs->enable();
1534 menuCheckLockWires->enable();
1535 menuCheckLockPolygons->enable();
1536 menuCheckLockPOIs->enable();
1537 menuCheckLockJpsWalkableAreas->enable();
1538 menuCheckLockJpsObstacles->enable();
1540 menuCheckLockJunction->addHotKey(parseHotKey(
'j'));
1541 menuCheckLockEdges->addHotKey(parseHotKey(
'e'));
1542 menuCheckLockLanes->addHotKey(parseHotKey(
'l'));
1543 menuCheckLockConnections->addHotKey(parseHotKey(
'c'));
1544 menuCheckLockCrossings->addHotKey(parseHotKey(
'r'));
1545 menuCheckLockWalkingAreas->addHotKey(parseHotKey(
'g'));
1546 menuCheckLockAdditionals->addHotKey(parseHotKey(
'a'));
1547 menuCheckLockTAZs->addHotKey(parseHotKey(
't'));
1548 menuCheckLockWires->addHotKey(parseHotKey(
'w'));
1549 menuCheckLockPolygons->addHotKey(parseHotKey(
'p'));
1550 menuCheckLockPOIs->addHotKey(parseHotKey(
'o'));
1551 menuCheckLockJpsWalkableAreas->addHotKey(parseHotKey(
'n'));
1552 menuCheckLockJpsObstacles->addHotKey(parseHotKey(
'b'));
1554 menuCheckLockJunction->show();
1555 menuCheckLockEdges->show();
1556 menuCheckLockLanes->show();
1557 menuCheckLockConnections->show();
1558 menuCheckLockCrossings->show();
1559 menuCheckLockWalkingAreas->show();
1560 menuCheckLockAdditionals->show();
1561 menuCheckLockTAZs->show();
1562 menuCheckLockWires->show();
1563 menuCheckLockPolygons->show();
1564 menuCheckLockPOIs->show();
1565 menuCheckLockJpsWalkableAreas->show();
1566 menuCheckLockJpsObstacles->show();
1573 menuCheckLockJunction->disable();
1574 menuCheckLockEdges->disable();
1575 menuCheckLockLanes->disable();
1576 menuCheckLockConnections->disable();
1577 menuCheckLockCrossings->disable();
1578 menuCheckLockWalkingAreas->disable();
1579 menuCheckLockAdditionals->disable();
1580 menuCheckLockTAZs->disable();
1581 menuCheckLockPolygons->disable();
1582 menuCheckLockPOIs->disable();
1583 menuCheckLockJpsWalkableAreas->disable();
1584 menuCheckLockJpsObstacles->disable();
1586 menuCheckLockJunction->hide();
1587 menuCheckLockEdges->hide();
1588 menuCheckLockLanes->hide();
1589 menuCheckLockConnections->hide();
1590 menuCheckLockCrossings->hide();
1591 menuCheckLockWalkingAreas->hide();
1592 menuCheckLockAdditionals->hide();
1593 menuCheckLockTAZs->hide();
1594 menuCheckLockWires->hide();
1595 menuCheckLockPolygons->hide();
1596 menuCheckLockPOIs->hide();
1597 menuCheckLockJpsWalkableAreas->hide();
1598 menuCheckLockJpsObstacles->hide();
1605 menuCheckLockRoutes->enable();
1606 menuCheckLockVehicles->enable();
1607 menuCheckLockPersons->enable();
1608 menuCheckLockPersonTrip->enable();
1609 menuCheckLockWalk->enable();
1610 menuCheckLockRides->enable();
1611 menuCheckLockContainers->enable();
1612 menuCheckLockTransports->enable();
1613 menuCheckLockTranships->enable();
1614 menuCheckLockStops->enable();
1616 menuCheckLockRoutes->addHotKey(parseHotKey(
'r'));
1617 menuCheckLockVehicles->addHotKey(parseHotKey(
'v'));
1618 menuCheckLockPersons->addHotKey(parseHotKey(
'p'));
1619 menuCheckLockPersonTrip->addHotKey(parseHotKey(
't'));
1620 menuCheckLockWalk->addHotKey(parseHotKey(
'w'));
1621 menuCheckLockRides->addHotKey(parseHotKey(
'd'));
1622 menuCheckLockContainers->addHotKey(parseHotKey(
'c'));
1623 menuCheckLockTransports->addHotKey(parseHotKey(
'n'));
1624 menuCheckLockTranships->addHotKey(parseHotKey(
'h'));
1625 menuCheckLockStops->addHotKey(parseHotKey(
's'));
1627 menuCheckLockRoutes->show();
1628 menuCheckLockVehicles->show();
1629 menuCheckLockPersons->show();
1630 menuCheckLockPersonTrip->show();
1631 menuCheckLockWalk->show();
1632 menuCheckLockRides->show();
1633 menuCheckLockContainers->show();
1634 menuCheckLockTransports->show();
1635 menuCheckLockTranships->show();
1636 menuCheckLockStops->show();
1643 menuCheckLockRoutes->disable();
1644 menuCheckLockVehicles->disable();
1645 menuCheckLockPersons->disable();
1646 menuCheckLockPersonTrip->disable();
1647 menuCheckLockWalk->disable();
1648 menuCheckLockRides->disable();
1649 menuCheckLockContainers->disable();
1650 menuCheckLockTransports->disable();
1651 menuCheckLockTranships->disable();
1652 menuCheckLockStops->disable();
1654 menuCheckLockRoutes->hide();
1655 menuCheckLockVehicles->hide();
1656 menuCheckLockPersons->hide();
1657 menuCheckLockPersonTrip->hide();
1658 menuCheckLockWalk->hide();
1659 menuCheckLockRides->hide();
1660 menuCheckLockContainers->hide();
1661 menuCheckLockTransports->hide();
1662 menuCheckLockTranships->hide();
1663 menuCheckLockStops->hide();
1670 menuCheckLockEdgeDatas->enable();
1671 menuCheckLockEdgeRelDatas->enable();
1672 menuCheckLockEdgeTAZRels->enable();
1674 menuCheckLockEdgeDatas->addHotKey(parseHotKey(
'e'));
1675 menuCheckLockEdgeRelDatas->addHotKey(parseHotKey(
'd'));
1676 menuCheckLockEdgeTAZRels->addHotKey(parseHotKey(
't'));
1678 menuCheckLockEdgeDatas->show();
1679 menuCheckLockEdgeRelDatas->show();
1680 menuCheckLockEdgeTAZRels->show();
1687 menuCheckLockEdgeDatas->disable();
1688 menuCheckLockEdgeRelDatas->disable();
1689 menuCheckLockEdgeTAZRels->disable();
1691 menuCheckLockEdgeDatas->hide();
1692 menuCheckLockEdgeRelDatas->hide();
1693 menuCheckLockEdgeTAZRels->hide();
1699 menuCheckLockJunction->setCheck(TRUE);
1700 menuCheckLockEdges->setCheck(TRUE);
1701 menuCheckLockLanes->setCheck(TRUE);
1702 menuCheckLockConnections->setCheck(TRUE);
1703 menuCheckLockCrossings->setCheck(TRUE);
1704 menuCheckLockWalkingAreas->setCheck(TRUE);
1705 menuCheckLockAdditionals->setCheck(TRUE);
1706 menuCheckLockTAZs->setCheck(TRUE);
1707 menuCheckLockWires->setCheck(TRUE);
1708 menuCheckLockPolygons->setCheck(TRUE);
1709 menuCheckLockPOIs->setCheck(TRUE);
1710 menuCheckLockJpsWalkableAreas->setCheck(TRUE);
1711 menuCheckLockJpsObstacles->setCheck(TRUE);
1712 menuCheckLockRoutes->setCheck(TRUE);
1713 menuCheckLockVehicles->setCheck(TRUE);
1714 menuCheckLockPersons->setCheck(TRUE);
1715 menuCheckLockPersonTrip->setCheck(TRUE);
1716 menuCheckLockWalk->setCheck(TRUE);
1717 menuCheckLockRides->setCheck(TRUE);
1718 menuCheckLockContainers->setCheck(TRUE);
1719 menuCheckLockTransports->setCheck(TRUE);
1720 menuCheckLockTranships->setCheck(TRUE);
1721 menuCheckLockStops->setCheck(TRUE);
1722 menuCheckLockEdgeDatas->setCheck(TRUE);
1723 menuCheckLockEdgeRelDatas->setCheck(TRUE);
1724 menuCheckLockEdgeTAZRels->setCheck(TRUE);
1730 menuCheckLockJunction->setCheck(FALSE);
1731 menuCheckLockEdges->setCheck(FALSE);
1732 menuCheckLockLanes->setCheck(FALSE);
1733 menuCheckLockConnections->setCheck(FALSE);
1734 menuCheckLockCrossings->setCheck(FALSE);
1735 menuCheckLockWalkingAreas->setCheck(FALSE);
1736 menuCheckLockAdditionals->setCheck(FALSE);
1737 menuCheckLockTAZs->setCheck(FALSE);
1738 menuCheckLockWires->setCheck(FALSE);
1739 menuCheckLockPolygons->setCheck(FALSE);
1740 menuCheckLockPOIs->setCheck(FALSE);
1741 menuCheckLockJpsWalkableAreas->setCheck(FALSE);
1742 menuCheckLockJpsObstacles->setCheck(FALSE);
1743 menuCheckLockRoutes->setCheck(FALSE);
1744 menuCheckLockVehicles->setCheck(FALSE);
1745 menuCheckLockPersons->setCheck(FALSE);
1746 menuCheckLockPersonTrip->setCheck(FALSE);
1747 menuCheckLockWalk->setCheck(FALSE);
1748 menuCheckLockRides->setCheck(FALSE);
1749 menuCheckLockContainers->setCheck(FALSE);
1750 menuCheckLockTransports->setCheck(FALSE);
1751 menuCheckLockTranships->setCheck(FALSE);
1752 menuCheckLockStops->setCheck(FALSE);
1753 menuCheckLockEdgeDatas->setCheck(FALSE);
1754 menuCheckLockEdgeRelDatas->setCheck(FALSE);
1755 menuCheckLockEdgeTAZRels->setCheck(FALSE);
1763 menuCheckLockJunction->setCheck(value);
1765 menuCheckLockEdges->setCheck(value);
1767 menuCheckLockLanes->setCheck(value);
1769 menuCheckLockConnections->setCheck(value);
1771 menuCheckLockCrossings->setCheck(value);
1773 menuCheckLockWalkingAreas->setCheck(value);
1775 menuCheckLockAdditionals->setCheck(value);
1777 menuCheckLockTAZs->setCheck(value);
1779 menuCheckLockWires->setCheck(value);
1781 menuCheckLockPolygons->setCheck(value);
1783 menuCheckLockJpsWalkableAreas->setCheck(value);
1785 menuCheckLockJpsObstacles->setCheck(value);
1789 menuCheckLockPOIs->setCheck(value);
1791 menuCheckLockRoutes->setCheck(value);
1793 menuCheckLockVehicles->setCheck(value);
1795 menuCheckLockPersons->setCheck(value);
1797 menuCheckLockPersonTrip->setCheck(value);
1799 menuCheckLockWalk->setCheck(value);
1801 menuCheckLockRides->setCheck(value);
1803 menuCheckLockContainers->setCheck(value);
1805 menuCheckLockTransports->setCheck(value);
1807 menuCheckLockTranships->setCheck(value);
1811 menuCheckLockStops->setCheck(value);
1813 menuCheckLockEdgeDatas->setCheck(value);
1815 menuCheckLockEdgeRelDatas->setCheck(value);
1817 menuCheckLockEdgeTAZRels->setCheck(value);
1824 FXuint code = 0, mods = 0;
1825 if (Unicode::isAlphaNumeric(character)) {
1827 code = fxucs2keysym(Unicode::toLower(character));
1829 return MKUINT(code, mods);
1845 TL(
"Compute Junctions"),
"F5",
TL(
"Compute junction shape and logic."),
1848 TL(
"Compute Junctions with volatile options"),
"Shift+F5",
TL(
"Compute junction shape and logic using volatile junctions."),
1851 TL(
"Clean Junctions"),
"F6",
TL(
"Remove solitary junctions."),
1854 TL(
"Join Selected Junctions"),
"F7",
TL(
"Join selected junctions into a single junction."),
1857 TL(
"Clean invalid crossings"),
"F8",
TL(
"Clear invalid crossings."),
1860 mySeparatorCheckBox =
new FXMenuSeparator(processingMenu);
1863 TL(
"Recompute Network in Data Mode"),
"",
"",
1866 menuCheckRecomputeDataMode->setCheck(myGNEApp->getApp()->reg().readBoolEntry(
"NETEDIT",
"RecomputeData",
true));
1869 TL(
"Compute demand"),
"F5",
TL(
"Computes demand elements."),
1872 TL(
"Clean routes"),
"F6",
TL(
"Removes routes without vehicles."),
1875 TL(
"Join routes"),
"F7",
TL(
"Joins routes with the same edges."),
1878 TL(
"Adjust person plans"),
"Shift+F7",
TL(
"Adjust person plans (start/end positions, arrival positions, etc.)"),
1881 TL(
"Clean invalid route elements"),
"F8",
TL(
"Clear elements with an invalid path (routes, Trips, Flows...)."),
1884 myOptionsSeparator =
new FXMenuSeparator(processingMenu);
1887 TL(
"Sumo options"),
"Shift+F10",
TL(
"Configure sumo Options."),
1890 myOptionsSeparator =
new FXMenuSeparator(processingMenu);
1893 TL(
"Options"),
"F10",
TL(
"Configure netedit Options."),
1901 computeNetwork->enable();
1902 computeNetworkVolatile->enable();
1903 cleanJunctions->enable();
1904 joinJunctions->enable();
1905 clearInvalidCrossings->enable();
1906 mySeparatorCheckBox->enable();
1907 menuCheckRecomputeDataMode->enable();
1909 computeNetwork->show();
1910 computeNetworkVolatile->show();
1911 cleanJunctions->show();
1912 joinJunctions->show();
1913 clearInvalidCrossings->show();
1914 mySeparatorCheckBox->show();
1915 menuCheckRecomputeDataMode->show();
1922 computeNetwork->disable();
1923 computeNetworkVolatile->disable();
1924 cleanJunctions->disable();
1925 joinJunctions->disable();
1926 clearInvalidCrossings->disable();
1928 computeNetwork->hide();
1929 computeNetworkVolatile->hide();
1930 cleanJunctions->hide();
1931 joinJunctions->hide();
1932 clearInvalidCrossings->hide();
1939 computeDemand->enable();
1940 cleanRoutes->enable();
1941 joinRoutes->enable();
1942 adjustPersonPlans->enable();
1943 clearInvalidDemandElements->enable();
1945 computeDemand->show();
1946 cleanRoutes->show();
1948 adjustPersonPlans->show();
1949 clearInvalidDemandElements->show();
1956 computeDemand->disable();
1957 cleanRoutes->disable();
1958 joinRoutes->disable();
1959 adjustPersonPlans->disable();
1960 clearInvalidDemandElements->disable();
1962 computeDemand->hide();
1963 cleanRoutes->hide();
1965 adjustPersonPlans->hide();
1966 clearInvalidDemandElements->hide();
1984 myOptionsSeparator->show();
1990 myOptionsSeparator->hide();
2006 TL(
"&Junctions"),
"Shift+J",
TL(
"Open a dialog for locating a Junction."),
2009 TL(
"&Edges"),
"Shift+E",
TL(
"Open a dialog for locating an Edge."),
2012 TL(
"&WalkingAreas"),
"Shift+W",
TL(
"Open a dialog for locating a Walking Area."),
2015 TL(
"&Vehicles"),
"Shift+V",
TL(
"Open a dialog for locating a Vehicle."),
2018 TL(
"&Persons"),
"Shift+P",
TL(
"Open a dialog for locating a Person."),
2021 TL(
"&Containers"),
"Shift+C",
TL(
"Open a dialog for locating a Container."),
2024 TL(
"&Route"),
"Shift+R",
TL(
"Open a dialog for locating a Route."),
2027 TL(
"&Stops"),
"Shift+S",
TL(
"Open a dialog for locating a Stop."),
2030 TL(
"&TLS"),
"Shift+T",
TL(
"Open a dialog for locating a Traffic Light."),
2033 TL(
"&Additional"),
"Shift+A",
TL(
"Open a dialog for locating an Additional Structure."),
2036 TL(
"P&oI"),
"Shift+O",
TL(
"Open a dialog for locating a Point of Interest."),
2039 TL(
"Po&lygon"),
"Shift+L",
TL(
"Open a dialog for locating a Polygon."),
2054 for (
const auto& tool : myPythonTools) {
2058 delete myPythonToolDialog;
2059 delete myNetgenerateDialog;
2060 delete myRunPythonToolDialog;
2061 delete myRunNetgenerateDialog;
2067 const std::map<std::string, FXMenuPane*>& menuPaneToolMaps) {
2070 for (
const auto& templateTool : templateTools) {
2071 if (templateTool.name ==
"netdiff") {
2072 myPythonTools.push_back(
new GNENetDiffTool(myGNEApp, templateTool.pythonPath,
2073 menuPaneToolMaps.at(templateTool.subfolder)));
2074 }
else if (menuPaneToolMaps.count(templateTool.subfolder) > 0) {
2075 myPythonTools.push_back(
new GNEPythonTool(myGNEApp, templateTool.pythonPath,
2076 templateTool.templateStr, menuPaneToolMaps.at(templateTool.subfolder)));
2078 myPythonTools.push_back(
new GNEPythonTool(myGNEApp, templateTool.pythonPath,
2079 templateTool.templateStr, toolsMenu));
2093 for (
const auto& tool : myPythonTools) {
2094 if (tool->getMenuCommand() == menuCommand) {
2095 myPythonToolDialog->openDialog(tool);
2105 myNetgenerateDialog->openDialog();
2113 for (
const auto& tool : myPythonTools) {
2114 if (tool->getMenuCommand() == menuCommand) {
2115 myRunPythonToolDialog->runTool(tool);
2126 for (
const auto& tool : myPythonTools) {
2127 if (tool->getMenuCommand() == menuCommand) {
2129 tool->postProcessing();
2139 myRunNetgenerateDialog->run(netgenerateOptions);
2157 TL(
"Show Status Line"),
TL(
"Toggle this Status Bar on/off."),
2158 statusbar, FXWindow::ID_TOGGLESHOWN);
2160 TL(
"Show Message Window"),
TL(
"Toggle the Message Window on/off."),
2161 messageWindow, FXWindow::ID_TOGGLESHOWN);
2162 new FXMenuSeparator(windowsMenu);
2164 TL(
"Clear Message Window"),
"",
TL(
"Clear the Message Window."),
2182 new FXMenuSeparator(helpMenu);
2191 new FXMenuSeparator(helpMenu);
2207 networkMode->show();
2215 showSupermodeCommands();
2229 TL(
"&Network"),
"F2",
TL(
"Select network mode."),
2232 TL(
"&Demand"),
"F3",
TL(
"Select demand mode."),
2235 TL(
"&Data"),
"F4",
TL(
"Select data mode."),
2244 mySumoOptions(sumoOptions),
2254 mySumoOptions.resetDefault();
2255 neteditOptions.resetDefault();
2257 mySumoOptions.resetWritable();
2258 neteditOptions.resetWritable();
2260 XERCES_CPP_NAMESPACE::SAXParser parser;
2261 parser.setValidationScheme(XERCES_CPP_NAMESPACE::SAXParser::Val_Never);
2262 parser.setDisableDefaultEntityResolution(
true);
2266 parser.setDocumentHandler(&handler);
2267 parser.setErrorHandler(&handler);
2270 WRITE_ERROR(
TL(
"Could not load SUMO configuration '") + myFile +
"'.");
2273 }
catch (
const XERCES_CPP_NAMESPACE::XMLException& e) {
2278 mySumoOptions.relocateFiles(myFile);
2280 neteditOptions.set(
"sumocfg-file", myFile);
2281 neteditOptions.set(
"net-file", mySumoOptions.getString(
"net-file"));
2282 neteditOptions.set(
"additional-files", mySumoOptions.getString(
"additional-files"));
2283 neteditOptions.set(
"route-files", mySumoOptions.getString(
"route-files"));
2285 if (neteditOptions.getString(
"configuration-file").empty()) {
2286 const auto newConfiguration =
StringUtils::replace(neteditOptions.getString(
"configuration-file"),
".sumocfg",
".netecfg");
2287 neteditOptions.resetWritable();
2288 neteditOptions.set(
"configuration-file", newConfiguration);
2307 neteditOptions.resetDefault();
2309 neteditOptions.resetWritable();
2311 XERCES_CPP_NAMESPACE::SAXParser parser;
2312 parser.setValidationScheme(XERCES_CPP_NAMESPACE::SAXParser::Val_Never);
2313 parser.setDisableDefaultEntityResolution(
true);
2317 parser.setDocumentHandler(&handler);
2318 parser.setErrorHandler(&handler);
2321 WRITE_ERROR(
TL(
"Could not load netedit configuration '") + myFile +
"'.");
2324 }
catch (
const XERCES_CPP_NAMESPACE::XMLException& e) {
2329 neteditOptions.relocateFiles(myFile);
2331 if (neteditOptions.getString(
"configuration-file").find(
".netccfg") != std::string::npos) {
2332 const auto newConfiguration =
StringUtils::replace(neteditOptions.getString(
"configuration-file"),
".netccfg",
".netecfg");
2333 neteditOptions.resetWritable();
2334 neteditOptions.set(
"configuration-file", newConfiguration);
2345 const int numericalKeyPressed, FXObject* obj, FXSelector sel) {
2351 WRITE_DEBUG(
"Disabled toggle show grid through alt + " +
toString(numericalKeyPressed + 1));
2354 WRITE_DEBUG(
"Enabled toggle show grid through alt + " +
toString(numericalKeyPressed + 1));
2362 WRITE_DEBUG(
"Disabled draw junction shape through alt + " +
toString(numericalKeyPressed + 1));
2365 WRITE_DEBUG(
"Enabled draw junction shape through alt + " +
toString(numericalKeyPressed + 1));
2373 WRITE_DEBUG(
"Disabled toggle draw spread vehicles through alt + " +
toString(numericalKeyPressed + 1));
2376 WRITE_DEBUG(
"Enabled toggle spread vehicles through alt + " +
toString(numericalKeyPressed + 1));
2384 WRITE_DEBUG(
"Disabled show demand elements through alt + " +
toString(numericalKeyPressed + 1));
2387 WRITE_DEBUG(
"Enabled show demand elements through alt + " +
toString(numericalKeyPressed + 1));
2406 WRITE_DEBUG(
"Disabled show connections through alt + " +
toString(numericalKeyPressed + 1));
2409 WRITE_DEBUG(
"Enabled show connections through alt + " +
toString(numericalKeyPressed + 1));
2417 WRITE_DEBUG(
"Disabled hide connections through alt + " +
toString(numericalKeyPressed + 1));
2420 WRITE_DEBUG(
"Enabled hide connections through alt + " +
toString(numericalKeyPressed + 1));
2428 WRITE_DEBUG(
"Disabled show additional sub-elements through alt + " +
toString(numericalKeyPressed + 1));
2431 WRITE_DEBUG(
"Enabled show additional sub-elements through alt + " +
toString(numericalKeyPressed + 1));
2439 WRITE_DEBUG(
"Disabled show TAZ elements through alt + " +
toString(numericalKeyPressed + 1));
2442 WRITE_DEBUG(
"Enabled show TAZ elements through alt + " +
toString(numericalKeyPressed + 1));
2450 WRITE_DEBUG(
"Disabled extend selection through alt + " +
toString(numericalKeyPressed + 1));
2453 WRITE_DEBUG(
"Enabled extend selection through alt + " +
toString(numericalKeyPressed + 1));
2461 WRITE_DEBUG(
"Disabled change all phases through alt + " +
toString(numericalKeyPressed + 1));
2464 WRITE_DEBUG(
"Enabled change all phases through alt + " +
toString(numericalKeyPressed + 1));
2472 WRITE_DEBUG(
"Disabled warn about merge through alt + " +
toString(numericalKeyPressed + 1));
2475 WRITE_DEBUG(
"Enabled warn about merge through alt + " +
toString(numericalKeyPressed + 1));
2483 WRITE_DEBUG(
"Disabled show junction as bubble through alt + " +
toString(numericalKeyPressed + 1));
2486 WRITE_DEBUG(
"Enabled show junction as bubble through alt + " +
toString(numericalKeyPressed + 1));
2494 WRITE_DEBUG(
"Disabled move elevation through alt + " +
toString(numericalKeyPressed + 1));
2516 WRITE_DEBUG(
"Disabled auto opposite edge through alt + " +
toString(numericalKeyPressed + 1));
2519 WRITE_DEBUG(
"Enabled auto opposite edge through alt + " +
toString(numericalKeyPressed + 1));
2536 WRITE_DEBUG(
"Disabled toggle show grid through alt + " +
toString(numericalKeyPressed + 1));
2539 WRITE_DEBUG(
"Enabled toggle show grid through alt + " +
toString(numericalKeyPressed + 1));
2547 WRITE_DEBUG(
"Disabled draw junction shape through alt + " +
toString(numericalKeyPressed + 1));
2550 WRITE_DEBUG(
"Enabled draw junction shape through alt + " +
toString(numericalKeyPressed + 1));
2558 WRITE_DEBUG(
"Disabled toggle draw spread vehicles through alt + " +
toString(numericalKeyPressed + 1));
2561 WRITE_DEBUG(
"Enabled toggle spread vehicles through alt + " +
toString(numericalKeyPressed + 1));
2580 WRITE_DEBUG(
"Disabled show all trips through alt + " +
toString(numericalKeyPressed + 1));
2591 WRITE_DEBUG(
"Disabled show all person plans through alt + " +
toString(numericalKeyPressed + 1));
2594 WRITE_DEBUG(
"Enabled show all person plans through alt + " +
toString(numericalKeyPressed + 1));
2602 WRITE_DEBUG(
"Disabled lock person plan through alt + " +
toString(numericalKeyPressed + 1));
2605 WRITE_DEBUG(
"Enabled lock person plan through alt + " +
toString(numericalKeyPressed + 1));
2613 WRITE_DEBUG(
"Disabled show all container plans through alt + " +
toString(numericalKeyPressed + 1));
2616 WRITE_DEBUG(
"Enabled show all container plans through alt + " +
toString(numericalKeyPressed + 1));
2624 WRITE_DEBUG(
"Disabled lock container plan through alt + " +
toString(numericalKeyPressed + 1));
2627 WRITE_DEBUG(
"Enabled lock container plan through alt + " +
toString(numericalKeyPressed + 1));
2635 WRITE_DEBUG(
"Disabled hide non inspected demand elements through alt + " +
toString(numericalKeyPressed + 1));
2638 WRITE_DEBUG(
"Enabled hide non inspected demand elements through alt + " +
toString(numericalKeyPressed + 1));
2647 WRITE_DEBUG(
"Disabled show overlapped routes through alt + " +
toString(numericalKeyPressed + 1));
2650 WRITE_DEBUG(
"Enabled show overlapped routes through alt + " +
toString(numericalKeyPressed + 1));
2667 WRITE_DEBUG(
"Disabled draw junction shape through alt + " +
toString(numericalKeyPressed + 1));
2670 WRITE_DEBUG(
"Enabled draw junction shape through alt + " +
toString(numericalKeyPressed + 1));
2678 WRITE_DEBUG(
"Disabled show additionals through alt + " +
toString(numericalKeyPressed + 1));
2700 WRITE_DEBUG(
"Disabled show demand elements through alt + " +
toString(numericalKeyPressed + 1));
2703 WRITE_DEBUG(
"Enabled show demand elements through alt + " +
toString(numericalKeyPressed + 1));
2711 WRITE_DEBUG(
"Disabled toggle TAXRel drawing through alt + " +
toString(numericalKeyPressed + 1));
2714 WRITE_DEBUG(
"Enabled toggle TAXRel drawing through alt + " +
toString(numericalKeyPressed + 1));
2722 WRITE_DEBUG(
"Disabled toggle TAZ draw fill through alt + " +
toString(numericalKeyPressed + 1));
2725 WRITE_DEBUG(
"Enabled toggle TAZ draw fill through alt + " +
toString(numericalKeyPressed + 1));
2733 WRITE_DEBUG(
"Disabled toggle TAZRel only from through alt + " +
toString(numericalKeyPressed + 1));
2736 WRITE_DEBUG(
"Enabled toggle TAZRel only from through alt + " +
toString(numericalKeyPressed + 1));
2744 WRITE_DEBUG(
"Disabled toggle TAZRel only to through alt + " +
toString(numericalKeyPressed + 1));
2747 WRITE_DEBUG(
"Enabled toggle TAZRel only to through alt + " +
toString(numericalKeyPressed + 1));
2760 if (str.length() < suffix.length()) {
2763 return str.compare(str.length() - suffix.length(), suffix.length(), suffix) == 0;
2772 TL(
"XML files (*.xml)") + std::string(
"\n") +
2773 TL(
"All files (*)"), save, multi);
2776 TL(
"XML files (*.xml)") + std::string(
"\n") +
2777 TL(
"All files (*)"), save, multi);
2786 TL(
"SUMO Network files (*.net.xml)") + std::string(
"\n") +
2787 TL(
"SUMO Network files zipped (*.net.xml.gz)") + std::string(
"\n") +
2788 TL(
"XML files (*.xml)\nAll files (*)"), save, multi);
2791 TL(
"SUMO Network files (*.net.xml,*.net.xml.gz)") + std::string(
"\n") +
2792 TL(
"XML files (*.xml)") + std::string(
"\n") +
2793 TL(
"All files (*)"), save, multi);
2801 TL(
"Netconvert files (*.netccfg)") + std::string(
"\n") +
2802 TL(
"XML files (*.xml)") + std::string(
"\n") +
2803 TL(
"All files (*)"),
false);
2810 TL(
"XML files (*.xml)") + std::string(
"\n") +
2811 TL(
"All files (*)"),
true);
2818 TL(
"Junction files (*.nod.xml)") + std::string(
"\n") +
2819 TL(
"XML files (*.xml)") + std::string(
"\n") +
2820 TL(
"All files (*)"),
true);
2827 TL(
"Text file (*.txt)") + std::string(
"\n") +
2828 TL(
"All files (*)"),
true);
2835 TL(
"OSM net (*.osm.xml,*.osm)"),
false);
2843 TL(
"Netedit Config files (*.netecfg)") + std::string(
"\n") +
2844 TL(
"All files (*)"), save);
2847 TL(
"Netedit Config files (*.netecfg)") + std::string(
"\n") +
2848 TL(
"Netedit Config files (*.neteditcfg)") + std::string(
"\n") +
2849 TL(
"All files (*)"), save);
2858 TL(
"SUMO Config files (*.sumocfg)") + std::string(
"\n") +
2859 TL(
"All files (*)"), save, multi);
2862 TL(
"SUMO Config files (*.sumocfg)") + std::string(
"\n") +
2863 TL(
"All files (*)"), save, multi);
2872 TL(
"TLS files (*.tll.xml)") + std::string(
"\n") +
2873 TL(
"XML files (*.xml)") + std::string(
"\n") +
2874 TL(
"All files (*)"), save);
2877 TL(
"TLS files (*.tll.xml)") + std::string(
"\n") +
2878 TL(
"XML files (*.xml)") + std::string(
"\n") +
2879 TL(
"All files (*)"), save);
2888 TL(
"EdgeType files (*.typ.xml)") + std::string(
"\n") +
2889 TL(
"XML files (*.xml)") + std::string(
"\n") +
2890 TL(
"All files (*)"), save);
2893 TL(
"EdgeType files (*.typ.xml)") + std::string(
"\n") +
2894 TL(
"XML files (*.xml)") + std::string(
"\n") +
2895 TL(
"All files (*)"), save);
2904 TL(
"Additional files (*.add.xml)") + std::string(
"\n") +
2905 TL(
"XML files (*.xml)") + std::string(
"\n") +
2906 TL(
"All files (*)"), save, multi);
2909 TL(
"Additional files (*.add.xml)") + std::string(
"\n") +
2910 TL(
"XML files (*.xml)") + std::string(
"\n") +
2911 TL(
"All files (*)"), save, multi);
2920 TL(
"Route files (*.rou.xml)") + std::string(
"\n") +
2921 TL(
"XML files (*.xml)") + std::string(
"\n") +
2922 TL(
"All files (*)"), save, multi);
2925 TL(
"Route files (*.rou.xml)") + std::string(
"\n") +
2926 TL(
"XML files (*.xml)") + std::string(
"\n") +
2927 TL(
"All files (*)"), save, multi);
2936 TL(
"Data files (*.dat.xml)") + std::string(
"\n") +
2937 TL(
"XML files (*.xml)") + std::string(
"\n") +
2938 TL(
"All files (*)"), save, multi);
2941 TL(
"Data files (*.dat.xml)") + std::string(
"\n") +
2942 TL(
"XML files (*.xml)") + std::string(
"\n") +
2943 TL(
"All files (*)"), save, multi);
2952 TL(
"Meandata files (*.add.xml)") + std::string(
"\n") +
2953 TL(
"XML files (*.xml)") + std::string(
"\n") +
2954 TL(
"All files (*)"), save, multi);
2957 TL(
"Meandata files (*.add.xml)") + std::string(
"\n") +
2958 TL(
"XML files (*.xml)") + std::string(
"\n") +
2959 TL(
"All files (*)"), save, multi);
2968 TL(
"XML files (*.xml)") + std::string(
"\n") +
2969 TL(
"All files (*)"), save);
2972 TL(
"XML files (*.xml)") + std::string(
"\n") +
2973 TL(
"All files (*)"), save);
2980 GUIIcon icon,
const std::string patternList,
bool save,
bool multi) {
2984 FXFileDialog opendialog(window, title.c_str());
2987 opendialog.setSelectMode(SELECTFILE_ANY);
2990 opendialog.setSelectMode(SELECTFILE_MULTIPLE);
2992 opendialog.setSelectMode(SELECTFILE_EXISTING);
2997 opendialog.setPatternList(patternList.c_str());
3003 if (opendialog.execute()) {
3014 opendialog.getPatternText(opendialog.getCurrentPattern()).after(
'.').before(
')')).text();
3028 FXString* files = opendialog.getFilenames();
3031 if (files !=
nullptr) {
3032 for (
int i = 0; !files[i].empty(); i++) {
3038 result += files[i].text();
3045 return opendialog.getFilename().text();
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..)
@ DATA
Data mode (edgeData, LaneData etc..)
@ DEMAND
Demand mode (Routes, Vehicles etc..)
@ MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES
automatically create opposite edge
@ MID_GNE_NETGENERATE
netgenerate dialog
@ MID_HOTKEY_SHIFT_F10_SUMOOPTIONSMENU
open SUMO options menu (used in netedit)
@ MID_HOTKEY_SHIFT_F7_ADJUST_PERSON_PLANS
Adjust person plans (start und end positions, arrival positions, etc.)
@ MID_HOTKEY_SHIFT_F5_COMPUTEJUNCTIONS_VOLATILE
compute junctions with volatile options
@ MID_HOTKEY_CTRL_SHIFT_B_SAVEDATAELEMENTS
save Data Elements
@ MID_HOTKEY_F3_SUPERMODE_DEMAND
select demand supermode in netedit
@ MID_GNE_UNDOLISTDIALOG
open undo list dialog
@ MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS
show all person plans
@ MID_GNE_UNLOCK_ALLELEMENTS
unlock all element
@ MID_HOTKEY_SHIFT_S_LOCATESTOP
Locate stop - button.
@ MID_HOTKEY_CTRL_T_OPENNETEDIT_OPENSUMO
Open current SUMO simulation/network in netedit, or current netedit simulation/network in SUMO.
@ MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING
toggle TAZRel drawing
@ MID_GNE_TOGGLE_COMPUTE_NETWORK_DATA
enable/disable computing after switchin between supermodes
@ MID_TOOLBAREDIT_LOADADDITIONALS
load additionals in sumo-gui/netedit after press ctrl+T
@ MID_HOTKEY_U_MODE_DECAL_TYPEDISTRIBUTION
hotkey for mode decal AND type distribution
@ MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES
Draw vehicles in begin position or spread in lane.
@ MID_HOTKEY_CTRL_Y_REDO
Undo.
@ MID_HOTKEY_CTRL_SHIFT_H_SAVEEDGETYPES
save Edge Types
@ MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION
move elevation instead of x,y
@ MID_GNE_TOOLBARFILE_RELOAD_EDGETYPES
reload edge types
@ MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS
hide connections
@ MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS
show connections
@ MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO
toggle draw TAZRel only to
@ MID_HOTKEY_CTRL_W_CLOSESIMULATION
Close simulation - ID.
@ MID_GNE_LOCK_ALLELEMENTS
lock all element
@ MID_HOTKEY_F7_JOIN_SELECTEDJUNCTIONS_ROUTES
join selected junctions in network mode and normalice demand element ids in demand mode
@ MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS
Perform a single simulation step in SUMO and open Demand Elements in netedit.
@ MID_HOTKEY_F5_COMPUTE_NETWORK_DEMAND
compute Network in network mode and Demand elements in demand mode
@ MID_HOTKEY_CTRL_O_OPENSIMULATION_OPENNETWORK
Open simulation in SUMO and open network in netedit.
@ MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS
show TAZ elements
@ MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON
lock person
@ MID_HOTKEY_Z_MODE_TAZ_TAZREL
hotkey for mode editing TAZ and TAZRel
@ MID_HOTKEY_F9_EDIT_VIEWSCHEME
open edit scheme menu
@ MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE
toggle draw junction shape
@ MID_GNE_LOCK_SELECTEDELEMENTS
lock selected element
@ MID_GNE_TOOLBARFILE_SAVESUMOCONFIG_AS
save SUMOConfig as
@ MID_GNE_TOOLBARFILE_RELOAD_TLSPROGRAMS
reload TLS Programs
@ MID_HOTKEY_A_MODE_STARTSIMULATION_ADDITIONALS_STOPS
hotkey for start simulation in SUMO and set editing mode additionals AND stops in netedit
@ MID_CHANGELOG
changelog button
@ MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE
ask before merging junctions
@ MID_GNE_TOOLBARFILE_OPENFOREIGN
open foreign network
@ MID_GNE_TOOLBARFILE_RELOAD_NETEDITCONFIG
reload neteditConfig
@ MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS
Edit simulation breakpoints in SUMO and open Data Elements in netedit.
@ MID_TOOLBAREDIT_LOADDEMAND
load demand in sumo-gui/netedit after press ctrl+T
@ MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID
show grid
@ MID_HOTKEY_F1_ONLINEDOCUMENTATION
open online documentation
@ MID_HOTKEY_CTRL_SHIFT_D_SAVEDEMANDELEMENTS
Save Demand Elements.
@ MID_HOTKEY_CTRL_R_RELOAD
Reload the previously loaded simulation.
@ MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK
Stop the simulation in SUMO and save network in netedit.
@ MID_GNE_TOOLBARFILE_RELOAD_MEANDATAS
reload meanDatas
@ MID_HOTKEY_D_MODE_SINGLESIMULATIONSTEP_DELETE
hotkey for perform a single simulation step in SUMO and set delete mode in netedit
@ MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES
create edges in chain mode
@ MID_GNE_TOOLBARFILE_SAVEDATA_AS
save data elements as
@ MID_HOTKEY_F10_OPTIONSMENU
open options menu
@ MID_HOTKEY_F11_FRONTELEMENT
set/clear front element
@ MID_HOTKEY_F8_CLEANINVALID_CROSSINGS_DEMANDELEMENTS
clean invalid crossings in network mode and demand elements in demand mode
@ MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS
show demand elements
@ MID_HOTKEY_C_MODE_CONNECT_CONTAINER
hotkey for mode connecting lanes AND container
@ MID_HOTKEY_H_MODE_PROHIBITION_CONTAINERPLAN
hotkey for mode prohibition AND container plan
@ MID_HOTKEY_SHIFT_O_LOCATEPOI
Locate poi - button.
@ MID_HOTKEY_W_MODE_WIRE_ROUTEDISTRIBUTION
hotkey for mode editing overhead wires AND route distributions
@ MID_HOTKEY_T_MODE_TLS_TYPE
hotkey for mode editing TLS AND Vehicle Types
@ MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES
hide shapes
@ MID_GNE_TOGGLE_UNDOREDO
enable/disable undo-redo
@ MID_HOTKEY_SHIFT_A_LOCATEADDITIONAL
Locate additional structure - button.
@ MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS_AS
save TLS Programs as
@ MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS
show additionals
@ MID_HOTKEY_SHIFT_R_LOCATEROUTE
Locate route - button.
@ MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES
show junctions as bubbles
@ MID_HOTKEY_SHIFT_W_LOCATEWALKINGAREA
Locate edge - button.
@ MID_GNE_TOOLBARFILE_RELOAD_DEMANDELEMENTS
reload demand elements
@ MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION
extend selection
@ MID_HOTKEY_CTRL_I_EDITVIEWPORT
Open viewport editor.
@ MID_RECENTFILE
Loads a file previously loaded.
@ MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT
hotkey for stop simulation in SUMO and set select mode in netedit
@ MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS
show sub-additionals
@ MID_HOTKEY_SHIFT_C_LOCATECONTAINER
Locate container - button.
@ MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS
show all container plans
@ MID_HOTKEY_CTRL_SHIFT_N_NEWWINDOW
open a new window (SUMO AND netedit)
@ MID_HOTKEY_SHIFT_V_LOCATEVEHICLE
Locate vehicle - button.
@ MID_HOTKEY_F4_SUPERMODE_DATA
select data supermode in netedit
@ MID_HOTKEY_SHIFT_L_LOCATEPOLY
Locate polygons - button.
@ MID_HOTKEY_F6_CLEAN_SOLITARYJUNCTIONS_UNUSEDROUTES
clean junctions without edges in network mode and unused routes in demand mode
@ MID_HOTKEY_CTRL_K_OPENTLSPROGRAMS
Load file with TLS Programs.
@ MID_GNE_LOCK_ELEMENT
lock element
@ MID_GNE_TOOLBARFILE_SAVENETEDITCONFIG_AS
save neteditConfig as
@ MID_HOTKEY_SHIFT_E_LOCATEEDGE
Locate edge - button.
@ MID_CLEARMESSAGEWINDOW
Clear simulation output.
@ MID_GNE_TOOLBARFILE_OPENMEANDATAS
open meanData file
@ MID_HOTKEY_R_MODE_CROSSING_ROUTE_EDGERELDATA
hotkey for mode editing crossing, routes and edge rel datas
@ MID_TUTORIAL
tutorial button
@ MID_GNE_TOGGLE_UNDOREDO_LOADING
enable/disable undo-redo during loading
@ MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL
toggle draw TAZ fill
@ MID_HOTKEY_CTRL_SHIFT_M_SAVEMEANDATAS
save Mean Datas
@ MID_HOTKEY_L_MODE_PERSONPLAN
hotkey for mode person plan
@ MID_GNE_TOOLBARFILE_SAVEMEANDATAS_AS
save meanDatas as
@ MID_GNE_TOOLBARFILE_RELOAD_ADDITIONALS
reload additionals
@ MID_HOTKEY_V_MODE_VEHICLE
hotkey for mode create vehicles
@ MID_HOTKEY_SHIFT_P_LOCATEPERSON
Locate person - button.
@ MID_HOTKEY_I_MODE_INSPECT
hotkey for mode inspecting object attributes
@ MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS
show demand elements
@ MID_HOTKEY_SHIFT_J_LOCATEJUNCTION
Locate junction - button.
@ MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG
save netedit Config
@ MID_GNE_TOOLBARFILE_SAVEADDITIONALS_AS
save additionals as
@ MID_GNE_TOOLBARFILE_SAVEEDGETYPES_AS
save edgeTypes as
@ MID_HOTKEYS
hotkeys button
@ MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED
hide non-inspected demand element
@ MID_HOTKEY_CTRL_SHIFT_A_SAVEADDITIONALS
Save Additional Elements.
@ MID_GNE_TOOLBARFILE_RELOADNETWORK
reload only network
@ MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES
change all phases
@ MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS
Start the simulation in SUMO and open Additionals Elements in netedit.
@ MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES
show shapes
@ MID_HOTKEY_E_MODE_EDGE_EDGEDATA
hotkey for mode adding edges AND edgeDatas
@ MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM
toggle draw TAZRel only from
@ MID_GNE_TOOLBARFILE_RELOAD_SUMOCONFIG
reload SUMOConfig
@ MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE
toggle draw junction shape
@ MID_HOTKEY_CTRL_SHIFT_O_OPENNETCONVERTFILE
open Netconvert file
@ MID_HOTKEY_CTRL_M_OPENSUMOCONFIG
open sumo config
@ MID_GNE_TOOLBARFILE_SAVEDEMAND_AS
save demand elements as
@ MID_GNE_TOOLBARFILE_SAVENETWORK_AS
save network as
@ MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES
Draw vehicles in begin position or spread in lane.
@ MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES
show overlapped routes
@ MID_HOTKEY_CTRL_Z_UNDO
Redo.
@ MID_FEEDBACK
feedback button
@ MID_HOTKEY_CTRL_H_APPSETTINGS_OPENEDGETYPES
open app setting dialog in SUMO and open edge type files in netedit
@ MID_HOTKEY_CTRL_SHIFT_S_SAVESUMOCONFIG
save SUMOConfig (SUMO AND netedit)
@ MID_HOTKEY_F12_ABOUT
open about dialog
@ MID_HOTKEY_CTRL_E_EDITSELECTION_LOADNETEDITCONFIG
Edit selection in SUMO and load neteditConfig in netedit.
@ MID_GNE_TOOLBARFILE_RELOAD_DATAELEMENTS
reload data elements
@ MID_HOTKEY_CTRL_SHIFT_K_SAVETLS
save TLS Programs
@ MID_HOTKEY_SHIFT_T_LOCATETLS
Locate TLS - button.
@ MID_HOTKEY_M_MODE_MOVE_MEANDATA
hotkey for mode moving element AND mean data
@ MID_HOTKEY_F2_SUPERMODE_NETWORK
select network supermode in netedit
@ MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER
lock container
@ MID_HOTKEY_CTRL_N_OPENNETWORK_NEWNETWORK
open network in SUMO and create new empty network in netedit
@ MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES
select edges
@ MID_GNE_SAVEJOINEDJUNCTIONS
save joined junctions
@ MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS
show all trips
@ MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID
show grid
@ MID_GNE_TOOLBARFILE_SAVEJUPEDSIMELEMENTS_AS
save JuPedSim as
@ MID_HOTKEY_P_MODE_POLYGON_PERSON
hotkey for mode creating polygons
@ MID_HOTKEY_CTRL_L_SAVEASPLAINXML
save network as plain XML
#define GUIDesignToolbarMenuBarNetedit
design for top toolbar (file, edit, processing...) used only in netedit (due supermodes buttons)
#define GUIDesignToolBarGrip
design for toolbar grip (used to change the position of toolbar with mouse)
#define GUIDesignToolBar
design for default toolbar
#define GUIDesignToolBarRaisedNext
design for first toolbar shell positioned in the next position of dock
#define GUIDesignToolBarRaisedSupermodes
design for toolbar supermodes (grip + buttons)
#define GUIDesignToolBarRaisedSame
design for toolbar
FXString gCurrentFolder
The folder used as last.
GUIIcon
An enumeration of icons used by the gui applications.
@ DATAMODE_CHECKBOX_SHOWADDITIONALS
@ NETWORKMODE_CHECKBOX_BUBBLES
@ DATAMODE_CHECKBOX_TAZRELONLYFROM
@ SAVE_ADDITIONALELEMENTS
@ DEMANDMODE_CHECKBOX_HIDENONINSPECTEDDEMANDELEMENTS
@ NETWORKMODE_CHECKBOX_HIDECONNECTIONS
@ DEMANDMODE_CHECKBOX_SHOWTRIPS
@ COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE
@ DATAMODE_CHECKBOX_SHOWSHAPES
@ NETWORKMODE_CHECKBOX_SELECTEDGES
@ COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS
@ DEMANDMODE_CHECKBOX_LOCKPERSON
@ NETWORKMODE_CHECKBOX_APPLYTOALLPHASES
@ DATAMODE_CHECKBOX_TAZRELONLYTO
@ NETWORKMODE_CHECKBOX_AUTOSELECTJUNCTIONS
@ DATAMODE_CHECKBOX_TAZRELDRAWING
@ NETWORKMODE_CHECKBOX_SHOWCONNECTIONS
@ DEMANDMODE_CHECKBOX_SHOWPERSONPLANS
@ DEMANDMODE_CHECKBOX_HIDESHAPES
@ DATAMODE_CHECKBOX_TAZDRAWFILL
@ NETWORKMODE_CHECKBOX_ELEVATION
@ COMMONMODE_CHECKBOX_SPREADVEHICLE
@ DEMANDMODE_CHECKBOX_LOCKCONTAINER
@ NETWORKMODE_CHECKBOX_SHOWSUBADDITIONALS
@ NETWORKMODE_CHECKBOX_SHOWTAZELEMENTS
@ NETWORKMODE_CHECKBOX_CHAIN
@ DEMANDMODE_CHECKBOX_SHOWOVERLAPPEDROUTES
@ NETWORKMODE_CHECKBOX_ASKFORMERGE
@ COMMONMODE_CHECKBOX_TOGGLEGRID
@ DEMANDMODE_CHECKBOX_SHOWCONTAINERPLANS
@ NETWORKMODE_CHECKBOX_TWOWAY
@ SUMO_TAG_EDGEREL
a relation between two edges
@ SUMO_TAG_POI
begin/end of the description of a Point of interest
@ GNE_TAG_POIGEO
Point of interest over view with GEO attributes.
@ SUMO_TAG_CONNECTION
connectioon between two lanes
@ SUMO_TAG_WALKINGAREA
walking area for pedestrians
@ SUMO_TAG_JUNCTION
begin/end of the description of a junction
@ SUMO_TAG_CROSSING
crossing between edges for pedestrians
@ SUMO_TAG_POLY
begin/end of the description of a polygon
@ SUMO_TAG_LANE
begin/end of the description of a single lane
@ GNE_TAG_POILANE
Point of interest over Lane.
@ GNE_TAG_JPS_OBSTACLE
polygon used for draw juPedSim obstacles
@ SUMO_TAG_TAZREL
a relation between two TAZs
@ GNE_TAG_JPS_WALKABLEAREA
polygon used for draw juPedSim walkable areas
@ SUMO_TAG_EDGE
begin/end of the description of an edge
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
GNENeteditConfigHandler(const std::string &file)
Constructor.
bool loadNeteditConfig()
load netedit config
GNESumoConfigHandler(OptionsCont &sumoOptions, const std::string &file)
Constructor.
bool loadSumoConfig()
load SUMO config
The main window of Netedit.
const GNETagProperties & getTagProperty() const
get tagProperty associated with this Attribute Carrier
Dialog for netgenerate tool dialog.
Abstract dialog for tools.
bool isPlanTransport() const
return true if tag correspond to a transport
bool isContainer() const
return true if tag correspond to a container element
bool isTAZElement() const
return true if tag correspond to a TAZ element
bool isRoute() const
return true if tag correspond to a route element
bool isVehicle() const
return true if tag correspond to a vehicle element
bool isPlanStopContainer() const
return true if tag correspond to a container stop plan
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
bool isPlanPersonTrip() const
return true if tag correspond to a person trip plan
bool isWireElement() const
return true if tag correspond to a Wire element
bool isPlanRide() const
return true if tag correspond to a ride plan
bool isAdditionalElement() const
return true if tag correspond to an additional element (note: this include TAZ, shapes and wires)
bool isPlanStopPerson() const
return true if tag correspond to a person stop plan
bool isVehicleStop() const
return true if tag correspond to a vehicle stop element
bool isPerson() const
return true if tag correspond to a person element
bool isPlanWalk() const
return true if tag correspond to a walk plan
bool isPlanTranship() const
return true if tag correspond to a tranship
long onCmdToggleShowDemandElementsNetwork(FXObject *, FXSelector, void *)
toggle show demand elements (network)
const GNEViewNetHelper::DataViewOptions & getDataViewOptions() const
get data view options
long onCmdToggleShowDemandElementsData(FXObject *, FXSelector, void *)
toggle show demand elements (data)
long onCmdToggleTAZDrawFill(FXObject *, FXSelector, void *)
toggle TAZdrawFill
long onCmdToggleWarnAboutMerge(FXObject *, FXSelector, void *)
toggle warn for merge
long onCmdToggleDrawSpreadVehicles(FXObject *, FXSelector, void *)
toggle draw vehicles in begin position or spread in lane
long onCmdToggleShowConnections(FXObject *, FXSelector, void *)
toggle show connections
long onCmdToggleShowTAZElements(FXObject *, FXSelector, void *)
toggle show TAZ elements
long onCmdToggleMoveElevation(FXObject *, FXSelector, void *)
toggle move elevation
long onCmdToggleShowAllPersonPlans(FXObject *, FXSelector, void *)
toggle show all person plans in super mode demand
long onCmdToggleTAZRelOnlyTo(FXObject *, FXSelector, void *)
toggle TAZRez only to
const GNEViewNetHelper::NetworkViewOptions & getNetworkViewOptions() const
get network view options
long onCmdToggleChainEdges(FXObject *, FXSelector, void *)
toggle chain edges
long onCmdToggleLockContainer(FXObject *, FXSelector, void *)
toggle lock container in super mode demand
long onCmdToggleShowGrid(FXObject *, FXSelector, void *)
toggle show grid
long onCmdToggleHideNonInspecteDemandElements(FXObject *, FXSelector, void *)
toggle hide non inspected demand elements
long onCmdToggleDrawJunctionShape(FXObject *, FXSelector, void *)
toggle draw junction shape
long onCmdToggleShowShapes(FXObject *, FXSelector, void *)
toggle show shapes in super mode data
long onCmdToggleExtendSelection(FXObject *, FXSelector, void *)
toggle extend selection
long onCmdToggleShowOverlappedRoutes(FXObject *, FXSelector, void *)
toggle hide non inspected demand elements
long onCmdToggleAutoOppositeEdge(FXObject *, FXSelector, void *)
toggle autoOpposite edge
long onCmdToggleChangeAllPhases(FXObject *, FXSelector, void *)
toggle change all phases
long onCmdToggleTAZRelDrawing(FXObject *, FXSelector, void *)
toggle TAZRel drawing
long onCmdToggleShowJunctionBubbles(FXObject *, FXSelector, void *)
toggle show junction bubbles
long onCmdToggleShowAdditionalSubElements(FXObject *, FXSelector, void *)
toggle show additional sub-elements
long onCmdToggleShowAllContainerPlans(FXObject *, FXSelector, void *)
toggle show all container plans in super mode demand
long onCmdToggleTAZRelOnlyFrom(FXObject *, FXSelector, void *)
toggle TAZRez only from
long onCmdToggleShowAdditionals(FXObject *, FXSelector, void *)
toggle show additionals in super mode data
long onCmdToggleLockPerson(FXObject *, FXSelector, void *)
toggle lock person in super mode demand
long onCmdToggleSelectEdges(FXObject *, FXSelector, void *)
toggle select edges
long onCmdToggleShowTrips(FXObject *, FXSelector, void *)
toggle show all trips in super mode demand
long onCmdToggleHideShapes(FXObject *, FXSelector, void *)
toggle hide shapes in super mode demand
const GNEViewNetHelper::DemandViewOptions & getDemandViewOptions() const
get demand view options
long onCmdToggleHideConnections(FXObject *, FXSelector, void *)
toggle hide connections
static MFXMenuCheckIcon * buildFXMenuCheckboxIcon(FXComposite *p, const std::string &text, const std::string &shortcut, const std::string &info, FXIcon *icon, FXObject *tgt, FXSelector sel)
build menu checkbox with icon
static FXMenuCommand * buildFXMenuCommandRecentFile(FXComposite *p, const std::string &text, FXObject *tgt, FXSelector sel)
build menu command (for recent files)
static FXMenuCheck * buildFXMenuCheckbox(FXComposite *p, const std::string &text, const std::string &info, FXObject *tgt, FXSelector sel)
build menu checkbox
static FXMenuCommand * buildFXMenuCommand(FXComposite *p, const std::string &text, FXIcon *icon, FXObject *tgt, FXSelector sel, const bool disable=false)
build menu command
static FXMenuCommand * buildFXMenuCommandShortcut(FXComposite *p, const std::string &text, const std::string &shortcut, const std::string &info, FXIcon *icon, FXObject *tgt, FXSelector sel)
build menu command
static FXIcon * getIcon(const GUIIcon which)
returns a icon previously defined in the enum GUIIcon
A logging window for the gui.
static FXbool userPermitsOverwritingWhenFileExists(FXWindow *const parent, const FXString &file)
Returns true if either the file given by its name does not exist or the user allows overwriting it.
static FXString assureExtension(const FXString &filename, const FXString &defaultExtension)
Corrects missing extension.
A storage for options typed value containers)
static OptionsCont & getOptions()
Retrieves the options.
A SAX-Handler for loading options.
bool errorOccurred() const
Returns the information whether an error occurred.
static std::string replace(std::string str, const std::string &what, const std::string &by)
Replaces all occurrences of the second string by the third string within the first string.
static std::string transcode(const XMLCh *const data)
converts a 0-terminated XMLCh* array (usually UTF-16, stemming from Xerces) into std::string in UTF-8
static std::string transcodeToLocal(const std::string &utf8String)
convert a string from UTF-8 to the local codepage
DataViewOptions(GNEApplicationWindow *GNEApp)
default constructor
void hideDataViewOptionsMenuChecks()
hide all options menu checks
void buildDataViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
void updateShortcuts()
update shortcuts (alt+X)
void hideDemandViewOptionsMenuChecks()
hide all options menu checks
void buildDemandViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
DemandViewOptions(GNEApplicationWindow *GNEApp)
default constructor
void updateShortcuts()
update shortcuts (alt+X)
void hideNetworkViewOptionsMenuChecks()
hide all options menu checks
NetworkViewOptions(GNEApplicationWindow *GNEApp)
default constructor
void updateShortcuts()
update shortcuts (alt+X)
void buildNetworkViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
EditMenuCommands(GNEApplicationWindow *GNEApp)
constructor
DemandViewOptions demandViewOptions
demand view options
NetworkViewOptions networkViewOptions
network view options
void buildUndoRedoMenuCommands(FXMenuPane *editMenu)
build undo-redo menu commands
DataViewOptions dataViewOptions
data view options
void buildViewMenuCommands(FXMenuPane *editMenu)
build view menu commands
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
void buildOpenSUMOMenuCommands(FXMenuPane *editMenu)
build open sumo menu commands
void buildFrontElementMenuCommand(FXMenuPane *editMenu)
build front element commands
void setJuPedSimView()
set JuPedSim view
void setDefaultView()
set default view
void buildEdgeTypeSection(FXMenuPane *menuPane)
build edge type section
FileMenuCommands(GNEApplicationWindow *GNEApp)
constructor
void buildDemandSection(FXMenuPane *menuPane)
build demand section
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
void buildTrafficLightSection(FXMenuPane *menuPane)
build traffic light section
void enableMenuCascades()
enable menu cascades
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
void buildSumoConfigSection(FXMenuPane *menuPane)
build SUMO Config section
void buildHelpMenuCommands(FXMenuPane *helpMenu)
build menu commands
HelpMenuCommands(GNEApplicationWindow *GNEApp)
constructor
void buildLocateMenuCommands(FXMenuPane *locateMenu)
build menu commands
LocateMenuCommands(GNEApplicationWindow *GNEApp)
constructor
void buildLockMenuCommands(FXMenuPane *editMenu)
build menu commands
void hideNetworkLockMenuCommands()
show network processing menu commands
void removeHotkeys()
remove hotkeys
void hideDemandLockMenuCommands()
show demand processing menu commands
void hideDataLockMenuCommands()
show data processing menu commands
void showDataLockMenuCommands()
show data processing menu commands
LockMenuCommands(GNEApplicationWindow *GNEApp)
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
void unlockAll()
unlock all
void editLocking(const GNEAttributeCarrier *AC, const FXbool value)
lock or unlock object based in a tag property
void buildCommonMenuCommands(FXMenuPane *modesMenu)
build menu commands
CommonMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
void buildDataMenuCommands(FXMenuPane *modesMenu)
build menu commands
void hideDataMenuCommands()
hide all menu commands
DataMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
void showDataMenuCommands()
show all menu commands
void buildDemandMenuCommands(FXMenuPane *modesMenu)
build menu commands
void showDemandMenuCommands()
show all menu commands
DemandMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
void hideDemandMenuCommands()
hide all menu commands
void buildNetworkMenuCommands(FXMenuPane *modesMenu)
build menu commands
void hideNetworkMenuCommands()
hide all menu commands
NetworkMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
void showNetworkMenuCommands()
show all menu commands
struct for modes menu commands
CommonMenuCommands commonMenuCommands
Common Menu Commands.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
void buildModesMenuCommands(FXMenuPane *modesMenu)
build modes menu commands
ModesMenuCommands(GNEApplicationWindow *GNEApp)
constructor
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
void setDefaultView(Supermode supermode)
set default view
void setJuPedSimView(Supermode supermode)
set JuPedSim view
DataMenuCommands dataMenuCommands
Data Menu Commands.
NetworkMenuCommands networkMenuCommands
Network Menu Commands.
void showDataProcessingMenuCommands()
show data processing menu commands
void showDemandProcessingMenuCommands()
show demand processing menu commands
void showSeparator()
show separator
void hideSeparator()
hide separator
void hideDemandProcessingMenuCommands()
show demand processing menu commands
void hideDataProcessingMenuCommands()
show data processing menu commands
void buildProcessingMenuCommands(FXMenuPane *processingMenu)
build menu commands
void showNetworkProcessingMenuCommands()
show network processing menu commands
ProcessingMenuCommands(GNEApplicationWindow *GNEApp)
constructor
void hideNetworkProcessingMenuCommands()
show network processing menu commands
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
void showSupermodeCommands()
show all menu commands
SupermodeCommands(GNEApplicationWindow *GNEApp)
constructor
void setJuPedSimView()
set JuPedSim view
void setDefaultView()
set default view
WindowsMenuCommands(GNEApplicationWindow *GNEApp)
constructor
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)
static std::string openRouteFileDialog(FXWindow *window, bool save, bool multi=false)
open route file dialog
static bool stringEndsWith(const std::string &str, const std::string &suffix)
check if a string ends with another string
static std::string openMeanDataDialog(FXWindow *window, bool save, bool multi=false)
open meandata filename dialog
static std::string openAdditionalFileDialog(FXWindow *window, bool save, bool multi=false)
open additional dialog
static std::string saveToolLog(FXWindow *window)
open tool file dialog
static std::string openOptionFileDialog(FXWindow *window, bool save)
open option dialog
static std::string openOSMFileDialog(FXWindow *window)
open OSM file dialog
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)
static std::string saveJoinedJunctionsFileDialog(FXWindow *window)
open joined junctions file dialog
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)
static std::string openTLSFileDialog(FXWindow *window, bool save)
open TLS file dialog
static std::string openDataFileDialog(FXWindow *window, bool save, bool multi=false)
open data file dialog
static std::string openNeteditConfigFileDialog(FXWindow *window, bool save)
open netedit config file dialog
static std::string savePlainXMLFileDialog(FXWindow *window)
open plain xml file dialog
static std::string openSumoConfigFileDialog(FXWindow *window, bool save, bool multi=false)
open SUMO config file dialog
static std::string openFileDialog(FXWindow *window, bool save, bool multi)
open general file dialog
static std::string openEdgeTypeFileDialog(FXWindow *window, bool save)
open edgeType file dialog
static std::string openNetworkFileDialog(FXWindow *window, bool save, bool multi=false)
open netconvert file dialog
static std::string openNetconvertFileDialog(FXWindow *window)
open netconvert file dialog
MFXCheckableButton * menuCheckToggleTAZDrawFill
menu check to toggle TAZ draw fill
MFXCheckableButton * menuCheckShowAdditionals
menu check to show Additionals
MFXCheckableButton * menuCheckShowShapes
menu check to show Shapes
MFXCheckableButton * menuCheckToggleTAZRelOnlyFrom
menu check to toggle TAZRel only from
MFXCheckableButton * menuCheckToggleDrawJunctionShape
checkable button to show junction shapes
MFXCheckableButton * menuCheckToggleTAZRelDrawing
menu check to toggle TAZ Rel drawing
MFXCheckableButton * menuCheckShowDemandElements
menu check to show Demand Elements
MFXCheckableButton * menuCheckToggleTAZRelOnlyTo
menu check to toggle TAZRel only to
MFXCheckableButton * menuCheckShowAllTrips
show all trips
MFXCheckableButton * menuCheckToggleGrid
menu check to show grid button
MFXCheckableButton * menuCheckToggleDrawJunctionShape
checkable button to show junction shapes
MFXCheckableButton * menuCheckDrawSpreadVehicles
menu check to draw vehicles in begin position or spread in lane
MFXCheckableButton * menuCheckShowOverlappedRoutes
show overlapped routes
MFXCheckableButton * menuCheckShowAllPersonPlans
show all person plans
MFXCheckableButton * menuCheckShowAllContainerPlans
show all container plans
MFXCheckableButton * menuCheckHideNonInspectedDemandElements
Hide non inspected demand elements.
MFXCheckableButton * menuCheckHideShapes
Hide shapes (Polygons and POIs)
MFXCheckableButton * menuCheckLockPerson
Lock Person.
MFXCheckableButton * menuCheckLockContainer
Lock Container.
MFXCheckableButton * menuCheckSelectEdges
checkable button to select only edges
MFXCheckableButton * menuCheckChainEdges
checkable button to the endpoint for a created edge should be set as the new source
MFXCheckableButton * menuCheckShowDemandElements
checkable button to show Demand Elements
MFXCheckableButton * menuCheckMoveElevation
checkable button to apply movement to elevation
MFXCheckableButton * menuCheckShowTAZElements
checkable button to show TAZ elements
MFXCheckableButton * menuCheckAutoOppositeEdge
check checkable to create auto create opposite edge
MFXCheckableButton * menuCheckDrawSpreadVehicles
checkable button to draw vehicles in begin position or spread in lane
MFXCheckableButton * menuCheckShowConnections
checkable button to show connections
MFXCheckableButton * menuCheckHideConnections
checkable button to hide connections in connect mode
MFXCheckableButton * menuCheckToggleDrawJunctionShape
checkable button to show junction shapes
MFXCheckableButton * menuCheckToggleGrid
checkable button to show grid button
MFXCheckableButton * menuCheckShowJunctionBubble
checkable button to show connection as bubble in "Move" mode.
MFXCheckableButton * menuCheckWarnAboutMerge
checkable button to we should warn about merging junctions
MFXCheckableButton * menuCheckShowAdditionalSubElements
checkable button to show additional sub-elements
MFXCheckableButton * menuCheckChangeAllPhases
checkable button to set change all phases
MFXCheckableButton * menuCheckExtendSelection
checkable button to extend to edge nodes