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-2025 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
29#include <utils/geom/Position.h>
35
36#include "GNEViewNetHelper.h"
37
38
39// ===========================================================================
40// class declarations
41// ===========================================================================
42
44class GNENet;
46class GNEPythonTool;
50class GNEViewNet;
52
53// ===========================================================================
54// class definition
55// ===========================================================================
56
58
60 struct ToolbarsGrip {
61
63 ToolbarsGrip(GNEApplicationWindow* applicationWindow);
64
67
70
73
75 FXMenuBar* menu = nullptr;
76
78 FXMenuBar* superModes = nullptr;
79
81 FXMenuBar* saveElements = nullptr;
82
84 FXMenuBar* timeSwitch = nullptr;
85
87 FXMenuBar* navigation = nullptr;
88
90 FXMenuBar* modes = nullptr;
91
93 FXMenuBar* intervalBar = nullptr;
94
95 private:
98
100 FXToolBarShell* myPythonToolBarShellMenu = nullptr;
101
103 FXToolBarShell* myPythonToolBarShellSuperModes = nullptr;
104
106 FXToolBarShell* myPythonToolBarShellSaveElements = nullptr;
107
109 FXToolBarShell* myPythonToolBarShellTimeFormat = nullptr;
110
112 FXToolBarShell* myPythonToolBarShellNavigation = nullptr;
113
115 FXToolBarShell* myPythonToolBarShellModes = nullptr;
116
118 FXToolBarShell* myPythonToolBarShellIntervalBar = nullptr;
119
121 ToolbarsGrip(const ToolbarsGrip&) = delete;
122
125 };
126
128 struct MenuBarFile {
129
131 MenuBarFile(GNEApplicationWindow* applicationWindow);
132
134 void buildRecentNetworkFiles(FXMenuPane* fileMenu, FXMenuPane* fileMenuRecentNetworkFiles);
135
137 void buildRecentConfigFiles(FXMenuPane* fileMenu, FXMenuPane* fileMenuRecentConfigFiles);
138
141
144
145 private:
148
150 MenuBarFile(const MenuBarFile&) = delete;
151
154 };
155
158
160 FileMenuCommands(GNEApplicationWindow* applicationWindow);
161
163 void buildFileMenuCommands(FXMenuPane* fileMenu, FXMenuPane* fileMenuNEEDITConfig, FXMenuPane* fileMenuSumoConfig,
164 FXMenuPane* fileMenuTLS, FXMenuPane* fileMenuEdgeTypes, FXMenuPane* fileMenuAdditionals,
165 FXMenuPane* fileMenuDemandElements, FXMenuPane* fileMenuDataElements,
166 FXMenuPane* fileMenuMeanDataElements);
167
169 void enableMenuCascades();
170
172 void disableMenuCascades();
173
175 void setDefaultView();
176
178 void setJuPedSimView();
179
181 FXMenuCheck* menuCheckAllowUndoRedoLoading = nullptr;
182
183 private:
185 void buildNeteditConfigSection(FXMenuPane* menuPane);
186
188 void buildSumoConfigSection(FXMenuPane* menuPane);
189
191 void buildTrafficLightSection(FXMenuPane* menuPane);
192
194 void buildEdgeTypeSection(FXMenuPane* menuPane);
195
197 void buildAdditionalSection(FXMenuPane* menuPane);
198
200 void buildDemandSection(FXMenuPane* menuPane);
201
203 void buildDataSection(FXMenuPane* menuPane);
204
206 void buildMeanDataSection(FXMenuPane* menuPane);
207
210
212 FXMenuCascade* myNeteditConfigMenuCascade = nullptr;
213
215 FXMenuCascade* mySumoConfigMenuCascade = nullptr;
216
218 FXMenuCascade* myTLSMenuCascade = nullptr;
219
221 FXMenuCascade* myEdgeTypesMenuCascade = nullptr;
222
224 FXMenuCascade* myAdditionalMenuCascade = nullptr;
225
227 FXMenuCascade* myDemandMenuCascade = nullptr;
228
230 FXMenuCascade* myDataMenuCascade = nullptr;
231
233 FXMenuCascade* myMeanDataMenuCascade = nullptr;
234
237
240 };
241
244
247
249 CommonMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
250
252 void buildCommonMenuCommands(FXMenuPane* modesMenu);
253
255 FXMenuCommand* deleteMode = nullptr;
256
258 FXMenuCommand* inspectMode = nullptr;
259
261 FXMenuCommand* selectMode = nullptr;
262
263 private:
266
269
272 };
273
276
278 NetworkMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
279
281 void buildNetworkMenuCommands(FXMenuPane* modesMenu);
282
285
288
290 FXMenuCommand* createEdgeMode = nullptr;
291
293 FXMenuCommand* moveMode = nullptr;
294
296 FXMenuCommand* connectMode = nullptr;
297
299 FXMenuCommand* prohibitionMode = nullptr;
300
302 FXMenuCommand* TLSMode = nullptr;
303
305 FXMenuCommand* additionalMode = nullptr;
306
308 FXMenuCommand* crossingMode = nullptr;
309
311 FXMenuCommand* TAZMode = nullptr;
312
314 FXMenuCommand* shapeMode = nullptr;
315
317 FXMenuCommand* wireMode = nullptr;
318
320 FXMenuCommand* decalMode = nullptr;
321
322 private:
325
328
331 };
332
335
337 DemandMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
338
340 void buildDemandMenuCommands(FXMenuPane* modesMenu);
341
344
347
349 FXMenuCommand* moveMode = nullptr;
350
352 FXMenuCommand* routeMode = nullptr;
353
355 FXMenuCommand* routeDistributionMode = nullptr;
356
358 FXMenuCommand* vehicleMode = nullptr;
359
361 FXMenuCommand* typeMode = nullptr;
362
364 FXMenuCommand* typeDistributionMode = nullptr;
365
367 FXMenuCommand* stopMode = nullptr;
368
370 FXMenuCommand* personMode = nullptr;
371
373 FXMenuCommand* personPlanMode = nullptr;
374
376 FXMenuCommand* containerMode = nullptr;
377
379 FXMenuCommand* containerPlanMode = nullptr;
380
381 private:
384
387
390 };
391
394
396 DataMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
397
399 void buildDataMenuCommands(FXMenuPane* modesMenu);
400
403
406
408 FXMenuCommand* edgeData = nullptr;
409
411 FXMenuCommand* edgeRelData = nullptr;
412
414 FXMenuCommand* TAZRelData = nullptr;
415
417 FXMenuCommand* meanData = nullptr;
418
419 private:
422
425
428 };
429
431 ModesMenuCommands(GNEApplicationWindow* applicationWindow);
432
434 void buildModesMenuCommands(FXMenuPane* modesMenu);
435
437 void setDefaultView(Supermode supermode);
438
440 void setJuPedSimView(Supermode supermode);
441
444
447
450
453
454 private:
457
460
463 };
464
467
470
472 NetworkViewOptions(GNEApplicationWindow* applicationWindow);
473
475 void buildNetworkViewOptionsMenuChecks(FXMenuPane* editMenu);
476
479
481 void updateShortcuts();
482
485
488
491
494
497
500
503
506
509
512
515
518
521
524
527
530
532 FXMenuSeparator* separator = nullptr;
533
534 private:
537
540
543 };
544
606
659
661 EditMenuCommands(GNEApplicationWindow* applicationWindow);
662
664 void buildUndoRedoMenuCommands(FXMenuPane* editMenu);
665
667 void buildViewMenuCommands(FXMenuPane* editMenu);
668
670 void buildFrontElementMenuCommand(FXMenuPane* editMenu);
671
673 void buildOpenSUMOMenuCommands(FXMenuPane* editMenu);
674
676 FXMenuCommand* undoLastChange = nullptr;
677
679 FXMenuCommand* redoLastChange = nullptr;
680
682 FXMenuCommand* openUndolistDialog = nullptr;
683
685 FXMenuCheck* menuCheckAllowUndoRedo = nullptr;
686
689
692
695
697 FXMenuCommand* editViewScheme = nullptr;
698
700 FXMenuCommand* editViewPort = nullptr;
701
703 FXMenuCommand* clearFrontElement = nullptr;
704
706 FXMenuCheck* loadAdditionalsInSUMOGUI = nullptr;
707
709 FXMenuCheck* loadDemandInSUMOGUI = nullptr;
710
712 FXMenuCommand* openInSUMOGUI = nullptr;
713
714 private:
717
720
723 };
724
727
729 LockMenuCommands(GNEApplicationWindow* applicationWindow);
730
732 void buildLockMenuCommands(FXMenuPane* editMenu);
733
735 void removeHotkeys();
736
739
742
745
748
751
754
756 void lockAll();
757
759 void unlockAll();
760
762 void editLocking(const GNEAttributeCarrier* AC, const FXbool value);
763
768
771
774
777
780
783
786
789
792
795
798
801
804
806
811
814
817
820
823
826
829
832
835
838
840
845
848
851
853
856
857 protected:
859 FXHotKey parseHotKey(const FXwchar character);
860
861 private:
864
867
870 };
871
874
877
879 void buildProcessingMenuCommands(FXMenuPane* processingMenu);
880
883
886
889
892
895
898
900 void showSeparator();
901
903 void hideSeparator();
904
908 FXMenuCommand* computeNetwork = nullptr;
909
911 FXMenuCommand* computeNetworkVolatile = nullptr;
912
914 FXMenuCommand* cleanJunctions = nullptr;
915
917 FXMenuCommand* joinJunctions = nullptr;
918
920 FXMenuCommand* clearInvalidCrossings = nullptr;
921
924
926
930 FXMenuCommand* computeDemand = nullptr;
931
933 FXMenuCommand* cleanRoutes = nullptr;
934
936 FXMenuCommand* joinRoutes = nullptr;
937
939 FXMenuCommand* adjustPersonPlans = nullptr;
940
942 FXMenuCommand* clearInvalidDemandElements = nullptr;
944
947
949
951 FXMenuCommand* optionMenus = nullptr;
952
953 private:
956
958 FXMenuSeparator* myOptionsSeparator = nullptr;
959
961 FXMenuSeparator* mySeparatorCheckBox = nullptr;
962
965
968 };
969
972
974 LocateMenuCommands(GNEApplicationWindow* applicationWindow);
975
977 void buildLocateMenuCommands(FXMenuPane* locateMenu);
978
979 private:
982
985
988 };
989
992
994 ToolsMenuCommands(GNEApplicationWindow* applicationWindow);
995
998
1000 void buildTools(FXMenuPane* toolsMenu, const std::map<std::string, FXMenuPane*>& menuPaneToolMaps);
1001
1003 long showTool(FXObject* menuCommand);
1004
1006 long runToolDialog(FXObject* menuCommand) const;
1007
1009 long postProcessing(FXObject* menuCommand) const;
1010
1011 private:
1013 std::vector<GNEPythonTool*> myPythonTools;
1014
1017
1020
1023
1026 };
1027
1030
1032 WindowsMenuCommands(GNEApplicationWindow* applicationWindow);
1033
1035 void buildWindowsMenuCommands(FXMenuPane* windowsMenu, FXStatusBar* statusbar, GUIMessageWindow* messageWindow);
1036
1037 private:
1040
1043
1046 };
1047
1050
1052 HelpMenuCommands(GNEApplicationWindow* applicationWindow);
1053
1055 void buildHelpMenuCommands(FXMenuPane* helpMenu);
1056
1057 private:
1060
1063
1066 };
1067
1070
1072 SupermodeCommands(GNEApplicationWindow* applicationWindow);
1073
1075 void buildSupermodeCommands(FXMenuPane* editMenu);
1076
1078 void showSupermodeCommands();
1079
1081 void setDefaultView();
1082
1084 void setJuPedSimView();
1085
1087 FXMenuCommand* networkMode = nullptr;
1088
1090 FXMenuCommand* demandMode = nullptr;
1091
1093 FXMenuCommand* dataMode = nullptr;
1094
1095 private:
1098
1101
1104 };
1105
1108
1109 public:
1111 GNESumoConfigHandler(OptionsCont& sumoOptions, const std::string& file);
1112
1114 bool loadSumoConfig();
1115
1116 private:
1119
1121 const std::string myFile;
1122
1125
1128 };
1129
1132
1133 public:
1135 GNENeteditConfigHandler(const std::string& file);
1136
1138 bool loadNeteditConfig();
1139
1140 private:
1142 const std::string myFile;
1143
1146
1149 };
1150
1152 static bool toggleEditOptionsNetwork(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1153 FXObject* obj, FXSelector sel);
1154
1156 static bool toggleEditOptionsDemand(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1157 FXObject* obj, FXSelector sel);
1158
1160 static bool toggleEditOptionsData(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
1161 FXObject* obj, FXSelector sel);
1162
1164 static bool stringEndsWith(const std::string& str, const std::string& suffix);
1165
1166private:
1169
1172};
Supermode
@brie enum for supermodes
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
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
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
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
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
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
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
struct used to group all variables related to view options in supermode Network
MFXMenuCheckIcon * menuCheckShowTAZElements
menu check to show TAZ elements
MFXMenuCheckIcon * menuCheckMergeAutomatically
menu check to we should warn about merging junctions
MFXMenuCheckIcon * menuCheckHideConnections
menu check to hide connections in connect mode
MFXMenuCheckIcon * menuCheckSelectEdges
menu check to select only edges
MFXMenuCheckIcon * menuCheckChangeAllPhases
menu check to set change all phases
MFXMenuCheckIcon * menuCheckChainEdges
menu check to the endpoint for a created edge should be set as the new source
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
NetworkViewOptions(const NetworkViewOptions &)=delete
Invalidated copy constructor.
MFXMenuCheckIcon * menuCheckShowConnections
menu check to show connections
MFXMenuCheckIcon * menuCheckToggleDrawJunctionShape
menu check to toggle draw junction shape
NetworkViewOptions & operator=(const NetworkViewOptions &)=delete
Invalidated assignment operator.
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 * 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
FXMenuCheck * menuCheckAllowUndoRedo
checkBox for allow undo-redo
FXMenuCommand * openInSUMOGUI
FXMenuCommand for open in SUMO GUI.
NetworkViewOptions networkViewOptions
network view options
FXMenuCommand * editViewScheme
FXMenuCommand for edit view scheme.
EditMenuCommands(const EditMenuCommands &)=delete
Invalidated copy constructor.
void buildUndoRedoMenuCommands(FXMenuPane *editMenu)
build undo-redo menu commands
void buildViewMenuCommands(FXMenuPane *editMenu)
build view menu commands
FXMenuCommand * openUndolistDialog
FXMenuCommand for open undolist dialog.
FXMenuCheck * loadAdditionalsInSUMOGUI
menu check for load additionals in SUMO GUI
FXMenuCommand * undoLastChange
FXMenuCommand for undo last change.
FXMenuCheck * loadDemandInSUMOGUI
menu check for load demand in SUMO GUI
FXMenuCommand * redoLastChange
FXMenuCommand for redo last change.
EditMenuCommands & operator=(const EditMenuCommands &)=delete
Invalidated assignment operator.
void buildOpenSUMOMenuCommands(FXMenuPane *editMenu)
build open sumo menu commands
FXMenuCommand * editViewPort
FXMenuCommand for edit view port.
void buildFrontElementMenuCommand(FXMenuPane *editMenu)
build front element commands
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FXMenuCommand * clearFrontElement
FXMenuCommand for clear Front element.
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
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FileMenuCommands(const FileMenuCommands &)=delete
Invalidated copy constructor.
void buildFileMenuCommands(FXMenuPane *fileMenu, FXMenuPane *fileMenuNEEDITConfig, FXMenuPane *fileMenuSumoConfig, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements, FXMenuPane *fileMenuMeanDataElements)
build menu commands
void buildDataSection(FXMenuPane *menuPane)
build data section
FXMenuCascade * myMeanDataMenuCascade
FXMenuCascade for mean data.
FXMenuCheck * menuCheckAllowUndoRedoLoading
checkBox for allow undo-redo loading
void buildTrafficLightSection(FXMenuPane *menuPane)
build traffic light section
FXMenuCascade * myAdditionalMenuCascade
FXMenuCascade for additional.
FXMenuCascade * myTLSMenuCascade
FXMenuCascade for TLS.
FXMenuCascade * mySumoConfigMenuCascade
FXMenuCascade for SumoConfig.
void buildAdditionalSection(FXMenuPane *menuPane)
build additional section
void buildMeanDataSection(FXMenuPane *menuPane)
build meanData section
void 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 * myApplicationWindow
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 * myApplicationWindow
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 * 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 * menuCheckLockEdgeTAZRels
menu check to lock edgeTAZRels
void hideDataLockMenuCommands()
show data processing menu commands
void showDataLockMenuCommands()
show data processing menu commands
MFXMenuCheckIcon * menuCheckLockPersonTrips
menu check to lock personTrips
MFXMenuCheckIcon * menuCheckLockWires
menu check to lock Wires
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
LockMenuCommands & operator=(const LockMenuCommands &)=delete
Invalidated assignment operator.
MFXMenuCheckIcon * menuCheckLockPOIs
menu check to lock POIs
MFXMenuCheckIcon * menuCheckLockPolygons
menu check to lock polygons
MFXMenuCheckIcon * menuCheckLockWalkingAreas
menu check to lock walkingAreas
MFXMenuCheckIcon * menuCheckLockEdges
menu check to lock edges
MFXMenuCheckIcon * menuCheckLockSelectedElements
menu check for lock selected elements
MFXMenuCheckIcon * menuCheckLockRides
menu check to lock rides
MFXMenuCheckIcon * menuCheckLockContainers
menu check to lock containers
MFXMenuCheckIcon * menuCheckLockJpsWalkableAreas
menu check to lock jps walkableareas
MFXMenuCheckIcon * menuCheckLockEdgeRelDatas
menu check to lock edgeRelDatas
MFXMenuCheckIcon * menuCheckLockStops
menu check to lock stops
MFXMenuCheckIcon * menuCheckLockLanes
menu check to lock lanes
MFXMenuCheckIcon * menuCheckLockAdditionals
menu check to lock additionals
LockMenuCommands(const LockMenuCommands &)=delete
Invalidated copy constructor.
void showNetworkLockMenuCommands()
show network processing menu commands
MFXMenuCheckIcon * menuCheckLockWalks
menu check to lock walks
MFXMenuCheckIcon * menuCheckLockJpsObstacles
menu check to lock jps obstacles
FXHotKey parseHotKey(const FXwchar character)
Parse hot key from string.
void showDemandLockMenuCommands()
show demand processing menu commands
MFXMenuCheckIcon * menuCheckLockTranships
menu check to lock tranships
void editLocking(const GNEAttributeCarrier *AC, const FXbool value)
lock or unlock object based in a tag property
MFXMenuCheckIcon * menuCheckLockTransports
menu check to lock transports
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.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
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.
void buildModesMenuCommands(FXMenuPane *modesMenu)
build modes menu commands
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
void setDefaultView(Supermode supermode)
set default view
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
ModesMenuCommands(const ModesMenuCommands &)=delete
Invalidated copy constructor.
void setJuPedSimView(Supermode supermode)
set JuPedSim view
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.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
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.
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.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
FXMenuCommand * demandMode
FXMenuCommand for demand supermode.
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
SupermodeCommands & operator=(const SupermodeCommands &)=delete
Invalidated assignment operator.
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...)
FXToolBarShell * myPythonToolBarShellNavigation
menu bar drag for navigation (Zoom, coloring...)
ToolbarsGrip & operator=(const ToolbarsGrip &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
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.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
std::vector< GNEPythonTool * > myPythonTools
map with python tools
long runToolDialog(FXObject *menuCommand) const
run tool dialog
WindowsMenuCommands & operator=(const WindowsMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myApplicationWindow
pointer to current GNEApplicationWindow
WindowsMenuCommands(const WindowsMenuCommands &)=delete
Invalidated copy constructor.
void buildWindowsMenuCommands(FXMenuPane *windowsMenu, FXStatusBar *statusbar, GUIMessageWindow *messageWindow)
build menu commands
GNEApplicationWindowHelper(const GNEApplicationWindowHelper &)=delete
Invalidated copy constructor.
static bool toggleEditOptionsDemand(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel)
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
static bool toggleEditOptionsData(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel)
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
static bool stringEndsWith(const std::string &str, const std::string &suffix)
check if a string ends with another string
static bool toggleEditOptionsNetwork(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel)
toggle edit options Network menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
GNEApplicationWindowHelper & operator=(const GNEApplicationWindowHelper &)=delete
Invalidated assignment operator.