Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEApplicationWindowHelper.h
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2001-2024 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
18// Functions from main window of netedit
19/****************************************************************************/
20#pragma once
21#include <config.h>
22
28#include <utils/geom/Position.h>
33
34#include "GNEViewNetHelper.h"
35
36
37// ===========================================================================
38// class declarations
39// ===========================================================================
40
42class GNELoadThread;
43class GNENet;
44class GNEPythonTool;
49class GNEUndoList;
51class GNEViewNet;
52class GUIEvent;
54
55// ===========================================================================
56// class definition
57// ===========================================================================
58
60
62 struct ToolbarsGrip {
63
66
69
72
75
77 FXMenuBar* menu = nullptr;
78
80 FXMenuBar* superModes = nullptr;
81
83 FXMenuBar* saveElements = nullptr;
84
86 FXMenuBar* timeSwitch = nullptr;
87
89 FXMenuBar* navigation = nullptr;
90
92 FXMenuBar* modes = nullptr;
93
95 FXMenuBar* intervalBar = nullptr;
96
97 private:
100
102 FXToolBarShell* myPythonToolBarShellMenu = nullptr;
103
105 FXToolBarShell* myPythonToolBarShellSuperModes = nullptr;
106
108 FXToolBarShell* myPythonToolBarShellSaveElements = nullptr;
109
111 FXToolBarShell* myPythonToolBarShellTimeFormat = nullptr;
112
114 FXToolBarShell* myPythonToolBarShellNavigation = nullptr;
115
117 FXToolBarShell* myPythonToolBarShellModes = nullptr;
118
120 FXToolBarShell* myPythonToolBarShellIntervalBar = nullptr;
121
123 ToolbarsGrip(const ToolbarsGrip&) = delete;
124
127 };
128
130 struct MenuBarFile {
131
134
136 void buildRecentNetworkFiles(FXMenuPane* fileMenu, FXMenuPane* fileMenuRecentNetworkFiles);
137
139 void buildRecentConfigFiles(FXMenuPane* fileMenu, FXMenuPane* fileMenuRecentConfigFiles);
140
143
146
147 private:
150
152 MenuBarFile(const MenuBarFile&) = delete;
153
156 };
157
160
163
165 void buildFileMenuCommands(FXMenuPane* fileMenu, FXMenuPane* fileMenuNEEDITConfig, FXMenuPane* fileMenuSumoConfig,
166 FXMenuPane* fileMenuTLS, FXMenuPane* fileMenuEdgeTypes, FXMenuPane* fileMenuAdditionals,
167 FXMenuPane* fileMenuDemandElements, FXMenuPane* fileMenuDataElements,
168 FXMenuPane* fileMenuMeanDataElements);
169
171 void enableMenuCascades();
172
174 void disableMenuCascades();
175
177 void setDefaultView();
178
180 void setJuPedSimView();
181
184
185 private:
187 void buildNeteditConfigSection(FXMenuPane* menuPane);
188
190 void buildSumoConfigSection(FXMenuPane* menuPane);
191
193 void buildTrafficLightSection(FXMenuPane* menuPane);
194
196 void buildEdgeTypeSection(FXMenuPane* menuPane);
197
199 void buildAdditionalSection(FXMenuPane* menuPane);
200
202 void buildDemandSection(FXMenuPane* menuPane);
203
205 void buildDataSection(FXMenuPane* menuPane);
206
208 void buildMeanDataSection(FXMenuPane* menuPane);
209
212
214 FXMenuCascade* myNeteditConfigMenuCascade = nullptr;
215
217 FXMenuCascade* mySumoConfigMenuCascade = nullptr;
218
220 FXMenuCascade* myTLSMenuCascade = nullptr;
221
223 FXMenuCascade* myEdgeTypesMenuCascade = nullptr;
224
226 FXMenuCascade* myAdditionalMenuCascade = nullptr;
227
229 FXMenuCascade* myDemandMenuCascade = nullptr;
230
232 FXMenuCascade* myDataMenuCascade = nullptr;
233
235 FXMenuCascade* myMeanDataMenuCascade = nullptr;
236
239
242 };
243
246
249
251 CommonMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
252
254 void buildCommonMenuCommands(FXMenuPane* modesMenu);
255
257 FXMenuCommand* deleteMode = nullptr;
258
260 FXMenuCommand* inspectMode = nullptr;
261
263 FXMenuCommand* selectMode = nullptr;
264
265 private:
268
271
274 };
275
278
280 NetworkMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
281
283 void buildNetworkMenuCommands(FXMenuPane* modesMenu);
284
287
290
292 FXMenuCommand* createEdgeMode = nullptr;
293
295 FXMenuCommand* moveMode = nullptr;
296
298 FXMenuCommand* connectMode = nullptr;
299
301 FXMenuCommand* prohibitionMode = nullptr;
302
304 FXMenuCommand* TLSMode = nullptr;
305
307 FXMenuCommand* additionalMode = nullptr;
308
310 FXMenuCommand* crossingMode = nullptr;
311
313 FXMenuCommand* TAZMode = nullptr;
314
316 FXMenuCommand* shapeMode = nullptr;
317
319 FXMenuCommand* wireMode = nullptr;
320
322 FXMenuCommand* decalMode = nullptr;
323
324 private:
327
330
333 };
334
337
339 DemandMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
340
342 void buildDemandMenuCommands(FXMenuPane* modesMenu);
343
346
349
351 FXMenuCommand* moveMode = nullptr;
352
354 FXMenuCommand* routeMode = nullptr;
355
357 FXMenuCommand* routeDistributionMode = nullptr;
358
360 FXMenuCommand* vehicleMode = nullptr;
361
363 FXMenuCommand* typeMode = nullptr;
364
366 FXMenuCommand* typeDistributionMode = nullptr;
367
369 FXMenuCommand* stopMode = nullptr;
370
372 FXMenuCommand* personMode = nullptr;
373
375 FXMenuCommand* personPlanMode = nullptr;
376
378 FXMenuCommand* containerMode = nullptr;
379
381 FXMenuCommand* containerPlanMode = nullptr;
382
383 private:
386
389
392 };
393
396
398 DataMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
399
401 void buildDataMenuCommands(FXMenuPane* modesMenu);
402
405
408
410 FXMenuCommand* edgeData = nullptr;
411
413 FXMenuCommand* edgeRelData = nullptr;
414
416 FXMenuCommand* TAZRelData = nullptr;
417
419 FXMenuCommand* meanData = nullptr;
420
421 private:
424
427
430 };
431
434
436 void buildModesMenuCommands(FXMenuPane* modesMenu);
437
439 void setDefaultView(Supermode supermode);
440
442 void setJuPedSimView(Supermode supermode);
443
446
449
452
455
456 private:
459
462
465 };
466
469
546
608
661
664
666 void buildUndoRedoMenuCommands(FXMenuPane* editMenu);
667
669 void buildViewMenuCommands(FXMenuPane* editMenu);
670
672 void buildFrontElementMenuCommand(FXMenuPane* editMenu);
673
675 void buildOpenSUMOMenuCommands(FXMenuPane* editMenu);
676
678 FXMenuCommand* undoLastChange = nullptr;
679
681 FXMenuCommand* redoLastChange = nullptr;
682
684 FXMenuCommand* openUndolistDialog = nullptr;
685
688
691
694
697
699 FXMenuCommand* editViewScheme = nullptr;
700
702 FXMenuCommand* editViewPort = nullptr;
703
705 FXMenuCommand* clearFrontElement = nullptr;
706
708 FXMenuCheck* loadAdditionalsInSUMOGUI = nullptr;
709
711 FXMenuCheck* loadDemandInSUMOGUI = nullptr;
712
714 FXMenuCommand* openInSUMOGUI = nullptr;
715
716 private:
719
722
725 };
726
729
732
734 void buildLockMenuCommands(FXMenuPane* editMenu);
735
737 void removeHotkeys();
738
741
744
747
750
753
756
758 void lockAll();
759
761 void unlockAll();
762
764 void editLocking(const GNEAttributeCarrier* AC, const FXbool value);
765
770
773
776
779
782
785
788
791
794
797
800
803
806
808
813
816
819
822
825
828
831
834
837
840
842
847
850
853
855
858
859 protected:
861 FXHotKey parseHotKey(const FXwchar character);
862
863 private:
866
869
872 };
873
876
879
881 void buildProcessingMenuCommands(FXMenuPane* processingMenu);
882
885
888
891
894
897
900
902 void showSeparator();
903
905 void hideSeparator();
906
910 FXMenuCommand* computeNetwork = nullptr;
911
913 FXMenuCommand* computeNetworkVolatile = nullptr;
914
916 FXMenuCommand* cleanJunctions = nullptr;
917
919 FXMenuCommand* joinJunctions = nullptr;
920
922 FXMenuCommand* clearInvalidCrossings = nullptr;
923
926
928
932 FXMenuCommand* computeDemand = nullptr;
933
935 FXMenuCommand* cleanRoutes = nullptr;
936
938 FXMenuCommand* joinRoutes = nullptr;
939
941 FXMenuCommand* adjustPersonPlans = nullptr;
942
944 FXMenuCommand* clearInvalidDemandElements = nullptr;
946
949
951
953 FXMenuCommand* optionMenus = nullptr;
954
955 private:
958
960 FXMenuSeparator* myOptionsSeparator = nullptr;
961
963 FXMenuSeparator* mySeparatorCheckBox = nullptr;
964
967
970 };
971
974
977
979 void buildLocateMenuCommands(FXMenuPane* locateMenu);
980
981 private:
984
987
990 };
991
994
997
1000
1002 void buildTools(FXMenuPane* toolsMenu, const std::map<std::string, FXMenuPane*>& menuPaneToolMaps);
1003
1005 long showTool(FXObject* menuCommand) const;
1006
1008 long showNetgenerateDialog() const;
1009
1011 long runToolDialog(FXObject* menuCommand) const;
1012
1014 long postProcessing(FXObject* menuCommand) const;
1015
1017 long runNetgenerateDialog(const OptionsCont* netgenerateOptions) const;
1018
1019 private:
1021 std::vector<GNEPythonTool*> myPythonTools;
1022
1025
1028
1031
1034
1037
1040
1043 };
1044
1047
1050
1052 void buildWindowsMenuCommands(FXMenuPane* windowsMenu, FXStatusBar* statusbar, GUIMessageWindow* messageWindow);
1053
1054 private:
1057
1060
1063 };
1064
1067
1070
1072 void buildHelpMenuCommands(FXMenuPane* helpMenu);
1073
1074 private:
1077
1080
1083 };
1084
1087
1090
1092 void buildSupermodeCommands(FXMenuPane* editMenu);
1093
1095 void showSupermodeCommands();
1096
1098 void setDefaultView();
1099
1101 void setJuPedSimView();
1102
1104 FXMenuCommand* networkMode = nullptr;
1105
1107 FXMenuCommand* demandMode = nullptr;
1108
1110 FXMenuCommand* dataMode = nullptr;
1111
1112 private:
1115
1118
1121 };
1122
1125
1126 public:
1128 GNESumoConfigHandler(OptionsCont& sumoOptions, const std::string& file);
1129
1131 bool loadSumoConfig();
1132
1133 private:
1136
1138 const std::string myFile;
1139
1142
1145 };
1146
1149
1150 public:
1152 GNENeteditConfigHandler(const std::string& file);
1153
1155 bool loadNeteditConfig();
1156
1157 private:
1159 const std::string myFile;
1160
1163
1166 };
1167
1169 static bool toggleEditOptionsNetwork(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1170 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1171
1173 static bool toggleEditOptionsDemand(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1174 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1175
1177 static bool toggleEditOptionsData(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1178 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1179
1181 static bool stringEndsWith(const std::string& str, const std::string& suffix);
1182
1184 static std::string openFileDialog(FXWindow* window, bool save, bool multi);
1185
1187 static std::string openNetworkFileDialog(FXWindow* window, bool save, bool multi = false);
1188
1190 static std::string openNetconvertFileDialog(FXWindow* window);
1191
1193 static std::string savePlainXMLFileDialog(FXWindow* window);
1194
1196 static std::string saveJoinedJunctionsFileDialog(FXWindow* window);
1197
1199 static std::string saveToolLog(FXWindow* window);
1200
1202 static std::string openOSMFileDialog(FXWindow* window);
1203
1205 static std::string openNeteditConfigFileDialog(FXWindow* window, bool save);
1206
1208 static std::string openSumoConfigFileDialog(FXWindow* window, bool save, bool multi = false);
1209
1211 static std::string openTLSFileDialog(FXWindow* window, bool save);
1212
1214 static std::string openEdgeTypeFileDialog(FXWindow* window, bool save);
1215
1217 static std::string openAdditionalFileDialog(FXWindow* window, bool save, bool multi = false);
1218
1220 static std::string openRouteFileDialog(FXWindow* window, bool save, bool multi = false);
1221
1223 static std::string openDataFileDialog(FXWindow* window, bool save, bool multi = false);
1224
1226 static std::string openMeanDataDialog(FXWindow* window, bool save, bool multi = false);
1227
1229 static std::string openOptionFileDialog(FXWindow* window, bool save);
1230
1231private:
1233 static std::string openFileDialog(FXWindow* window, const std::string title, GUIIcon icon, const std::string patternList, bool save, bool multi = false);
1234
1237
1240};
Supermode
@brie enum for supermodes
GUIIcon
An enumeration of icons used by the gui applications.
Definition GUIIcons.h:33
GNENeteditConfigHandler & operator=(const GNENeteditConfigHandler &)=delete
Invalidated assignment operator.
GNENeteditConfigHandler(const GNENeteditConfigHandler &)=delete
Invalidated copy constructor.
GNESumoConfigHandler(const GNESumoConfigHandler &)=delete
Invalidated copy constructor.
GNESumoConfigHandler & operator=(const GNESumoConfigHandler &)=delete
Invalidated assignment operator.
The main window of Netedit.
A NBNetBuilder extended by visualisation and editing capabilities.
Definition GNENet.h:42
Dialog for netgenerate tool dialog.
Dialog for python tool dialog.
Abstract dialog for tools.
Abstract dialog for tools.
Dialog for edit rerouters.
A logging window for the gui.
MFXRecentNetworks.
A storage for options typed value containers)
Definition OptionsCont.h:89
struct used to group all variables related to view options in supermode Data
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
MFXMenuCheckIcon * menuCheckToggleTAZRelOnlyTo
menu check to toggle TAZRel only to
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 * menuCheckShowAdditionals
menu check to show Additionals
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
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
DemandViewOptions & operator=(const DemandViewOptions &)=delete
Invalidated assignment operator.
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
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
struct used to group all variables related to view options in supermode Network
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
MFXMenuCheckIcon * menuCheckShowTAZElements
menu check to show TAZ elements
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
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.
MFXMenuCheckIcon * menuCheckToggleGrid
menu check to show grid button
MFXMenuCheckIcon * menuCheckAutoOppositeEdge
check checkable to create auto create opposite edge
MFXMenuCheckIcon * menuCheckShowJunctionBubble
menu check to show connection as bubble in "Move" mode.
MFXMenuCheckIcon * menuCheckWarnAboutMerge
menu check to we should warn about merging junctions
MFXMenuCheckIcon * menuCheckShowAdditionalSubElements
menu check to show additional sub-elements
MFXMenuCheckIcon * menuCheckExtendSelection
menu check to extend to edge nodes
MFXMenuCheckIcon * menuCheckMoveElevation
menu check to apply movement to elevation
MFXMenuCheckIcon * menuCheckShowDemandElements
menu check to show Demand Elements
MFXMenuCheckIcon * menuCheckDrawSpreadVehicles
menu check to draw vehicles in begin position or spread in lane
DemandViewOptions demandViewOptions
demand view options
FXMenuCommand * openInSUMOGUI
FXMenuCommand for open in SUMO GUI.
NetworkViewOptions networkViewOptions
network view options
FXMenuCommand * editViewScheme
FXMenuCommand for edit view scheme.
EditMenuCommands(const EditMenuCommands &)=delete
Invalidated copy constructor.
void buildUndoRedoMenuCommands(FXMenuPane *editMenu)
build undo-redo menu commands
void buildViewMenuCommands(FXMenuPane *editMenu)
build view menu commands
FXMenuCommand * openUndolistDialog
FXMenuCommand for open undolist dialog.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
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
MFXMenuCheckIcon * menuCheckAllowUndoRedo
checkBox for allow undo-redo
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
FXMenuCommand * clearFrontElement
FXMenuCommand for clear Front element.
MFXMenuCheckIcon * menuCheckAllowUndoRedoLoading
checkBox for allow undo-redo loading
FXMenuCascade * myDataMenuCascade
FXMenuCascade for data.
FileMenuCommands & operator=(const FileMenuCommands &)=delete
Invalidated assignment operator.
void buildEdgeTypeSection(FXMenuPane *menuPane)
build edge type section
FXMenuCascade * myEdgeTypesMenuCascade
FXMenuCascade for edgeTypes.
void buildDemandSection(FXMenuPane *menuPane)
build demand section
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.
void buildTrafficLightSection(FXMenuPane *menuPane)
build traffic light section
FXMenuCascade * myAdditionalMenuCascade
FXMenuCascade for additional.
FXMenuCascade * myTLSMenuCascade
FXMenuCascade for TLS.
FXMenuCascade * mySumoConfigMenuCascade
FXMenuCascade for SumoConfig.
void buildAdditionalSection(FXMenuPane *menuPane)
build additional section
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
void buildMeanDataSection(FXMenuPane *menuPane)
build meanData section
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.
void buildHelpMenuCommands(FXMenuPane *helpMenu)
build menu commands
HelpMenuCommands & operator=(const HelpMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
HelpMenuCommands(const HelpMenuCommands &)=delete
Invalidated copy constructor.
void buildLocateMenuCommands(FXMenuPane *locateMenu)
build menu commands
LocateMenuCommands & operator=(const LocateMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
LocateMenuCommands(const LocateMenuCommands &)=delete
Invalidated copy constructor.
void buildLockMenuCommands(FXMenuPane *editMenu)
build menu commands
MFXMenuCheckIcon * menuCheckLockConnections
menu check to lock connections
void hideNetworkLockMenuCommands()
show network processing menu commands
MFXMenuCheckIcon * menuCheckLockPersonTrip
menu check to lock personTrips
MFXMenuCheckIcon * menuCheckLockPersons
menu check to lock persons
MFXMenuCheckIcon * menuCheckLockVehicles
menu check to lock vehicles
MFXMenuCheckIcon * menuCheckLockCrossings
menu check to lock crossings
MFXMenuCheckIcon * menuCheckLockTAZs
menu check to lock TAZs
void hideDemandLockMenuCommands()
show demand processing menu commands
MFXMenuCheckIcon * menuCheckLockWalk
menu check to lock walks
MFXMenuCheckIcon * menuCheckLockEdgeTAZRels
menu check to lock edgeTAZRels
void hideDataLockMenuCommands()
show data processing menu commands
void showDataLockMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckLockWires
menu check to lock Wires
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 * menuCheckLockEdges
menu check to lock edges
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
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 * 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 editLocking(const GNEAttributeCarrier *AC, const FXbool value)
lock or unlock object based in a tag property
MFXMenuCheckIcon * menuCheckLockTransports
menu check to lock transports
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
void buildRecentConfigFiles(FXMenuPane *fileMenu, FXMenuPane *fileMenuRecentConfigFiles)
build recent config
MFXRecentNetworks myRecentConfigs
List of recent configs.
MenuBarFile(const MenuBarFile &)=delete
Invalidated copy constructor.
MenuBarFile & operator=(const MenuBarFile &)=delete
Invalidated assignment operator.
MFXRecentNetworks myRecentNetworks
List of recent networks.
void buildRecentNetworkFiles(FXMenuPane *fileMenu, FXMenuPane *fileMenuRecentNetworkFiles)
build recent network
CommonMenuCommands(const CommonMenuCommands &)=delete
Invalidated copy constructor.
CommonMenuCommands & operator=(const CommonMenuCommands &)=delete
Invalidated assignment operator.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
DataMenuCommands & operator=(const DataMenuCommands &)=delete
Invalidated assignment operator.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
DataMenuCommands(const DataMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * typeDistributionMode
menu command for type distribution mode
FXMenuCommand * routeDistributionMode
menu command for route distribution mode
DemandMenuCommands & operator=(const DemandMenuCommands &)=delete
Invalidated assignment operator.
DemandMenuCommands(const DemandMenuCommands &)=delete
Invalidated copy constructor.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
FXMenuCommand * containerPlanMode
menu command for container plan mode
NetworkMenuCommands(const NetworkMenuCommands &)=delete
Invalidated copy constructor.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
NetworkMenuCommands & operator=(const NetworkMenuCommands &)=delete
Invalidated assignment operator.
ModesMenuCommands & operator=(const ModesMenuCommands &)=delete
Invalidated assignment operator.
CommonMenuCommands commonMenuCommands
Common Menu Commands.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
void buildModesMenuCommands(FXMenuPane *modesMenu)
build modes menu commands
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
void setDefaultView(Supermode supermode)
set default view
ModesMenuCommands(const ModesMenuCommands &)=delete
Invalidated copy constructor.
void setJuPedSimView(Supermode supermode)
set JuPedSim view
NetworkMenuCommands networkMenuCommands
Network Menu Commands.
void showDataProcessingMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckRecomputeDataMode
checkBox for recomputing when changing data mode
FXMenuCommand * cleanRoutes
FXMenuCommand for clean routes without vehicles.
FXMenuCommand * joinJunctions
FXMenuCommand for join selected junctions.
FXMenuCommand * clearInvalidDemandElements
FXMenuCommand for clear invalid demand elements.
void showDemandProcessingMenuCommands()
show demand processing menu commands
FXMenuSeparator * myOptionsSeparator
separator for optionsMenu
FXMenuSeparator * mySeparatorCheckBox
separator for checkBox
FXMenuCommand * cleanJunctions
FXMenuCommand for clean junctions without edges.
void hideDemandProcessingMenuCommands()
show demand processing menu commands
void hideDataProcessingMenuCommands()
show data processing menu commands
FXMenuCommand * joinRoutes
FXMenuCommand for join routes.
void buildProcessingMenuCommands(FXMenuPane *processingMenu)
build menu commands
FXMenuCommand * computeNetworkVolatile
FXMenuCommand for compute network with volatile options.
FXMenuCommand * adjustPersonPlans
FXMenuCommand for adjust person plans.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
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.
ProcessingMenuCommands(const ProcessingMenuCommands &)=delete
Invalidated copy constructor.
void hideNetworkProcessingMenuCommands()
show network processing menu commands
FXMenuCommand * dataMode
FXMenuCommand for data supermode.
SupermodeCommands(const SupermodeCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * demandMode
FXMenuCommand for demand supermode.
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
SupermodeCommands & operator=(const SupermodeCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
FXMenuCommand * networkMode
FXMenuCommand for network supermode.
FXToolBarShell * myPythonToolBarShellSuperModes
menu bar drag for super modes (network, demand and data)
FXToolBarShell * myPythonToolBarShellMenu
menu bar drag (for file, edit, processing...)
FXToolBarShell * myPythonToolBarShellModes
menu bar drag for modes (select, inspect, delete...)
FXMenuBar * saveElements
The application menu bar for save elements.
FXMenuBar * modes
The application menu bar (for select, inspect...)
ToolbarsGrip(const ToolbarsGrip &)=delete
Invalidated copy constructor.
FXMenuBar * navigation
The application menu bar for navigation (zoom, coloring...)
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
FXToolBarShell * myPythonToolBarShellNavigation
menu bar drag for navigation (Zoom, coloring...)
ToolbarsGrip & operator=(const ToolbarsGrip &)=delete
Invalidated assignment operator.
FXMenuBar * timeSwitch
The application menu bar for time switch.
FXMenuBar * superModes
The application menu bar for supermodes (network, demand and data)
FXMenuBar * intervalBar
The application menu bar for mode options (show connections, select edges...)
FXMenuBar * menu
The application menu bar (for file, edit, processing...)
FXToolBarShell * myPythonToolBarShellSaveElements
menu bar drag for save elements
FXToolBarShell * myPythonToolBarShellIntervalBar
menu bar drag for interval bar
FXToolBarShell * myPythonToolBarShellTimeFormat
menu bar drag for time switch
ToolsMenuCommands & operator=(const ToolsMenuCommands &)=delete
Invalidated assignment operator.
long postProcessing(FXObject *menuCommand) const
run postprocessing
GNEPythonToolDialog * myPythonToolDialog
python tool dialog
void buildTools(FXMenuPane *toolsMenu, const std::map< std::string, FXMenuPane * > &menuPaneToolMaps)
build tools (and menu commands)
ToolsMenuCommands(const ToolsMenuCommands &)=delete
Invalidated copy constructor.
GNERunNetgenerateDialog * myRunNetgenerateDialog
run netgenerate dialog
GNENetgenerateDialog * myNetgenerateDialog
netgenerate dialog
GNERunPythonToolDialog * myRunPythonToolDialog
run python tool dialog
std::vector< GNEPythonTool * > myPythonTools
map with python tools
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
long showTool(FXObject *menuCommand) const
show tool
long runNetgenerateDialog(const OptionsCont *netgenerateOptions) const
run netgenerate dialog
long runToolDialog(FXObject *menuCommand) const
run tool dialog
WindowsMenuCommands & operator=(const WindowsMenuCommands &)=delete
Invalidated assignment operator.
WindowsMenuCommands(const WindowsMenuCommands &)=delete
Invalidated copy constructor.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
void buildWindowsMenuCommands(FXMenuPane *windowsMenu, FXStatusBar *statusbar, GUIMessageWindow *messageWindow)
build menu commands
static bool toggleEditOptionsData(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel)
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
GNEApplicationWindowHelper(const GNEApplicationWindowHelper &)=delete
Invalidated copy constructor.
static 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
GNEApplicationWindowHelper & operator=(const GNEApplicationWindowHelper &)=delete
Invalidated assignment operator.
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