Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindow.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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
15 // The main window of Netedit (adapted from GUIApplicationWindow)
16 /****************************************************************************/
17 #ifndef GNEApplicationWindow_h
18 #define GNEApplicationWindow_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <utils/common/SUMOTime.h>
30 #include <utils/geom/Position.h>
34 
35 
36 // ===========================================================================
37 // class declarations
38 // ===========================================================================
39 class GNELoadThread;
40 class GNEUndoList;
41 class GNENet;
42 class GNEViewNet;
43 class GUIEvent;
44 
45 
46 // ===========================================================================
47 // class definition
48 // ===========================================================================
61  FXDECLARE(GNEApplicationWindow)
62 
63 public:
65  struct ToolbarsGrip {
66 
69 
71  void buildMenuToolbarsGrip();
72 
75 
78 
80  FXMenuBar* menu;
81 
83  FXMenuBar* superModes;
84 
86  FXMenuBar* navigation;
87 
89  FXMenuBar* modes;
90 
92  FXMenuBar* modeOptions;
93 
94  private:
97 
99  FXToolBarShell* myToolBarShellMenu;
100 
102  FXToolBarShell* myToolBarShellSuperModes;
103 
105  FXToolBarShell* myToolBarShellNavigation;
106 
108  FXToolBarShell* myToolBarShellModes;
109 
111  FXToolBarShell* myToolBarShellModeOptions;
112  };
113 
118  GNEApplicationWindow(FXApp* a, const std::string& configPattern);
119 
122 
124  void create();
125 
127  void loadOptionOnStartup();
128 
130  void dependentBuild();
131 
133  void setStatusBarText(const std::string& statusBarText);
134 
137 
140 
143 
146 
149 
152 
156  void eventOccurred();
157 
160 
162  void handleEvent_Message(GUIEvent* e);
164 
168  long onCmdNewNetwork(FXObject*, FXSelector, void*);
169 
171  long onCmdOpenConfiguration(FXObject*, FXSelector, void*);
172 
174  long onCmdOpenNetwork(FXObject*, FXSelector, void*);
175 
177  long onCmdOpenForeign(FXObject*, FXSelector, void*);
178 
180  long onCmdOpenAdditionals(FXObject*, FXSelector, void*);
181 
183  long onCmdOpenTLSPrograms(FXObject*, FXSelector, void*);
184 
186  long onCmdOpenDemandElements(FXObject*, FXSelector, void*);
187 
189  long onCmdReload(FXObject*, FXSelector, void*);
190 
192  long onCmdOpenRecent(FXObject*, FXSelector, void*);
193 
195  long onCmdClose(FXObject*, FXSelector, void*);
196 
198  long onCmdEditViewScheme(FXObject*, FXSelector, void*);
199 
201  long onCmdEditViewport(FXObject*, FXSelector, void*);
202 
204  long onCmdLocate(FXObject*, FXSelector, void*);
205 
207  long onCmdSaveNetwork(FXObject*, FXSelector, void*);
208 
210  long onCmdSaveAdditionals(FXObject*, FXSelector, void*);
211 
213  long onCmdSaveAdditionalsAs(FXObject*, FXSelector, void*);
214 
216  long onCmdSaveTLSPrograms(FXObject*, FXSelector, void*);
217 
219  long onCmdSaveTLSProgramsAs(FXObject*, FXSelector, void*);
220 
222  long onCmdSaveDemandElements(FXObject*, FXSelector, void*);
223 
225  long onCmdSaveDemandElementsAs(FXObject*, FXSelector, void*);
226 
228  long onUpdSaveNetwork(FXObject*, FXSelector, void*);
229 
231  long onCmdSaveAsNetwork(FXObject*, FXSelector, void*);
232 
234  long onUpdNeedsNetwork(FXObject*, FXSelector, void*);
235 
237  long onUpdReload(FXObject*, FXSelector, void*);
238 
240  long onUpdSaveAdditionals(FXObject*, FXSelector, void*);
241 
243  long onUpdSaveDemandElements(FXObject*, FXSelector, void*);
244 
246  long onUpdUndo(FXObject* obj, FXSelector sel, void* ptr);
247 
249  long onUpdRedo(FXObject* obj, FXSelector sel, void* ptr);
250 
252  long onCmdSaveAsPlainXML(FXObject*, FXSelector, void*);
253 
255  long onCmdSaveJoined(FXObject*, FXSelector, void*);
256 
258  long onKeyPress(FXObject* o, FXSelector sel, void* data);
259 
261  long onKeyRelease(FXObject* o, FXSelector sel, void* data);
262 
266  long onCmdQuit(FXObject*, FXSelector, void*);
267 
269  long onCmdEditChosen(FXObject*, FXSelector, void*);
270 
272  long onCmdAbout(FXObject*, FXSelector, void*);
273 
275  long onUpdOpen(FXObject*, FXSelector, void*);
276 
278  long onCmdClearMsgWindow(FXObject*, FXSelector, void*);
279 
281  long onLoadThreadEvent(FXObject*, FXSelector, void*);
282 
284  long onClipboardRequest(FXObject* sender, FXSelector sel, void* ptr);
285 
287  long onCmdSetSuperMode(FXObject* sender, FXSelector sel, void* ptr);
288 
290  long onCmdSetMode(FXObject* sender, FXSelector sel, void* ptr);
291 
293  long onCmdProcessButton(FXObject*, FXSelector sel, void*);
294 
296  long onCmdOpenSUMOGUI(FXObject* sender, FXSelector sel, void* ptr);
297 
299  long onCmdAbort(FXObject* sender, FXSelector sel, void* ptr);
300 
302  long onCmdDel(FXObject* sender, FXSelector sel, void* ptr);
303 
305  long onCmdEnter(FXObject* sender, FXSelector sel, void* ptr);
306 
308  long onCmdBackspace(FXObject* sender, FXSelector sel, void* ptr);
309 
311  long onCmdFocusFrame(FXObject* sender, FXSelector sel, void* ptr);
312 
314  long onCmdToogleGrid(FXObject*, FXSelector, void*);
315 
317  long onCmdToogleEditOptions(FXObject*, FXSelector, void*);
318 
320  long onCmdHelp(FXObject* sender, FXSelector sel, void* ptr);
321 
323  long onCmdOptions(FXObject*, FXSelector, void*);
324 
326  long onCmdUndo(FXObject*, FXSelector, void*);
327 
328  // @brief called when user press Ctrl+Y
329  long onCmdRedo(FXObject*, FXSelector, void*);
331 
335  FXGLCanvas* getBuildGLCanvas() const;
336 
338  SUMOTime getCurrentSimTime() const;
339 
341  double getTrackerInterval() const;
343 
345  FXCursor* getDefaultCursor();
346 
349 
352 
354  void updateControls();
355 
357  void updateSuperModeMenuCommands(int supermode);
358 
360  void disableUndoRedo(const std::string& reason);
361 
363  void enableUndoRedo();
364 
366  const std::string& isUndoRedoEnabled() const;
367 
368 protected:
371 
374 
377 
379  FXMenuPane* myFileMenu,
381  *myFileMenuTLS,
383  *myEditMenu,
385  *myLocatorMenu,
386  *myWindowsMenu,
387  *myHelpMenu;
388 
391 
393  FXSplitter* myMainSplitter;
394 
397 
400 
403 
406 
409 
411  std::string myConfigPattern;
412 
415 
416 private:
418  struct MenuBarFile {
419 
422 
424  void buildRecentFiles(FXMenuPane* fileMenu);
425 
427  FXRecentFiles myRecentConfigs;
428 
430  FXRecentFiles myRecentNets;
431 
432  private:
435  };
436 
439 
442 
444  void buildFileMenuCommands(FXMenuPane* editMenu);
445 
447  FXMenuCommand* saveAdditionals;
448 
450  FXMenuCommand* saveAdditionalsAs;
451 
453  FXMenuCommand* saveTLSPrograms;
454 
456  FXMenuCommand* saveDemandElements;
457 
459  FXMenuCommand* saveDemandElementsAs;
460 
461  private:
464  };
465 
468 
471 
473  NetworkMenuCommands(const EditMenuCommands* editMenuCommandsParent);
474 
476  void buildNetworkMenuCommands(FXMenuPane* editMenu);
477 
480 
483 
485  FXMenuCommand* createEdgeMode;
486 
488  FXMenuCommand* moveMode;
489 
491  FXMenuCommand* deleteMode;
492 
494  FXMenuCommand* inspectMode;
495 
497  FXMenuCommand* selectMode;
498 
500  FXMenuCommand* connectMode;
501 
503  FXMenuCommand* prohibitionMode;
504 
506  FXMenuCommand* TLSMode;
507 
509  FXMenuCommand* additionalMode;
510 
512  FXMenuCommand* crossingMode;
513 
515  FXMenuCommand* TAZMode;
516 
518  FXMenuCommand* shapeMode;
519 
520  private:
523 
525  FXMenuSeparator* myHorizontalSeparator;
526  };
527 
530 
532  DemandMenuCommands(const EditMenuCommands* editMenuCommandsParent);
533 
535  void buildDemandMenuCommands(FXMenuPane* editMenu);
536 
538  void showDemandMenuCommands();
539 
541  void hideDemandMenuCommands();
542 
544  FXMenuCommand* routeMode;
545 
547  FXMenuCommand* vehicleMode;
548 
550  FXMenuCommand* vehicleTypeMode;
551 
553  FXMenuCommand* stopMode;
554 
556  FXMenuCommand* personTypeMode;
557 
559  FXMenuCommand* personMode;
560 
562  FXMenuCommand* personPlanMode;
563 
564  private:
567 
569  FXMenuSeparator* myHorizontalSeparator;
570  };
571 
574 
576  void buildEditMenuCommands(FXMenuPane* editMenu);
577 
579  FXMenuCommand* undoLastChange;
580 
582  FXMenuCommand* redoLastChange;
583 
586 
589 
591  FXMenuCommand* editViewScheme;
592 
594  FXMenuCommand* editViewPort;
595 
597  FXMenuCommand* toogleGrid;
598 
600  FXMenuCommand* openInSUMOGUI;
601 
602  private:
605  };
606 
609 
612 
614  void buildProcessingMenuCommands(FXMenuPane* editMenu);
615 
618 
621 
624 
627 
631  FXMenuCommand* computeNetwork;
632 
634  FXMenuCommand* computeNetworkVolatile;
635 
637  FXMenuCommand* cleanJunctions;
638 
640  FXMenuCommand* joinJunctions;
641 
643  FXMenuCommand* clearInvalidCrossings;
645 
649  FXMenuCommand* computeDemand;
650 
652  FXMenuCommand* cleanRoutes;
653 
655  FXMenuCommand* joinRoutes;
656 
660 
662  FXMenuCommand* optionMenus;
663 
664  private:
667  };
668 
671 
674 
676  void buildLocateMenuCommands(FXMenuPane* editMenu);
677 
678  private:
681  };
682 
685 
688 
690  void buildSupermodeCommands(FXMenuPane* editMenu);
691 
693  void showSupermodeCommands();
694 
696  void hideSupermodeCommands();
697 
699  FXMenuCommand* networkMode;
700 
702  FXMenuCommand* demandMode;
703 
704  private:
707 
709  FXMenuSeparator* myHorizontalSeparator;
710  };
711 
714 
717 
720 
723 
726 
729 
732 
735 
737  const FXString myTitlePrefix;
738 
740  FXMDIMenu* myMDIMenu;
741 
743  void fillMenuBar();
744 
746  void loadConfigOrNet(const std::string file, bool isNet, bool isReload = false, bool useStartupOptions = false, bool newNet = false);
747 
749  void closeAllWindows();
750 
753 
756 
759 };
760 
761 
762 #endif
763 
764 /****************************************************************************/
765 
GNEApplicationWindow::onCmdQuit
long onCmdQuit(FXObject *, FXSelector, void *)
Called by FOX if the application shall be closed.
Definition: GNEApplicationWindow.cpp:444
GNEApplicationWindow::ProcessingMenuCommands::joinJunctions
FXMenuCommand * joinJunctions
FXMenuCommand for join selected junctions.
Definition: GNEApplicationWindow.h:640
GNEApplicationWindow::MenuBarFile::MenuBarFile
MenuBarFile(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:951
GNEApplicationWindow::myToolbarsGrip
ToolbarsGrip myToolbarsGrip
Toolbars Grip.
Definition: GNEApplicationWindow.h:713
GNEApplicationWindow::ToolbarsGrip::superModes
FXMenuBar * superModes
The application menu bar for supermodes (network and demand)
Definition: GNEApplicationWindow.h:83
GNEApplicationWindow::ProcessingMenuCommands::joinRoutes
FXMenuCommand * joinRoutes
FXMenuCommand for join routes.
Definition: GNEApplicationWindow.h:655
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::vehicleTypeMode
FXMenuCommand * vehicleTypeMode
menu command for vehicle type mode
Definition: GNEApplicationWindow.h:550
GNEApplicationWindow::onCmdHelp
long onCmdHelp(FXObject *sender, FXSelector sel, void *ptr)
called if the user selects help->Documentation
Definition: GNEApplicationWindow.cpp:2311
GNEApplicationWindow::LocateMenuCommands::buildLocateMenuCommands
void buildLocateMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1424
GNEApplicationWindow::EditMenuCommands::buildEditMenuCommands
void buildEditMenuCommands(FXMenuPane *editMenu)
build edit menu commands
Definition: GNEApplicationWindow.cpp:1269
GNEApplicationWindow::onClipboardRequest
long onClipboardRequest(FXObject *sender, FXSelector sel, void *ptr)
called when the command/FXCall clipboard request is executed
Definition: GNEApplicationWindow.cpp:788
GNEApplicationWindow::EditMenuCommands::redoLastChange
FXMenuCommand * redoLastChange
FXMenuCommand for redo last change.
Definition: GNEApplicationWindow.h:582
GNEApplicationWindow::myUndoRedoListEnabled
std::string myUndoRedoListEnabled
string to check if undo/redo list is enabled (a String is used to keep the disabling reason)
Definition: GNEApplicationWindow.h:414
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::TAZMode
FXMenuCommand * TAZMode
menu command for TAZ mode
Definition: GNEApplicationWindow.h:515
GNEApplicationWindow::myProcessingMenu
FXMenuPane * myProcessingMenu
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::ProcessingMenuCommands::showDemandProcessingMenuCommands
void showDemandProcessingMenuCommands()
show demand processing menu commands
Definition: GNEApplicationWindow.cpp:1386
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::myEditMenuCommandsParent
const EditMenuCommands * myEditMenuCommandsParent
reference to EditMenuCommands
Definition: GNEApplicationWindow.h:522
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::deleteMode
FXMenuCommand * deleteMode
menu command for delete mode
Definition: GNEApplicationWindow.h:491
GNEApplicationWindow::loadOptionOnStartup
void loadOptionOnStartup()
load net on startup
Definition: GNEApplicationWindow.cpp:1649
GNEApplicationWindow::ToolbarsGrip::myToolBarShellMenu
FXToolBarShell * myToolBarShellMenu
menu bar drag (for file, edit, processing...)
Definition: GNEApplicationWindow.h:99
MFXInterThreadEventClient
Definition: MFXInterThreadEventClient.h:28
GNEApplicationWindow::SupermodeCommands
struct for supermode commands
Definition: GNEApplicationWindow.h:684
SUMOTime.h
GNEApplicationWindow::continueWithUnsavedAdditionalChanges
bool continueWithUnsavedAdditionalChanges()
warns about unsaved changes in additionals and gives the user the option to abort
Definition: GNEApplicationWindow.cpp:2823
GNEApplicationWindow::loadConfigOrNet
void loadConfigOrNet(const std::string file, bool isNet, bool isReload=false, bool useStartupOptions=false, bool newNet=false)
starts to load a netimport configuration or a network *‍/
Definition: GNEApplicationWindow.cpp:1552
GNEApplicationWindow::ToolbarsGrip::myToolBarShellModeOptions
FXToolBarShell * myToolBarShellModeOptions
menu bar drag for mode options(show connections, select edges...)
Definition: GNEApplicationWindow.h:111
GNEApplicationWindow::onCmdOptions
long onCmdOptions(FXObject *, FXSelector, void *)
called if the user selects Processing->Configure Options
Definition: GNEApplicationWindow.cpp:2318
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::NetworkMenuCommands
NetworkMenuCommands(const EditMenuCommands *editMenuCommandsParent)
constructor
Definition: GNEApplicationWindow.cpp:1087
GNEApplicationWindow::onCmdClose
long onCmdClose(FXObject *, FXSelector, void *)
called when the command/FXCall close is executed
Definition: GNEApplicationWindow.cpp:734
GUIMessageWindow
A logging window for the gui.
Definition: GUIMessageWindow.h:54
GNEApplicationWindow::onCmdEditViewScheme
long onCmdEditViewScheme(FXObject *, FXSelector, void *)
Called on menu Edit->Visualization.
Definition: GNEApplicationWindow.cpp:2055
GNEApplicationWindow::onCmdUndo
long onCmdUndo(FXObject *, FXSelector, void *)
called when user press Ctrl+Z
Definition: GNEApplicationWindow.cpp:2333
GNEApplicationWindow::ToolbarsGrip::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
Definition: GNEApplicationWindow.h:96
GNEApplicationWindow::ProcessingMenuCommands::computeNetworkVolatile
FXMenuCommand * computeNetworkVolatile
FXMenuCommand for compute network with volatile options.
Definition: GNEApplicationWindow.h:634
GNEApplicationWindow::myViewNet
GNEViewNet * myViewNet
pointer to current view net
Definition: GNEApplicationWindow.h:734
GNEApplicationWindow::myMainSplitter
FXSplitter * myMainSplitter
The splitter that divides the main window into view and the log window.
Definition: GNEApplicationWindow.h:393
GNEApplicationWindow::eventOccurred
void eventOccurred()
Definition: GNEApplicationWindow.cpp:804
GNEApplicationWindow::ToolbarsGrip::myToolBarShellSuperModes
FXToolBarShell * myToolBarShellSuperModes
menu bar drag for modes (network and demand)
Definition: GNEApplicationWindow.h:102
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands
struct for Demand menu commands
Definition: GNEApplicationWindow.h:529
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::myHorizontalSeparator
FXMenuSeparator * myHorizontalSeparator
separator between sets of FXMenuCommand
Definition: GNEApplicationWindow.h:525
GNENet
A NBNetBuilder extended by visualisation and editing capabilities.
Definition: GNENet.h:78
GNEApplicationWindow::onUpdUndo
long onUpdUndo(FXObject *obj, FXSelector sel, void *ptr)
called when the update/FXCall undo is executed
Definition: GNEApplicationWindow.cpp:2496
GNEApplicationWindow::onUpdSaveAdditionals
long onUpdSaveAdditionals(FXObject *, FXSelector, void *)
called when the update/FXCall save additionals is executed
Definition: GNEApplicationWindow.cpp:2482
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::inspectMode
FXMenuCommand * inspectMode
menu command for inspect mode
Definition: GNEApplicationWindow.h:494
GNEApplicationWindow::myTitlePrefix
const FXString myTitlePrefix
the prefix for the window title
Definition: GNEApplicationWindow.h:737
GNEApplicationWindow::onCmdSaveDemandElementsAs
long onCmdSaveDemandElementsAs(FXObject *, FXSelector, void *)
called when the command/FXCall save demand elements as is executed
Definition: GNEApplicationWindow.cpp:2725
GNEApplicationWindow::LocateMenuCommands::LocateMenuCommands
LocateMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1418
GNEApplicationWindow::ToolbarsGrip::buildViewParentToolbarsGrips
void buildViewParentToolbarsGrips()
build toolbars grips
Definition: GNEApplicationWindow.cpp:254
GNEApplicationWindow::onCmdSaveDemandElements
long onCmdSaveDemandElements(FXObject *, FXSelector, void *)
called when the command/FXCall save demand elements is executed
Definition: GNEApplicationWindow.cpp:2678
GNEApplicationWindow::myLoadThreadEvent
FXEX::FXThreadEvent myLoadThreadEvent
io-event with the load-thread
Definition: GNEApplicationWindow.h:399
GNEApplicationWindow::onCmdToogleGrid
long onCmdToogleGrid(FXObject *, FXSelector, void *)
called if the user press key combination Ctrl + G to toogle grid
Definition: GNEApplicationWindow.cpp:2065
GNEApplicationWindow::onCmdFocusFrame
long onCmdFocusFrame(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits f
Definition: GNEApplicationWindow.cpp:2035
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::personTypeMode
FXMenuCommand * personTypeMode
menu command for person type mode
Definition: GNEApplicationWindow.h:556
GNEApplicationWindow::ToolbarsGrip::modes
FXMenuBar * modes
The application menu bar (for select, inspect...)
Definition: GNEApplicationWindow.h:89
SUMOTime
long long int SUMOTime
Definition: SUMOTime.h:35
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::selectMode
FXMenuCommand * selectMode
menu command for select mode
Definition: GNEApplicationWindow.h:497
GNEApplicationWindow::onUpdReload
long onUpdReload(FXObject *, FXSelector, void *)
called when the update/FXCall reload is executed
Definition: GNEApplicationWindow.cpp:2476
GNEApplicationWindow::ProcessingMenuCommands::ProcessingMenuCommands
ProcessingMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1307
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::buildDemandMenuCommands
void buildDemandMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1230
GNEApplicationWindow::isUndoRedoEnabled
const std::string & isUndoRedoEnabled() const
check if undo-redo is enabled
Definition: GNEApplicationWindow.cpp:2953
GNEApplicationWindow::ToolbarsGrip::modeOptions
FXMenuBar * modeOptions
The application menu bar for mode options (show connections, select edges...)
Definition: GNEApplicationWindow.h:92
GNEApplicationWindow::FileMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:463
GNEApplicationWindow::EditMenuCommands::demandMenuCommands
DemandMenuCommands demandMenuCommands
Demand Menu Commands.
Definition: GNEApplicationWindow.h:588
GNEViewNet
Definition: GNEViewNet.h:43
GNEApplicationWindow
The main window of the Netedit.
Definition: GNEApplicationWindow.h:59
GNEApplicationWindow::ProcessingMenuCommands::cleanJunctions
FXMenuCommand * cleanJunctions
FXMenuCommand for clean junctions without edges.
Definition: GNEApplicationWindow.h:637
GNEApplicationWindow::disableUndoRedo
void disableUndoRedo(const std::string &reason)
disable undo-redo giving a string with the reason
Definition: GNEApplicationWindow.cpp:2941
GNEApplicationWindow::myEditMenuCommands
EditMenuCommands myEditMenuCommands
Edit Menu Commands.
Definition: GNEApplicationWindow.h:722
GNEApplicationWindow::computeJunctionWithVolatileOptions
long computeJunctionWithVolatileOptions()
called if the user selects Processing->compute junctions with volatile options
Definition: GNEApplicationWindow.cpp:1665
GNEApplicationWindow::FileMenuCommands::saveDemandElements
FXMenuCommand * saveDemandElements
FXMenuCommand for enable or disable save demand elements.
Definition: GNEApplicationWindow.h:456
GNEApplicationWindow::SupermodeCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:706
GNEApplicationWindow::disableSaveDemandElementsMenu
void disableSaveDemandElementsMenu()
disable save demand elements
Definition: GNEApplicationWindow.cpp:1846
GNEApplicationWindow::onCmdOpenTLSPrograms
long onCmdOpenTLSPrograms(FXObject *, FXSelector, void *)
called when the command/FXCall open additionals is executed
Definition: GNEApplicationWindow.cpp:628
GNEApplicationWindow::myFileMenu
FXMenuPane * myFileMenu
the submenus
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::ToolbarsGrip::ToolbarsGrip
ToolbarsGrip(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:238
GNEApplicationWindow::EditMenuCommands
struct for edit menu commands
Definition: GNEApplicationWindow.h:467
GNEApplicationWindow::getDefaultCursor
FXCursor * getDefaultCursor()
get default cursor
Definition: GNEApplicationWindow.cpp:1643
GNEApplicationWindow::myProcessingMenuCommands
ProcessingMenuCommands myProcessingMenuCommands
Edit Menu Commands.
Definition: GNEApplicationWindow.h:725
FXSynchQue.h
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::personMode
FXMenuCommand * personMode
menu command for person mode
Definition: GNEApplicationWindow.h:559
GNEApplicationWindow::FileMenuCommands::FileMenuCommands
FileMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:997
GUIMainWindow.h
GNEApplicationWindow::SupermodeCommands::networkMode
FXMenuCommand * networkMode
FXMenuCommand for network supermode.
Definition: GNEApplicationWindow.h:699
GNEApplicationWindow::onCmdOpenNetwork
long onCmdOpenNetwork(FXObject *, FXSelector, void *)
called when the command/FXCall open network is executed
Definition: GNEApplicationWindow.cpp:511
GNEApplicationWindow::continueWithUnsavedDemandElementChanges
bool continueWithUnsavedDemandElementChanges()
warns about unsaved changes in demand elements and gives the user the option to abort
Definition: GNEApplicationWindow.cpp:2866
GNEApplicationWindow::onUpdSaveDemandElements
long onUpdSaveDemandElements(FXObject *, FXSelector, void *)
called when the update/FXCall save demand elements is executed
Definition: GNEApplicationWindow.cpp:2489
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands
struct for network menu commands
Definition: GNEApplicationWindow.h:470
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::shapeMode
FXMenuCommand * shapeMode
menu command for shape mode
Definition: GNEApplicationWindow.h:518
GNEApplicationWindow::myAmLoading
bool myAmLoading
information whether the gui is currently loading and the load-options shall be greyed out
Definition: GNEApplicationWindow.h:376
GNEApplicationWindow::continueWithUnsavedChanges
bool continueWithUnsavedChanges()
warns about unsaved changes and gives the user the option to abort
Definition: GNEApplicationWindow.cpp:2763
GNEApplicationWindow::myNet
GNENet * myNet
we are responsible for the net
Definition: GNEApplicationWindow.h:405
GNEApplicationWindow::myLocateMenuCommands
LocateMenuCommands myLocateMenuCommands
Locate Menu Commands.
Definition: GNEApplicationWindow.h:728
GNEApplicationWindow::SupermodeCommands::SupermodeCommands
SupermodeCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1459
GNEApplicationWindow::LocateMenuCommands
struct for locate menu commands
Definition: GNEApplicationWindow.h:670
GNEApplicationWindow::enableSaveDemandElementsMenu
void enableSaveDemandElementsMenu()
enable save demand elements
Definition: GNEApplicationWindow.cpp:1839
GNEApplicationWindow::MenuBarFile::myRecentConfigs
FXRecentFiles myRecentConfigs
List of recent config files.
Definition: GNEApplicationWindow.h:427
GNEApplicationWindow::onCmdDel
long onCmdDel(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits del
Definition: GNEApplicationWindow.cpp:1999
GNEApplicationWindow::myMessageWindow
GUIMessageWindow * myMessageWindow
A window to display messages, warnings and error in.
Definition: GNEApplicationWindow.h:390
GNEApplicationWindow::onCmdToogleEditOptions
long onCmdToogleEditOptions(FXObject *, FXSelector, void *)
called if the user press key combination Alt + <0-9>
Definition: GNEApplicationWindow.cpp:2086
GNEApplicationWindow::ToolbarsGrip::myToolBarShellModes
FXToolBarShell * myToolBarShellModes
menu bar drag for modes (select, inspect, delete...)
Definition: GNEApplicationWindow.h:108
GNEApplicationWindow::SupermodeCommands::demandMode
FXMenuCommand * demandMode
FXMenuCommand for demand supermode.
Definition: GNEApplicationWindow.h:702
GNEApplicationWindow::mySupermodeCommands
SupermodeCommands mySupermodeCommands
Supermode Commands.
Definition: GNEApplicationWindow.h:731
GNEApplicationWindow::ProcessingMenuCommands::showNetworkProcessingMenuCommands
void showNetworkProcessingMenuCommands()
show network processing menu commands
Definition: GNEApplicationWindow.cpp:1352
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::hideDemandMenuCommands
void hideDemandMenuCommands()
hide all menu commands
Definition: GNEApplicationWindow.cpp:1216
GNEApplicationWindow::MenuBarFile
struct for menu bar file
Definition: GNEApplicationWindow.h:418
GNEApplicationWindow::ToolbarsGrip::navigation
FXMenuBar * navigation
The application menu bar for navigation (zoom, coloring...)
Definition: GNEApplicationWindow.h:86
GNEApplicationWindow::myFileMenuDemandElements
FXMenuPane * myFileMenuDemandElements
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::hadDependentBuild
bool hadDependentBuild
check if had dependent build
Definition: GNEApplicationWindow.h:402
GNEApplicationWindow::myLocatorMenu
FXMenuPane * myLocatorMenu
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::onCmdClearMsgWindow
long onCmdClearMsgWindow(FXObject *, FXSelector, void *)
called when the command/FXCall clear message windows is executed
Definition: GNEApplicationWindow.cpp:768
GNEApplicationWindow::onUpdRedo
long onUpdRedo(FXObject *obj, FXSelector sel, void *ptr)
called when the update/FXCall redo is executed
Definition: GNEApplicationWindow.cpp:2502
GNEApplicationWindow::create
void create()
Creates the main window (required by FOX)
Definition: GNEApplicationWindow.cpp:383
GNEApplicationWindow::ToolbarsGrip
FOX-declaration.
Definition: GNEApplicationWindow.h:65
GNEApplicationWindow::EditMenuCommands::toogleGrid
FXMenuCommand * toogleGrid
FXMenuCommand for toogle grid.
Definition: GNEApplicationWindow.h:597
GNEApplicationWindow::FileMenuCommands::buildFileMenuCommands
void buildFileMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1003
GNEApplicationWindow::handleEvent_Message
void handleEvent_Message(GUIEvent *e)
hanlde event of type message
Definition: GNEApplicationWindow.cpp:942
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::moveMode
FXMenuCommand * moveMode
menu command for move mode
Definition: GNEApplicationWindow.h:488
GNEApplicationWindow::enableSaveTLSProgramsMenu
void enableSaveTLSProgramsMenu()
enable save TLS Programs
Definition: GNEApplicationWindow.cpp:1833
GNEApplicationWindow::FileMenuCommands::saveAdditionals
FXMenuCommand * saveAdditionals
FXMenuCommand for enable or disable save additionals.
Definition: GNEApplicationWindow.h:447
GNEApplicationWindow::onCmdAbort
long onCmdAbort(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits esc
Definition: GNEApplicationWindow.cpp:1977
GNEApplicationWindow::FileMenuCommands::saveDemandElementsAs
FXMenuCommand * saveDemandElementsAs
FXMenuCommand for enable or disable save demand elements as.
Definition: GNEApplicationWindow.h:459
MFXInterThreadEventClient.h
GNEApplicationWindow::~GNEApplicationWindow
~GNEApplicationWindow()
Destructor.
Definition: GNEApplicationWindow.cpp:410
GNEApplicationWindow::getCurrentSimTime
SUMOTime getCurrentSimTime() const
get current simulation time (pure virtual but we don't need it)
Definition: GNEApplicationWindow.cpp:1582
GNEApplicationWindow::onUpdOpen
long onUpdOpen(FXObject *, FXSelector, void *)
called when the command/FXCall on update open executed
Definition: GNEApplicationWindow.cpp:761
GNEApplicationWindow::myLoadThread
GNELoadThread * myLoadThread
the thread that loads the network
Definition: GNEApplicationWindow.h:373
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::crossingMode
FXMenuCommand * crossingMode
menu command for crossing mode
Definition: GNEApplicationWindow.h:512
GNEApplicationWindow::EditMenuCommands::editViewScheme
FXMenuCommand * editViewScheme
FXMenuCommand for edit view scheme.
Definition: GNEApplicationWindow.h:591
GNEApplicationWindow::myFileMenuTLS
FXMenuPane * myFileMenuTLS
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::ToolbarsGrip::destroyParentToolbarsGrips
void destroyParentToolbarsGrips()
build toolbars grips
Definition: GNEApplicationWindow.cpp:291
GNEApplicationWindow::onCmdEnter
long onCmdEnter(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits enter
Definition: GNEApplicationWindow.cpp:2011
GNEApplicationWindow::SupermodeCommands::hideSupermodeCommands
void hideSupermodeCommands()
hide all menu commands
Definition: GNEApplicationWindow.cpp:1476
GNEApplicationWindow::enableSaveAdditionalsMenu
void enableSaveAdditionalsMenu()
enable save additionals
Definition: GNEApplicationWindow.cpp:1819
GNEApplicationWindow::onKeyRelease
long onKeyRelease(FXObject *o, FXSelector sel, void *data)
called when a key is released
Definition: GNEApplicationWindow.cpp:2986
GNELoadThread
Definition: GNELoadThread.h:46
GNEApplicationWindow::onCmdNewNetwork
long onCmdNewNetwork(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:470
GNEApplicationWindow::SupermodeCommands::myHorizontalSeparator
FXMenuSeparator * myHorizontalSeparator
separator between sets of FXMenuCommand
Definition: GNEApplicationWindow.h:709
GNEApplicationWindow::onCmdAbout
long onCmdAbout(FXObject *, FXSelector, void *)
called when the command/FXCall show about dialog is executed
Definition: GNEApplicationWindow.cpp:775
GNEApplicationWindow::dependentBuild
void dependentBuild()
build dependent
Definition: GNEApplicationWindow.cpp:337
GNEApplicationWindow::onCmdSaveNetwork
long onCmdSaveNetwork(FXObject *, FXSelector, void *)
called when the command/FXCall save network is executed
Definition: GNEApplicationWindow.cpp:2508
GNEApplicationWindow::FileMenuCommands::saveAdditionalsAs
FXMenuCommand * saveAdditionalsAs
FXMenuCommand for enable or disable save additionals As.
Definition: GNEApplicationWindow.h:450
GNEApplicationWindow::ProcessingMenuCommands::computeNetwork
FXMenuCommand * computeNetwork
Definition: GNEApplicationWindow.h:631
GNEApplicationWindow::onCmdOpenDemandElements
long onCmdOpenDemandElements(FXObject *, FXSelector, void *)
called when the command/FXCall open demand is executed
Definition: GNEApplicationWindow.cpp:664
GNEApplicationWindow::closeAllWindows
void closeAllWindows()
this method closes all windows and deletes the current simulation *‍/
Definition: GNEApplicationWindow.cpp:1606
GNEApplicationWindow::LocateMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:680
GNEApplicationWindow::ToolbarsGrip::menu
FXMenuBar * menu
The application menu bar (for file, edit, processing...)
Definition: GNEApplicationWindow.h:80
GNEApplicationWindow::onLoadThreadEvent
long onLoadThreadEvent(FXObject *, FXSelector, void *)
called when the command/FXCall load thread is executed
Definition: GNEApplicationWindow.cpp:797
GNEApplicationWindow::onUpdNeedsNetwork
long onUpdNeedsNetwork(FXObject *, FXSelector, void *)
called when the update/FXCall needs network is executed
Definition: GNEApplicationWindow.cpp:2469
GNEApplicationWindow::onCmdSetSuperMode
long onCmdSetSuperMode(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits an edit-supermode hotkey
Definition: GNEApplicationWindow.cpp:1853
GNEApplicationWindow::onCmdOpenRecent
long onCmdOpenRecent(FXObject *, FXSelector, void *)
called when the command/FXCall open recent is executed
Definition: GNEApplicationWindow.cpp:705
FXSynchQue< GUIEvent * >
GNEApplicationWindow::onCmdSaveAsNetwork
long onCmdSaveAsNetwork(FXObject *, FXSelector, void *)
called when the command/FXCall save network as is executed
Definition: GNEApplicationWindow.cpp:2361
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::prohibitionMode
FXMenuCommand * prohibitionMode
menu command for prohibition mode
Definition: GNEApplicationWindow.h:503
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::additionalMode
FXMenuCommand * additionalMode
menu command for additional mode
Definition: GNEApplicationWindow.h:509
GUIMessageWindow.h
GNEApplicationWindow::ProcessingMenuCommands::clearInvalidDemandElements
FXMenuCommand * clearInvalidDemandElements
FXMenuCommand for clear invalid demand elements.
Definition: GNEApplicationWindow.h:658
GNEApplicationWindow::onKeyPress
long onKeyPress(FXObject *o, FXSelector sel, void *data)
called when a key is pressed
Definition: GNEApplicationWindow.cpp:2973
Position.h
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::stopMode
FXMenuCommand * stopMode
menu command for stop mode
Definition: GNEApplicationWindow.h:553
GNEApplicationWindow::onCmdSaveTLSPrograms
long onCmdSaveTLSPrograms(FXObject *, FXSelector, void *)
called when the command/FXCall save TLSPrograms is executed
Definition: GNEApplicationWindow.cpp:2610
GNEApplicationWindow::disableSaveAdditionalsMenu
void disableSaveAdditionalsMenu()
disable save additionals
Definition: GNEApplicationWindow.cpp:1826
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::personPlanMode
FXMenuCommand * personPlanMode
menu command for person plan mode
Definition: GNEApplicationWindow.h:562
GNEApplicationWindow::ProcessingMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:666
GUIMainWindow
Definition: GUIMainWindow.h:47
GNEApplicationWindow::myMenuBarFile
MenuBarFile myMenuBarFile
MenuBarFile.
Definition: GNEApplicationWindow.h:716
GNEApplicationWindow::handleEvent_NetworkLoaded
void handleEvent_NetworkLoaded(GUIEvent *e)
handle event of type Network loaded
Definition: GNEApplicationWindow.cpp:830
GNEApplicationWindow::EditMenuCommands::openInSUMOGUI
FXMenuCommand * openInSUMOGUI
FXMenuCommand for open in SUMO GUI.
Definition: GNEApplicationWindow.h:600
GNEApplicationWindow::onCmdOpenSUMOGUI
long onCmdOpenSUMOGUI(FXObject *sender, FXSelector sel, void *ptr)
called if the user hints ctrl + T
Definition: GNEApplicationWindow.cpp:1943
GNEApplicationWindow::onCmdSetMode
long onCmdSetMode(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits an edit-mode hotkey
Definition: GNEApplicationWindow.cpp:1863
GNEApplicationWindow::ProcessingMenuCommands::optionMenus
FXMenuCommand * optionMenus
FXMenuCommand for open option menus.
Definition: GNEApplicationWindow.h:662
GNEApplicationWindow::myFileMenuCommands
FileMenuCommands myFileMenuCommands
File Menu Commands.
Definition: GNEApplicationWindow.h:719
GNEApplicationWindow::onCmdSaveAdditionalsAs
long onCmdSaveAdditionalsAs(FXObject *, FXSelector, void *)
called when the command/FXCall save additionals as is executed
Definition: GNEApplicationWindow.cpp:2585
GNEApplicationWindow::onCmdOpenAdditionals
long onCmdOpenAdditionals(FXObject *, FXSelector, void *)
called when the command/FXCall open additionals is executed
Definition: GNEApplicationWindow.cpp:587
GNEApplicationWindow::onCmdSaveJoined
long onCmdSaveJoined(FXObject *, FXSelector, void *)
called when the command/FXCall save joined is executed
Definition: GNEApplicationWindow.cpp:2429
GUIEvent
Definition: GUIEvent.h:77
GNEApplicationWindow::ProcessingMenuCommands::hideDemandProcessingMenuCommands
void hideDemandProcessingMenuCommands()
show demand processing menu commands
Definition: GNEApplicationWindow.cpp:1401
GNEApplicationWindow::myWindowsMenu
FXMenuPane * myWindowsMenu
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::EditMenuCommands::undoLastChange
FXMenuCommand * undoLastChange
FXMenuCommand for undo last change.
Definition: GNEApplicationWindow.h:579
GNEApplicationWindow::setStatusBarText
void setStatusBarText(const std::string &statusBarText)
set text of the statusBar
Definition: GNEApplicationWindow.cpp:1658
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands
void hideNetworkMenuCommands()
hide all menu commands
Definition: GNEApplicationWindow.cpp:1124
GNEApplicationWindow::getUndoList
GNEUndoList * getUndoList()
get pointer to undoList
Definition: GNEApplicationWindow.cpp:1594
GNEApplicationWindow::onCmdReload
long onCmdReload(FXObject *, FXSelector, void *)
called when the command/FXCall reload is executed
Definition: GNEApplicationWindow.cpp:721
GNEApplicationWindow::SupermodeCommands::buildSupermodeCommands
void buildSupermodeCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1485
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::buildNetworkMenuCommands
void buildNetworkMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1143
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::TLSMode
FXMenuCommand * TLSMode
menu command for TLS Mode
Definition: GNEApplicationWindow.h:506
GNEApplicationWindow::getBuildGLCanvas
FXGLCanvas * getBuildGLCanvas() const
Definition: GNEApplicationWindow.cpp:1575
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::connectMode
FXMenuCommand * connectMode
menu command for connect mode
Definition: GNEApplicationWindow.h:500
GNEApplicationWindow::ToolbarsGrip::myToolBarShellNavigation
FXToolBarShell * myToolBarShellNavigation
menu bar drag for navigation (Zoom, coloring...)
Definition: GNEApplicationWindow.h:105
FXThreadEvent.h
GNEApplicationWindow::MenuBarFile::myRecentNets
FXRecentFiles myRecentNets
List of recent nets.
Definition: GNEApplicationWindow.h:430
GNEApplicationWindow::fillMenuBar
void fillMenuBar()
Builds the menu bar.
Definition: GNEApplicationWindow.cpp:1500
config.h
GNEApplicationWindow::updateControls
void updateControls()
update control contents after undo/redo or recompute
Definition: GNEApplicationWindow.cpp:2909
GNEApplicationWindow::onUpdSaveNetwork
long onUpdSaveNetwork(FXObject *, FXSelector, void *)
called when the update/FXCall save network is executed
Definition: GNEApplicationWindow.cpp:2750
GNEApplicationWindow::getToolbarsGrip
ToolbarsGrip & getToolbarsGrip()
get ToolbarsGrip
Definition: GNEApplicationWindow.cpp:1600
GNEApplicationWindow::onCmdEditChosen
long onCmdEditChosen(FXObject *, FXSelector, void *)
called when the command/FXCall edit chosen is executed
Definition: GNEApplicationWindow.cpp:460
GNEApplicationWindow::ProcessingMenuCommands::cleanRoutes
FXMenuCommand * cleanRoutes
FXMenuCommand for clean routes without vehicles.
Definition: GNEApplicationWindow.h:652
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::routeMode
FXMenuCommand * routeMode
menu command for route mode
Definition: GNEApplicationWindow.h:544
GNEApplicationWindow::onCmdRedo
long onCmdRedo(FXObject *, FXSelector, void *)
Definition: GNEApplicationWindow.cpp:2347
GNEApplicationWindow::enableUndoRedo
void enableUndoRedo()
disable undo-redo
Definition: GNEApplicationWindow.cpp:2947
ShapeHandler.h
GNEApplicationWindow::myHelpMenu
FXMenuPane * myHelpMenu
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::myEditMenu
FXMenuPane * myEditMenu
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::EditMenuCommands::editViewPort
FXMenuCommand * editViewPort
FXMenuCommand for edit view port.
Definition: GNEApplicationWindow.h:594
GNEApplicationWindow::ProcessingMenuCommands
struct for processing menu commands
Definition: GNEApplicationWindow.h:608
GNEApplicationWindow::myUndoList
GNEUndoList * myUndoList
the one and only undo list
Definition: GNEApplicationWindow.h:408
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::myEditMenuCommandsParent
const EditMenuCommands * myEditMenuCommandsParent
reference to EditMenuCommands
Definition: GNEApplicationWindow.h:566
GNEUndoList
Definition: GNEUndoList.h:49
GNEApplicationWindow::myConfigPattern
std::string myConfigPattern
Input file pattern.
Definition: GNEApplicationWindow.h:411
FXEX::FXThreadEvent
Definition: FXThreadEvent.h:106
GNEApplicationWindow::FileMenuCommands
struct for File menu commands
Definition: GNEApplicationWindow.h:438
GNEApplicationWindow::onCmdSaveTLSProgramsAs
long onCmdSaveTLSProgramsAs(FXObject *, FXSelector, void *)
called when the command/FXCall save TLSPrograms as is executed
Definition: GNEApplicationWindow.cpp:2657
GNEApplicationWindow::ProcessingMenuCommands::computeDemand
FXMenuCommand * computeDemand
Definition: GNEApplicationWindow.h:649
GNEApplicationWindow::ProcessingMenuCommands::clearInvalidCrossings
FXMenuCommand * clearInvalidCrossings
FXMenuCommand for clear invalid crosings.
Definition: GNEApplicationWindow.h:643
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::myHorizontalSeparator
FXMenuSeparator * myHorizontalSeparator
separator between sets of FXMenuCommand
Definition: GNEApplicationWindow.h:569
GNEApplicationWindow::onCmdSaveAsPlainXML
long onCmdSaveAsPlainXML(FXObject *, FXSelector, void *)
called when the command/FXCall save as plain xml is executed
Definition: GNEApplicationWindow.cpp:2381
GNEApplicationWindow::SupermodeCommands::showSupermodeCommands
void showSupermodeCommands()
show all menu commands
Definition: GNEApplicationWindow.cpp:1467
GNEApplicationWindow::myEvents
FXSynchQue< GUIEvent * > myEvents
List of got requests.
Definition: GNEApplicationWindow.h:396
GNEApplicationWindow::onCmdOpenConfiguration
long onCmdOpenConfiguration(FXObject *, FXSelector, void *)
called when the command/FXCall open configuration is executed
Definition: GNEApplicationWindow.cpp:485
GNEApplicationWindow::ToolbarsGrip::buildMenuToolbarsGrip
void buildMenuToolbarsGrip()
build menu toolbar grips
Definition: GNEApplicationWindow.cpp:244
GNEApplicationWindow::MenuBarFile::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindow
Definition: GNEApplicationWindow.h:434
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::showNetworkMenuCommands
void showNetworkMenuCommands()
show all menu commands
Definition: GNEApplicationWindow.cpp:1105
GNEApplicationWindow::onCmdEditViewport
long onCmdEditViewport(FXObject *, FXSelector, void *)
Called on menu Edit->Viewport.
Definition: GNEApplicationWindow.cpp:2045
GNEApplicationWindow::onCmdLocate
long onCmdLocate(FXObject *, FXSelector, void *)
called when the command/FXCall locate is executed
Definition: GNEApplicationWindow.cpp:750
GNEApplicationWindow::getTrackerInterval
double getTrackerInterval() const
get current tracker interval (pure virtual but we don't need it)
Definition: GNEApplicationWindow.cpp:1588
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::DemandMenuCommands
DemandMenuCommands(const EditMenuCommands *editMenuCommandsParent)
constructor
Definition: GNEApplicationWindow.cpp:1189
GNEApplicationWindow::updateSuperModeMenuCommands
void updateSuperModeMenuCommands(int supermode)
update FXMenuCommands
Definition: GNEApplicationWindow.cpp:2918
GNEApplicationWindow::onCmdProcessButton
long onCmdProcessButton(FXObject *, FXSelector sel, void *)
called when user press a process button (or a shortcut)
Definition: GNEApplicationWindow.cpp:1873
GNEApplicationWindow::MenuBarFile::buildRecentFiles
void buildRecentFiles(FXMenuPane *fileMenu)
build recent files
Definition: GNEApplicationWindow.cpp:958
GNEApplicationWindow::GNEApplicationWindow
GNEApplicationWindow()
FOX needs this for static members.
Definition: GNEApplicationWindow.cpp:2961
GNEApplicationWindow::FileMenuCommands::saveTLSPrograms
FXMenuCommand * saveTLSPrograms
FXMenuCommand for enable or disable save additionals.
Definition: GNEApplicationWindow.h:453
GNEApplicationWindow::EditMenuCommands::NetworkMenuCommands::createEdgeMode
FXMenuCommand * createEdgeMode
menu command for create edge
Definition: GNEApplicationWindow.h:485
GNEApplicationWindow::ProcessingMenuCommands::buildProcessingMenuCommands
void buildProcessingMenuCommands(FXMenuPane *editMenu)
build menu commands
Definition: GNEApplicationWindow.cpp:1313
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::showDemandMenuCommands
void showDemandMenuCommands()
show all menu commands
Definition: GNEApplicationWindow.cpp:1202
GNEApplicationWindow::ProcessingMenuCommands::hideNetworkProcessingMenuCommands
void hideNetworkProcessingMenuCommands()
show network processing menu commands
Definition: GNEApplicationWindow.cpp:1369
GNEApplicationWindow::onCmdOpenForeign
long onCmdOpenForeign(FXObject *, FXSelector, void *)
called when the command/FXCall open foreign is executed
Definition: GNEApplicationWindow.cpp:540
GNEApplicationWindow::EditMenuCommands::myGNEApp
GNEApplicationWindow * myGNEApp
pointer to current GNEApplicationWindows
Definition: GNEApplicationWindow.h:604
GNEApplicationWindow::onCmdBackspace
long onCmdBackspace(FXObject *sender, FXSelector sel, void *ptr)
called if the user hits backspace
Definition: GNEApplicationWindow.cpp:2023
GNEApplicationWindow::EditMenuCommands::EditMenuCommands
EditMenuCommands(GNEApplicationWindow *GNEApp)
constructor
Definition: GNEApplicationWindow.cpp:1261
GNEApplicationWindow::onCmdSaveAdditionals
long onCmdSaveAdditionals(FXObject *, FXSelector, void *)
called when the command/FXCall save additionals is executed
Definition: GNEApplicationWindow.cpp:2538
GNEApplicationWindow::myFileMenuAdditionals
FXMenuPane * myFileMenuAdditionals
Definition: GNEApplicationWindow.h:379
GNEApplicationWindow::myMDIMenu
FXMDIMenu * myMDIMenu
The menu used for the MDI-windows.
Definition: GNEApplicationWindow.h:740
GNEApplicationWindow::EditMenuCommands::networkMenuCommands
NetworkMenuCommands networkMenuCommands
Network Menu Commands.
Definition: GNEApplicationWindow.h:585
GNEApplicationWindow::EditMenuCommands::DemandMenuCommands::vehicleMode
FXMenuCommand * vehicleMode
menu command for vehicle mode
Definition: GNEApplicationWindow.h:547