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
182 private:
184 void buildNeteditConfigSection(FXMenuPane* menuPane);
185
187 void buildSumoConfigSection(FXMenuPane* menuPane);
188
190 void buildTrafficLightSection(FXMenuPane* menuPane);
191
193 void buildEdgeTypeSection(FXMenuPane* menuPane);
194
196 void buildAdditionalSection(FXMenuPane* menuPane);
197
199 void buildDemandSection(FXMenuPane* menuPane);
200
202 void buildDataSection(FXMenuPane* menuPane);
203
205 void buildMeanDataSection(FXMenuPane* menuPane);
206
209
211 FXMenuCascade* myNeteditConfigMenuCascade = nullptr;
212
214 FXMenuCascade* mySumoConfigMenuCascade = nullptr;
215
217 FXMenuCascade* myTLSMenuCascade = nullptr;
218
220 FXMenuCascade* myEdgeTypesMenuCascade = nullptr;
221
223 FXMenuCascade* myAdditionalMenuCascade = nullptr;
224
226 FXMenuCascade* myDemandMenuCascade = nullptr;
227
229 FXMenuCascade* myDataMenuCascade = nullptr;
230
232 FXMenuCascade* myMeanDataMenuCascade = nullptr;
233
236
239 };
240
243
246
248 CommonMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
249
251 void buildCommonMenuCommands(FXMenuPane* modesMenu);
252
254 FXMenuCommand* deleteMode = nullptr;
255
257 FXMenuCommand* inspectMode = nullptr;
258
260 FXMenuCommand* selectMode = nullptr;
261
262 private:
265
268
271 };
272
275
277 NetworkMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
278
280 void buildNetworkMenuCommands(FXMenuPane* modesMenu);
281
284
287
289 FXMenuCommand* createEdgeMode = nullptr;
290
292 FXMenuCommand* moveMode = nullptr;
293
295 FXMenuCommand* connectMode = nullptr;
296
298 FXMenuCommand* prohibitionMode = nullptr;
299
301 FXMenuCommand* TLSMode = nullptr;
302
304 FXMenuCommand* additionalMode = nullptr;
305
307 FXMenuCommand* crossingMode = nullptr;
308
310 FXMenuCommand* TAZMode = nullptr;
311
313 FXMenuCommand* shapeMode = nullptr;
314
316 FXMenuCommand* wireMode = nullptr;
317
319 FXMenuCommand* decalMode = nullptr;
320
321 private:
324
327
330 };
331
334
336 DemandMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
337
339 void buildDemandMenuCommands(FXMenuPane* modesMenu);
340
343
346
348 FXMenuCommand* moveMode = nullptr;
349
351 FXMenuCommand* routeMode = nullptr;
352
354 FXMenuCommand* routeDistributionMode = nullptr;
355
357 FXMenuCommand* vehicleMode = nullptr;
358
360 FXMenuCommand* typeMode = nullptr;
361
363 FXMenuCommand* typeDistributionMode = nullptr;
364
366 FXMenuCommand* stopMode = nullptr;
367
369 FXMenuCommand* personMode = nullptr;
370
372 FXMenuCommand* personPlanMode = nullptr;
373
375 FXMenuCommand* containerMode = nullptr;
376
378 FXMenuCommand* containerPlanMode = nullptr;
379
380 private:
383
386
389 };
390
393
395 DataMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
396
398 void buildDataMenuCommands(FXMenuPane* modesMenu);
399
402
405
407 FXMenuCommand* edgeData = nullptr;
408
410 FXMenuCommand* edgeRelData = nullptr;
411
413 FXMenuCommand* TAZRelData = nullptr;
414
416 FXMenuCommand* meanData = nullptr;
417
418 private:
421
424
427 };
428
431
433 void buildModesMenuCommands(FXMenuPane* modesMenu);
434
436 void setDefaultView(Supermode supermode);
437
439 void setJuPedSimView(Supermode supermode);
440
443
446
449
452
453 private:
456
459
462 };
463
466
543
605
658
661
663 void buildUndoRedoMenuCommands(FXMenuPane* editMenu);
664
666 void buildViewMenuCommands(FXMenuPane* editMenu);
667
669 void buildFrontElementMenuCommand(FXMenuPane* editMenu);
670
672 void buildOpenSUMOMenuCommands(FXMenuPane* editMenu);
673
675 FXMenuCommand* undoLastChange = nullptr;
676
678 FXMenuCommand* redoLastChange = nullptr;
679
681 FXMenuCommand* openUndolistDialog = nullptr;
682
685
688
691
693 FXMenuCommand* editViewScheme = nullptr;
694
696 FXMenuCommand* editViewPort = nullptr;
697
699 FXMenuCommand* clearFrontElement = nullptr;
700
702 FXMenuCheck* loadAdditionalsInSUMOGUI = nullptr;
703
705 FXMenuCheck* loadDemandInSUMOGUI = nullptr;
706
708 FXMenuCommand* openInSUMOGUI = nullptr;
709
710 private:
713
716
719 };
720
723
726
728 void buildLockMenuCommands(FXMenuPane* editMenu);
729
731 void removeHotkeys();
732
735
738
741
744
747
750
752 void lockAll();
753
755 void unlockAll();
756
758 void editLocking(const GNEAttributeCarrier* AC, const FXbool value);
759
764
767
770
773
776
779
782
785
788
791
794
797
800
802
807
810
813
816
819
822
825
828
831
834
836
841
844
847
849
852
853 protected:
855 FXHotKey parseHotKey(const FXwchar character);
856
857 private:
860
863
866 };
867
870
873
875 void buildProcessingMenuCommands(FXMenuPane* processingMenu);
876
879
882
885
888
891
894
896 void showSeparator();
897
899 void hideSeparator();
900
904 FXMenuCommand* computeNetwork = nullptr;
905
907 FXMenuCommand* computeNetworkVolatile = nullptr;
908
910 FXMenuCommand* cleanJunctions = nullptr;
911
913 FXMenuCommand* joinJunctions = nullptr;
914
916 FXMenuCommand* clearInvalidCrossings = nullptr;
917
920
922
926 FXMenuCommand* computeDemand = nullptr;
927
929 FXMenuCommand* cleanRoutes = nullptr;
930
932 FXMenuCommand* joinRoutes = nullptr;
933
935 FXMenuCommand* adjustPersonPlans = nullptr;
936
938 FXMenuCommand* clearInvalidDemandElements = nullptr;
940
943
945
947 FXMenuCommand* optionMenus = nullptr;
948
949 private:
952
954 FXMenuSeparator* myOptionsSeparator = nullptr;
955
957 FXMenuSeparator* mySeparatorCheckBox = nullptr;
958
961
964 };
965
968
971
973 void buildLocateMenuCommands(FXMenuPane* locateMenu);
974
975 private:
978
981
984 };
985
988
991
994
996 void buildTools(FXMenuPane* toolsMenu, const std::map<std::string, FXMenuPane*>& menuPaneToolMaps);
997
999 long showTool(FXObject* menuCommand) const;
1000
1002 long showNetgenerateDialog() const;
1003
1005 long runToolDialog(FXObject* menuCommand) const;
1006
1008 long postProcessing(FXObject* menuCommand) const;
1009
1011 long runNetgenerateDialog(const OptionsCont* netgenerateOptions) const;
1012
1013 private:
1015 std::vector<GNEPythonTool*> myPythonTools;
1016
1019
1022
1025
1028
1031
1034
1037 };
1038
1041
1044
1046 void buildWindowsMenuCommands(FXMenuPane* windowsMenu, FXStatusBar* statusbar, GUIMessageWindow* messageWindow);
1047
1048 private:
1051
1054
1057 };
1058
1061
1064
1066 void buildHelpMenuCommands(FXMenuPane* helpMenu);
1067
1068 private:
1071
1074
1077 };
1078
1081
1084
1086 void buildSupermodeCommands(FXMenuPane* editMenu);
1087
1089 void showSupermodeCommands();
1090
1092 void setDefaultView();
1093
1095 void setJuPedSimView();
1096
1098 FXMenuCommand* networkMode = nullptr;
1099
1101 FXMenuCommand* demandMode = nullptr;
1102
1104 FXMenuCommand* dataMode = nullptr;
1105
1106 private:
1109
1112
1115 };
1116
1119
1120 public:
1122 GNESumoConfigHandler(OptionsCont& sumoOptions, const std::string& file);
1123
1125 bool loadSumoConfig();
1126
1127 private:
1130
1132 const std::string myFile;
1133 };
1134
1137
1138 public:
1140 GNENeteditConfigHandler(const std::string& file);
1141
1143 bool loadNeteditConfig();
1144
1145 private:
1147 const std::string myFile;
1148 };
1149
1151 static bool toggleEditOptionsNetwork(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1152 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1153
1155 static bool toggleEditOptionsDemand(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1156 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1157
1159 static bool toggleEditOptionsData(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1160 const int numericalKeyPressed, FXObject* obj, FXSelector sel);
1161
1163 static bool stringEndsWith(const std::string& str, const std::string& suffix);
1164
1166 static std::string openFileDialog(FXWindow* window, bool save, bool multi);
1167
1169 static std::string openNetworkFileDialog(FXWindow* window, bool save, bool multi = false);
1170
1172 static std::string openNetconvertFileDialog(FXWindow* window);
1173
1175 static std::string savePlainXMLFileDialog(FXWindow* window);
1176
1178 static std::string saveJoinedJunctionsFileDialog(FXWindow* window);
1179
1181 static std::string saveToolLog(FXWindow* window);
1182
1184 static std::string openOSMFileDialog(FXWindow* window);
1185
1187 static std::string openNeteditConfigFileDialog(FXWindow* window, bool save);
1188
1190 static std::string openSumoConfigFileDialog(FXWindow* window, bool save, bool multi = false);
1191
1193 static std::string openTLSFileDialog(FXWindow* window, bool save);
1194
1196 static std::string openEdgeTypeFileDialog(FXWindow* window, bool save);
1197
1199 static std::string openAdditionalFileDialog(FXWindow* window, bool save, bool multi = false);
1200
1202 static std::string openRouteFileDialog(FXWindow* window, bool save, bool multi = false);
1203
1205 static std::string openDataFileDialog(FXWindow* window, bool save, bool multi = false);
1206
1208 static std::string openMeanDataDialog(FXWindow* window, bool save, bool multi = false);
1209
1211 static std::string openOptionFileDialog(FXWindow* window, bool save);
1212
1213private:
1215 static std::string openFileDialog(FXWindow* window, const std::string title, GUIIcon icon, const std::string patternList, bool save, bool multi = false);
1216
1219
1222};
Supermode
@brie enum for supermodes
GUIIcon
An enumeration of icons used by the gui applications.
Definition GUIIcons.h:33
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
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.
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