Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindowHelper.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2022 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 
23 #include <utils/common/SUMOTime.h>
28 #include <utils/geom/Position.h>
32 
33 #include "GNEViewNetHelper.h"
34 
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
40 class GNELoadThread;
41 class GNEUndoList;
42 class GNEUndoListDialog;
43 class GNENet;
44 class GNEViewNet;
45 class GUIEvent;
46 class FXMenuCheckIcon;
47 
48 
49 // ===========================================================================
50 // class definition
51 // ===========================================================================
52 
54 
56  struct ToolbarsGrip {
57 
60 
62  void buildMenuToolbarsGrip();
63 
66 
69 
71  FXMenuBar* menu;
72 
74  FXMenuBar* superModes;
75 
77  FXMenuBar* saveElements;
78 
80  FXMenuBar* navigation;
81 
83  FXMenuBar* modes;
84 
86  FXMenuBar* intervalBar;
87 
88  private:
91 
93  FXToolBarShell* myToolBarShellMenu;
94 
96  FXToolBarShell* myToolBarShellSuperModes;
97 
99  FXToolBarShell* myToolBarShellSaveElements;
100 
102  FXToolBarShell* myToolBarShellNavigation;
103 
105  FXToolBarShell* myToolBarShellModes;
106 
108  FXToolBarShell* myToolBarShellIntervalBar;
109 
111  ToolbarsGrip(const ToolbarsGrip&) = delete;
112 
115  };
116 
118  struct MenuBarFile {
119 
122 
124  void buildRecentFiles(FXMenuPane* fileMenu);
125 
128 
129  private:
132 
134  MenuBarFile(const MenuBarFile&) = delete;
135 
137  MenuBarFile& operator=(const MenuBarFile&) = delete;
138  };
139 
142 
145 
147  void buildFileMenuCommands(FXMenuPane* fileMenu, FXMenuPane* fileMenuTLS, FXMenuPane* fileMenuEdgeTypes, FXMenuPane* fileMenuAdditionals,
148  FXMenuPane* fileMenuDemandElements, FXMenuPane* fileMenuDataElements);
149 
151  FXMenuCommand* saveAdditionals;
152 
154  FXMenuCommand* saveAdditionalsAs;
155 
157  FXMenuCommand* reloadAdditionals;
158 
160  FXMenuCommand* saveTLSPrograms;
161 
163  FXMenuCommand* saveEdgeTypes;
164 
166  FXMenuCommand* saveDemandElements;
167 
169  FXMenuCommand* saveDemandElementsAs;
170 
172  FXMenuCommand* reloadDemandElements;
173 
175  FXMenuCommand* saveDataElements;
176 
178  FXMenuCommand* saveDataElementsAs;
179 
181  FXMenuCommand* reloadDataElements;
182 
183  private:
186 
189 
192  };
193 
196 
199 
201  CommonMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
202 
204  void buildCommonMenuCommands(FXMenuPane* modesMenu);
205 
207  FXMenuCommand* deleteMode;
208 
210  FXMenuCommand* inspectMode;
211 
213  FXMenuCommand* selectMode;
214 
215  private:
218 
221 
224  };
225 
228 
230  NetworkMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
231 
233  void buildNetworkMenuCommands(FXMenuPane* modesMenu);
234 
237 
240 
242  FXMenuCommand* createEdgeMode;
243 
245  FXMenuCommand* moveMode;
246 
248  FXMenuCommand* connectMode;
249 
251  FXMenuCommand* prohibitionMode;
252 
254  FXMenuCommand* TLSMode;
255 
257  FXMenuCommand* additionalMode;
258 
260  FXMenuCommand* crossingMode;
261 
263  FXMenuCommand* TAZMode;
264 
266  FXMenuCommand* shapeMode;
267 
268  private:
271 
274 
277  };
278 
281 
283  DemandMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
284 
286  void buildDemandMenuCommands(FXMenuPane* modesMenu);
287 
289  void showDemandMenuCommands();
290 
292  void hideDemandMenuCommands();
293 
295  FXMenuCommand* moveMode;
296 
298  FXMenuCommand* routeMode;
299 
301  FXMenuCommand* vehicleMode;
302 
304  FXMenuCommand* typeMode;
305 
307  FXMenuCommand* stopMode;
308 
310  FXMenuCommand* personMode;
311 
313  FXMenuCommand* personPlanMode;
314 
316  FXMenuCommand* containerMode;
317 
319  FXMenuCommand* containerPlanMode;
320 
321  private:
324 
327 
330  };
331 
334 
336  DataMenuCommands(const ModesMenuCommands* modesMenuCommandsParent);
337 
339  void buildDataMenuCommands(FXMenuPane* modesMenu);
340 
342  void showDataMenuCommands();
343 
345  void hideDataMenuCommands();
346 
348  FXMenuCommand* edgeData;
349 
351  FXMenuCommand* edgeRelData;
352 
354  FXMenuCommand* TAZRelData;
355 
356  private:
359 
362 
365  };
366 
369 
371  void buildModesMenuCommands(FXMenuPane* modesMenu);
372 
375 
378 
381 
384 
385  private:
388 
391 
394  };
395 
398 
401 
404 
406  void buildNetworkViewOptionsMenuChecks(FXMenuPane* editMenu);
407 
410 
412  void updateAltLabels();
413 
416 
419 
422 
425 
428 
431 
434 
437 
440 
443 
446 
449 
452 
455 
457  FXMenuSeparator* separator;
458 
459  private:
462 
465 
468  };
469 
472 
475 
477  void buildDemandViewOptionsMenuChecks(FXMenuPane* editMenu);
478 
481 
484 
487 
490 
493 
496 
499 
502 
505 
508 
511 
513  FXMenuSeparator* separator;
514 
515  private:
518 
521 
524  };
525 
528 
531 
533  void buildDataViewOptionsMenuChecks(FXMenuPane* editMenu);
534 
537 
540 
543 
546 
549 
552 
555 
558 
560  FXMenuSeparator* separator;
561 
562  private:
565 
568 
571  };
572 
575 
577  void buildUndoRedoMenuCommands(FXMenuPane* editMenu);
578 
580  void buildViewMenuCommands(FXMenuPane* editMenu);
581 
583  void buildFrontElementMenuCommand(FXMenuPane* editMenu);
584 
586  void buildOpenSUMOMenuCommands(FXMenuPane* editMenu);
587 
589  FXMenuCommand* undoLastChange;
590 
592  FXMenuCommand* redoLastChange;
593 
595  FXMenuCommand* openUndolistDialog;
596 
599 
602 
605 
607  FXMenuCommand* editViewScheme;
608 
610  FXMenuCommand* editViewPort;
611 
613  FXMenuCommand* clearFrontElement;
614 
617 
619  FXMenuCheck* loadDemandInSUMOGUI;
620 
622  FXMenuCommand* openInSUMOGUI;
623 
624  private:
627 
630 
633  };
634 
637 
640 
642  void buildLockMenuCommands(FXMenuPane* editMenu);
643 
645  void removeHotkeys();
646 
649 
652 
655 
658 
661 
664 
666  void lockAll();
667 
669  void unlockAll();
670 
672  void editLocking(const GNEAttributeCarrier* AC, const FXbool value);
673 
678 
681 
684 
687 
690 
693 
696 
699 
702 
704 
709 
712 
715 
718 
721 
724 
727 
730 
733 
736 
738 
743 
746 
749 
751 
754 
755  protected:
757  FXHotKey parseHotKey(const FXwchar character);
758 
759  private:
762 
765 
768  };
769 
772 
775 
777  void buildProcessingMenuCommands(FXMenuPane* editMenu);
778 
781 
784 
787 
790 
793 
796 
800  FXMenuCommand* computeNetwork;
801 
803  FXMenuCommand* computeNetworkVolatile;
804 
806  FXMenuCommand* cleanJunctions;
807 
809  FXMenuCommand* joinJunctions;
810 
812  FXMenuCommand* clearInvalidCrossings;
814 
818  FXMenuCommand* computeDemand;
819 
821  FXMenuCommand* cleanRoutes;
822 
824  FXMenuCommand* joinRoutes;
825 
827  FXMenuCommand* adjustPersonPlans;
828 
832 
835 
837 
839  FXMenuCommand* optionMenus;
840 
841  private:
844 
847 
850  };
851 
854 
857 
859  void buildLocateMenuCommands(FXMenuPane* locateMenu);
860 
861  private:
864 
867 
870  };
871 
874 
877 
879  void buildToolsMenuCommands(FXMenuPane* locateMenu);
880 
881  private:
884 
887 
890  };
891 
894 
897 
899  void buildWindowsMenuCommands(FXMenuPane* windowsMenu, FXStatusBar* statusbar, GUIMessageWindow* messageWindow);
900 
901  private:
904 
907 
910  };
911 
914 
917 
919  void buildSupermodeCommands(FXMenuPane* editMenu);
920 
922  void showSupermodeCommands();
923 
925  void hideSupermodeCommands();
926 
928  FXMenuCommand* networkMode;
929 
931  FXMenuCommand* demandMode;
932 
934  FXMenuCommand* dataMode;
935 
936  private:
939 
942 
945  };
946 
948  static bool toggleEditOptionsNetwork(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
949  const int numericalKeyPressed, FXObject* obj, FXSelector sel);
950 
952  static bool toggleEditOptionsDemand(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
953  const int numericalKeyPressed, FXObject* obj, FXSelector sel);
954 
956  static bool toggleEditOptionsData(GNEViewNet* viewNet, const MFXCheckableButton* menuCheck,
957  const int numericalKeyPressed, FXObject* obj, FXSelector sel);
958 
959 private:
962 
965 };
FXRecentNetworks.
The main window of the Netedit.
A NBNetBuilder extended by visualisation and editing capabilities.
Definition: GNENet.h:42
Dialog for edit rerouters.
A logging window for the gui.
struct used to group all variables related to view options in supermode Data
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCheckIcon * menuCheckToogleTAZDrawFill
menu check to toogle TAZ draw fill
FXMenuCheckIcon * menuCheckToogleTAZRelOnlyTo
menu check to toogle TAZRel only to
DataViewOptions(GNEApplicationWindow *GNEApp)
default constructor
void buildDataViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
FXMenuCheckIcon * menuCheckShowDemandElements
menu check to show Demand Elements
DataViewOptions(const DataViewOptions &)=delete
Invalidated copy constructor.
FXMenuCheckIcon * menuCheckToogleTAZRelDrawing
menu check to toogle TAZRel drawing mode
FXMenuCheckIcon * menuCheckShowAdditionals
menu check to show Additionals
FXMenuCheckIcon * menuCheckToogleTAZRelOnlyFrom
menu check to toogle TAZRel only from
DataViewOptions & operator=(const DataViewOptions &)=delete
Invalidated assignment operator.
struct used to group all variables related to view options in supermode Demand
FXMenuCheckIcon * menuCheckShowAllContainerPlans
menu check for show all container plans
FXMenuCheckIcon * menuCheckHideNonInspectedDemandElements
menu check for hide non inspected demand elements
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCheckIcon * menuCheckLockContainer
menu check for lock Container
void buildDemandViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
DemandViewOptions(const DemandViewOptions &)=delete
Invalidated copy constructor.
FXMenuCheckIcon * menuCheckHideShapes
menu check for hide shapes (Polygons and POIs)
FXMenuCheckIcon * menuCheckDrawSpreadVehicles
menu check to draw vehicles in begin position or spread in lane
DemandViewOptions & operator=(const DemandViewOptions &)=delete
Invalidated assignment operator.
FXMenuCheckIcon * menuCheckShowOverlappedRoutes
menu check for show overlapped routes
FXMenuCheckIcon * menuCheckShowAllTrips
menu check for show all trips plans
FXMenuCheckIcon * menuCheckShowAllPersonPlans
menu check for show all person plans
FXMenuCheckIcon * menuCheckToggleGrid
menu check to show grid button
DemandViewOptions(GNEApplicationWindow *GNEApp)
default constructor
struct used to group all variables related to view options in supermode Network
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCheckIcon * menuCheckShowDemandElements
menu check to show Demand Elements
FXMenuCheckIcon * menuCheckMoveElevation
menu check to apply movement to elevation
FXMenuCheckIcon * menuCheckChainEdges
menu check to the endpoint for a created edge should be set as the new source
NetworkViewOptions(GNEApplicationWindow *GNEApp)
default constructor
FXMenuCheckIcon * menuCheckWarnAboutMerge
menu check to we should warn about merging junctions
FXMenuCheckIcon * menuCheckExtendSelection
menu check to extend to edge nodes
FXMenuCheckIcon * menuCheckSelectEdges
menu check to select only edges
FXMenuCheckIcon * menuCheckShowAdditionalSubElements
menu check to show additional sub-elements
NetworkViewOptions(const NetworkViewOptions &)=delete
Invalidated copy constructor.
FXMenuCheckIcon * menuCheckAutoOppositeEdge
check checkable to create auto create opposite edge
FXMenuCheckIcon * menuCheckToggleGrid
menu check to show grid button
FXMenuCheckIcon * menuCheckShowConnections
menu check to show connections
NetworkViewOptions & operator=(const NetworkViewOptions &)=delete
Invalidated assignment operator.
FXMenuCheckIcon * menuCheckShowJunctionBubble
menu check to show connection as buuble in "Move" mode.
FXMenuCheckIcon * menuCheckDrawSpreadVehicles
menu check to draw vehicles in begin position or spread in lane
FXMenuCheckIcon * menuCheckHideConnections
menu check to hide connections in connect mode
void buildNetworkViewOptionsMenuChecks(FXMenuPane *editMenu)
build menu checks
FXMenuCheckIcon * menuCheckChangeAllPhases
menu check to set change all phases
EditMenuCommands(GNEApplicationWindow *GNEApp)
constructor
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 & operator=(const EditMenuCommands &)=delete
Invalidated assignment operator.
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 dialgo.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
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.
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.
FXMenuCommand * saveTLSPrograms
FXMenuCommand for enable or disable save additionals.
FileMenuCommands(GNEApplicationWindow *GNEApp)
constructor
FXMenuCommand * saveEdgeTypes
FXMenuCommand for enable or disable save edgeTypes.
FileMenuCommands(const FileMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCommand * saveDemandElementsAs
FXMenuCommand for enable or disable save demand elements as.
FileMenuCommands & operator=(const FileMenuCommands &)=delete
Invalidated assignment operator.
FXMenuCommand * saveDataElementsAs
FXMenuCommand for enable or disable save data elements as.
FXMenuCommand * saveAdditionals
FXMenuCommand for enable or disable save additionals.
FXMenuCommand * saveDemandElements
FXMenuCommand for enable or disable save demand elements.
FXMenuCommand * saveDataElements
FXMenuCommand for enable or disable save data elements.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCommand * reloadAdditionals
FXMenuCommand for reload additionals.
FXMenuCommand * reloadDataElements
FXMenuCommand for reload data elements.
FXMenuCommand * reloadDemandElements
FXMenuCommand for reload demand elements.
void buildFileMenuCommands(FXMenuPane *fileMenu, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements)
build menu commands
FXMenuCommand * saveAdditionalsAs
FXMenuCommand for enable or disable save additionals As.
void buildLocateMenuCommands(FXMenuPane *locateMenu)
build menu commands
LocateMenuCommands(GNEApplicationWindow *GNEApp)
constructor
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
LocateMenuCommands & operator=(const LocateMenuCommands &)=delete
Invalidated assignment operator.
LocateMenuCommands(const LocateMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCheckIcon * menuCheckLockTranships
menu check to lock tranships
FXMenuCheckIcon * menuCheckLockRides
menu check to lock rides
void buildLockMenuCommands(FXMenuPane *editMenu)
build menu commands
FXMenuCheckIcon * menuCheckLockConnections
menu check to lock connections
FXMenuCheckIcon * menuCheckLockEdgeTAZRels
menu check to lock edgeTAZRels
void hideNetworkLockMenuCommands()
show network processing menu commands
FXMenuCheckIcon * menuCheckLockEdges
menu check to lock edges
FXMenuCheckIcon * menuCheckLockWalk
menu check to lock walks
FXMenuCheckIcon * menuCheckLockVehicles
menu check to lock vehicles
FXMenuCheckIcon * menuCheckLockAdditionals
menu check to lock additionals
void hideDemandLockMenuCommands()
show demand processing menu commands
void hideDataLockMenuCommands()
show data processing menu commands
FXMenuCheckIcon * menuCheckLockPersonTrip
menu check to lock personTrips
void showDataLockMenuCommands()
show data processing menu commands
FXMenuCheckIcon * menuCheckLockLanes
menu check to lock lanes
LockMenuCommands(GNEApplicationWindow *GNEApp)
constructor
FXMenuCheckIcon * menuCheckLockPersons
menu check to lock persons
LockMenuCommands & operator=(const LockMenuCommands &)=delete
Invalidated assignment operator.
FXMenuCheckIcon * menuCheckLockPolygons
menu check to lock polygons
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCheckIcon * menuCheckLockTransports
menu check to lock transports
FXMenuCheckIcon * menuCheckLockSelectedElements
menu check for lock selected elemetns
FXMenuCheckIcon * menuCheckLockContainers
menu check to lock containers
FXMenuCheckIcon * menuCheckLockEdgeRelDatas
menu check to lock edgeRelDatas
FXMenuCheckIcon * menuCheckLockStops
menu check to lock stops
LockMenuCommands(const LockMenuCommands &)=delete
Invalidated copy constructor.
FXMenuCheckIcon * menuCheckLockPOIs
menu check to lock POIs
void showNetworkLockMenuCommands()
show network processing menu commands
FXHotKey parseHotKey(const FXwchar character)
Parse hot key from string.
FXMenuCheckIcon * menuCheckLockCrossings
menu check to lock crossings
void showDemandLockMenuCommands()
show demand processing menu commands
void editLocking(const GNEAttributeCarrier *AC, const FXbool value)
lock or unlock object based in a tag property
FXMenuCheckIcon * menuCheckLockTAZs
menu check to lock TAZs
void buildRecentFiles(FXMenuPane *fileMenu)
build recent files
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
MenuBarFile & operator=(const MenuBarFile &)=delete
Invalidated assignment operator.
MenuBarFile(const MenuBarFile &)=delete
Invalidated copy constructor.
FXRecentNetworks myRecentNetsAndConfigs
List of recent nets and config files.
MenuBarFile(GNEApplicationWindow *GNEApp)
constructor
CommonMenuCommands(const CommonMenuCommands &)=delete
Invalidated copy constructor.
CommonMenuCommands & operator=(const CommonMenuCommands &)=delete
Invalidated assignment operator.
CommonMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
DataMenuCommands & operator=(const DataMenuCommands &)=delete
Invalidated assignment operator.
void buildDataMenuCommands(FXMenuPane *modesMenu)
build menu commands
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
DataMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
DataMenuCommands(const DataMenuCommands &)=delete
Invalidated copy constructor.
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
DemandMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
NetworkMenuCommands(const ModesMenuCommands *modesMenuCommandsParent)
constructor
NetworkMenuCommands(const NetworkMenuCommands &)=delete
Invalidated copy constructor.
const ModesMenuCommands * myModesMenuCommandsParent
reference to ModesMenuCommands
NetworkMenuCommands & operator=(const NetworkMenuCommands &)=delete
Invalidated assignment operator.
FXMenuCommand * moveMode
menu command for move mode (network)
CommonMenuCommands commonMenuCommands
Common Menu Commands.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
void buildModesMenuCommands(FXMenuPane *modesMenu)
build modes menu commands
ModesMenuCommands(GNEApplicationWindow *GNEApp)
constructor
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
ModesMenuCommands & operator=(const ModesMenuCommands &)=delete
Invalidated assignment operator.
ModesMenuCommands(const ModesMenuCommands &)=delete
Invalidated copy constructor.
DataMenuCommands dataMenuCommands
Data Menu Commands.
NetworkMenuCommands networkMenuCommands
Network Menu Commands.
void showDataProcessingMenuCommands()
show data processing menu commands
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
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.
FXMenuCommand * computeNetworkVolatile
FXMenuCommand for compute network with volatile options.
FXMenuCommand * adjustPersonPlans
FXMenuCommand for adjust person plans.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCommand * optionMenus
FXMenuCommand for open option menus.
FXMenuCommand * clearInvalidCrossings
FXMenuCommand for clear invalid crosings.
void showNetworkProcessingMenuCommands()
show network processing menu commands
void buildProcessingMenuCommands(FXMenuPane *editMenu)
build menu commands
ProcessingMenuCommands & operator=(const ProcessingMenuCommands &)=delete
Invalidated assignment operator.
ProcessingMenuCommands(GNEApplicationWindow *GNEApp)
constructor
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.
SupermodeCommands & operator=(const SupermodeCommands &)=delete
Invalidated assignment operator.
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
SupermodeCommands(GNEApplicationWindow *GNEApp)
constructor
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
FXMenuCommand * networkMode
FXMenuCommand for network supermode.
FXToolBarShell * myToolBarShellSuperModes
menu bar drag for modes (network and demand)
FXToolBarShell * myToolBarShellIntervalBar
menu bar drag for interval bar
void buildMenuToolbarsGrip()
build menu toolbar grips
ToolbarsGrip(GNEApplicationWindow *GNEApp)
constructor
FXMenuBar * saveElements
The application menu bar for save elements (NetworkElements, additionals and demand 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 * myToolBarShellSaveElements
menu bar drag for save elements (NetworkElements, additionals and demand elements)
FXMenuBar * superModes
The application menu bar for supermodes (network and demand)
ToolbarsGrip & operator=(const ToolbarsGrip &)=delete
Invalidated assignment operator.
FXMenuBar * intervalBar
The application menu bar for mode options (show connections, select edges...)
FXToolBarShell * myToolBarShellNavigation
menu bar drag for navigation (Zoom, coloring...)
FXMenuBar * menu
The application menu bar (for file, edit, processing...)
FXToolBarShell * myToolBarShellModes
menu bar drag for modes (select, inspect, delete...)
FXToolBarShell * myToolBarShellMenu
menu bar drag (for file, edit, processing...)
ToolsMenuCommands & operator=(const ToolsMenuCommands &)=delete
Invalidated assignment operator.
ToolsMenuCommands(GNEApplicationWindow *GNEApp)
constructor
ToolsMenuCommands(const ToolsMenuCommands &)=delete
Invalidated copy constructor.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
void buildToolsMenuCommands(FXMenuPane *locateMenu)
build menu commands
WindowsMenuCommands(GNEApplicationWindow *GNEApp)
constructor
WindowsMenuCommands(const WindowsMenuCommands &)=delete
Invalidated copy constructor.
WindowsMenuCommands & operator=(const WindowsMenuCommands &)=delete
Invalidated assignment operator.
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
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 bool toggleEditOptionsDemand(GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel)
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
GNEApplicationWindowHelper & operator=(const GNEApplicationWindowHelper &)=delete
Invalidated assignment operator.
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)