![]() |
Eclipse SUMO - Simulation of Urban MObility
|
The main window of the Netedit. More...
#include <GNEApplicationWindow.h>
Public Member Functions | |
void | addChild (FXMainWindow *child) |
Adds a further child window to the list (FXMainWindow) More... | |
void | addGLChild (GUIGlChildWindow *child) |
Adds a further child window to the list (GUIGlChildWindow) More... | |
void | clearUndoList () |
clear undo list More... | |
long | computeJunctionWithVolatileOptions () |
called if the user selects Processing->compute junctions with volatile options More... | |
void | create () |
Creates the main window (required by FOX) More... | |
void | dependentBuild () |
build dependent More... | |
void | disableSaveAdditionalsMenu () |
disable save additionals More... | |
void | disableSaveDataElementsMenu () |
disable save data elements More... | |
void | disableSaveDemandElementsMenu () |
disable save demand elements More... | |
void | disableUndoRedo (const std::string &reason) |
disable undo-redo giving a string with the reason More... | |
void | enableSaveAdditionalsMenu () |
enable save additionals More... | |
void | enableSaveDataElementsMenu () |
enable save data elements More... | |
void | enableSaveDemandElementsMenu () |
enable save demand elements More... | |
void | enableSaveTLSProgramsMenu () |
enable save TLS Programs More... | |
void | enableUndoRedo () |
disable undo-redo More... | |
GUISUMOAbstractView * | getActiveView () const |
get the active view or 0 More... | |
FXFont * | getBoldFont () |
get bold front More... | |
FXLabel & | getCartesianLabel () |
get cartesian label More... | |
FXCursor * | getDefaultCursor () |
get default cursor More... | |
virtual double | getDelay () const |
Returns the delay (should be overwritten by subclasses if applicable) More... | |
GNEApplicationWindowHelper::EditMenuCommands & | getEditMenuCommands () |
getEdit Menu Commands (needed for show/hide menu commands) More... | |
FXFont * | getFallbackFont () |
get fallback front More... | |
FXLabel & | getGeoLabel () |
get geo label More... | |
FXGLVisual * | getGLVisual () const |
get GL Visual More... | |
GNEApplicationWindowHelper::LockMenuCommands & | getLockMenuCommands () |
get lock Menu Commands More... | |
GNEApplicationWindowHelper::ToolbarsGrip & | getToolbarsGrip () |
get ToolbarsGrip More... | |
FXDockSite * | getTopDock () |
get top dock More... | |
GNEUndoList * | getUndoList () |
get pointer to undoList More... | |
GNEUndoListDialog * | getUndoListDialog () |
get pointer to undoList dialog More... | |
GUIGlChildWindow * | getViewByID (const std::string &id) const |
get specific view by ID More... | |
std::vector< std::string > | getViewIDs () const |
get view IDs More... | |
GNEViewNet * | getViewNet () |
get pointer to viewNet More... | |
const std::vector< GUIGlChildWindow * > & | getViews () const |
get views More... | |
GNEApplicationWindow (FXApp *a, const std::string &configPattern) | |
FOX-declaration. More... | |
bool | isFullScreen () |
bool | isGaming () const |
return whether the gui is in gaming mode More... | |
const std::string & | isUndoRedoEnabled () const |
check if undo-redo is enabled More... | |
bool | listInternal () const |
return whether to list internal structures More... | |
bool | listParking () const |
return whether to list parking vehicles More... | |
bool | listTeleporting () const |
return whether to list teleporting vehicles More... | |
void | loadOptionOnStartup () |
load net on startup More... | |
virtual long | onCmdFullScreen (FXObject *, FXSelector, void *) |
Toggle full screen mode. More... | |
void | removeChild (FXMainWindow *child) |
removes the given child window from the list (FXMainWindow) More... | |
void | removeGLChild (GUIGlChildWindow *child) |
removes the given child window from the list (GUIGlChildWindow) More... | |
virtual const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve breakpoints if provided by the application More... | |
virtual void | sendBlockingEvent (GUIEvent *event) |
Sends an event from the application thread to the GUI and waits until it is handled. More... | |
virtual void | setBreakpoints (const std::vector< SUMOTime > &) |
Sets the breakpoints of the parent application. More... | |
virtual void | setDelay (double) |
Sets the delay of the parent application. More... | |
void | setStatusBarText (const std::string &statusBarText) |
set text of the statusBar More... | |
void | updateChildren () |
update childrens More... | |
void | updateControls () |
update control contents after undo/redo or recompute More... | |
void | updateSuperModeMenuCommands (const Supermode supermode) |
update FXMenuCommands depending of supermode More... | |
~GNEApplicationWindow () | |
Destructor. More... | |
Inter-thread event handling | |
called when an event occurred | |
void | eventOccurred () |
void | handleEvent_NetworkLoaded (GUIEvent *e) |
handle event of type Network loaded More... | |
void | handleEvent_Message (GUIEvent *e) |
hanlde event of type message More... | |
FOX-callbacks | |
called when the command/FXCall new window is executed | |
long | onCmdNewWindow (FXObject *, FXSelector, void *) |
long | onCmdNewNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall new network is executed More... | |
long | onCmdOpenConfiguration (FXObject *, FXSelector, void *) |
called when the command/FXCall open configuration is executed More... | |
long | onCmdOpenNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall open network is executed More... | |
long | onCmdOpenForeign (FXObject *, FXSelector, void *) |
called when the command/FXCall open foreign is executed More... | |
long | onCmdOpenTLSPrograms (FXObject *, FXSelector, void *) |
called when the command/FXCall open TLS programs is executed More... | |
long | onCmdOpenEdgeTypes (FXObject *, FXSelector, void *) |
called when the command/FXCall open edgeType is executed More... | |
long | onCmdReload (FXObject *, FXSelector, void *) |
called when the command/FXCall reload is executed More... | |
long | onCmdOpenRecent (FXObject *, FXSelector, void *) |
called when the command/FXCall open recent is executed More... | |
long | onCmdClose (FXObject *, FXSelector, void *) |
called when the command/FXCall close is executed More... | |
long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
Called on menu Edit->Visualization. More... | |
long | onCmdEditViewport (FXObject *, FXSelector, void *) |
Called on menu Edit->Viewport. More... | |
long | onCmdLocate (FXObject *, FXSelector, void *) |
called when the command/FXCall locate is executed More... | |
long | onCmdRunNetDiff (FXObject *, FXSelector, void *) |
called when the command/FXCall run NetDiff is executed More... | |
long | onCmdSaveAllElements (FXObject *, FXSelector, void *) |
called when the command/FXCall save all elements is executed More... | |
long | onCmdSaveNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall save network is executed More... | |
long | onCmdSaveTLSPrograms (FXObject *, FXSelector, void *) |
called when the command/FXCall save TLSPrograms is executed More... | |
long | onCmdSaveEdgeTypes (FXObject *, FXSelector, void *) |
called when the command/FXCall save edge types is executed More... | |
long | onCmdSaveTLSProgramsAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save TLSPrograms as is executed More... | |
long | onCmdSaveEdgeTypesAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save edgeTypes as is executed More... | |
long | onCmdOpenAdditionals (FXObject *, FXSelector, void *) |
called when the command/FXCall open additionals is executed More... | |
long | onCmdReloadAdditionals (FXObject *, FXSelector, void *) |
called when the command/FXCall reload additionals is executed More... | |
long | onUpdReloadAdditionals (FXObject *, FXSelector, void *) |
called when the command/FXCall reload additionals is updated More... | |
long | onCmdSaveAdditionals (FXObject *, FXSelector, void *) |
called when the command/FXCall save additionals is executed More... | |
long | onCmdSaveAdditionalsAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save additionals as is executed More... | |
long | onCmdOpenDemandElements (FXObject *, FXSelector, void *) |
called when the command/FXCall open demand is executed More... | |
long | onCmdReloadDemandElements (FXObject *, FXSelector, void *) |
called when the command/FXCall reload demand elements is executed More... | |
long | onUpdReloadDemandElements (FXObject *, FXSelector, void *) |
called when the command/FXCall reload demand elements is updated More... | |
long | onCmdSaveDemandElements (FXObject *, FXSelector, void *) |
called when the command/FXCall save demand elements is executed More... | |
long | onCmdOpenDataElements (FXObject *, FXSelector, void *) |
called when the command/FXCall open data is executed More... | |
long | onCmdReloadDataElements (FXObject *, FXSelector, void *) |
called when the command/FXCall reload data elements is executed More... | |
long | onUpdReloadDataElements (FXObject *, FXSelector, void *) |
called when the command/FXCall reload data elements is updated More... | |
long | onCmdSaveDemandElementsAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save demand elements as is executed More... | |
long | onCmdSaveDataElements (FXObject *, FXSelector, void *) |
called when the command/FXCall save data elements is executed More... | |
long | onCmdSaveDataElementsAs (FXObject *, FXSelector, void *) |
called when the command/FXCall save data elements as is executed More... | |
long | onCmdSaveAsNetwork (FXObject *, FXSelector, void *) |
called when the command/FXCall save network as is executed More... | |
long | onUpdNeedsNetwork (FXObject *, FXSelector, void *) |
called when the update/FXCall needs network is executed More... | |
long | onUpdNeedsFrontElement (FXObject *, FXSelector, void *) |
called when the update/FXCall needs front element is executed More... | |
long | onUpdReload (FXObject *, FXSelector, void *) |
called when the update/FXCall reload is executed More... | |
long | onUpdSaveAllElements (FXObject *, FXSelector, void *) |
called when the update/FXCall save all elements is executed More... | |
long | onUpdSaveNetwork (FXObject *, FXSelector, void *) |
called when the update/FXCall save network is executed More... | |
long | onUpdSaveAdditionals (FXObject *, FXSelector, void *) |
called when the update/FXCall save additionals is executed More... | |
long | onUpdSaveDemandElements (FXObject *, FXSelector, void *) |
called when the update/FXCall save demand elements is executed More... | |
long | onUpdSaveDataElements (FXObject *, FXSelector, void *) |
called when the update/FXCall save data elements is executed More... | |
long | onUpdUndo (FXObject *obj, FXSelector sel, void *ptr) |
called when the update/FXCall undo is executed More... | |
long | onUpdRedo (FXObject *obj, FXSelector sel, void *ptr) |
called when the update/FXCall redo is executed More... | |
long | onUpdComputePathManager (FXObject *obj, FXSelector sel, void *ptr) |
called when the update/FXCall compute path manager is executed More... | |
long | onCmdToggleViewOption (FXObject *, FXSelector, void *) |
toggle viewOption More... | |
long | onUpdToggleViewOption (FXObject *, FXSelector, void *) |
update viewOption More... | |
long | onCmdSaveAsPlainXML (FXObject *, FXSelector, void *) |
called when the command/FXCall save as plain xml is executed More... | |
long | onCmdSaveJoined (FXObject *, FXSelector, void *) |
called when the command/FXCall save joined is executed More... | |
long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
called when a key is pressed More... | |
long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
called when a key is released More... | |
long | onCmdQuit (FXObject *, FXSelector, void *) |
Called by FOX if the application shall be closed. More... | |
long | onCmdEditChosen (FXObject *, FXSelector, void *) |
called when the command/FXCall edit chosen is executed More... | |
long | onCmdAbout (FXObject *, FXSelector, void *) |
called when the command/FXCall show about dialog is executed More... | |
long | onUpdOpen (FXObject *, FXSelector, void *) |
called when the command/FXCall on update open executed More... | |
long | onCmdClearMsgWindow (FXObject *, FXSelector, void *) |
called when the command/FXCall clear message windows is executed More... | |
long | onCmdLoadAdditionalsInSUMOGUI (FXObject *, FXSelector, void *) |
called when user toggle windows checkbox "load additionals" More... | |
long | onCmdLoadDemandInSUMOGUI (FXObject *, FXSelector, void *) |
called when user toggle windows checkbox "load demand" More... | |
long | onLoadThreadEvent (FXObject *, FXSelector, void *) |
called when the command/FXCall load thread is executed More... | |
long | onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr) |
called when the command/FXCall clipboard request is executed More... | |
long | onCmdSetSuperMode (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits an edit-supermode hotkey More... | |
long | onCmdSetMode (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits an edit-mode hotkey More... | |
long | onCmdLockElements (FXObject *, FXSelector sel, void *) |
called when user press a lock menu check More... | |
long | onCmdLockAllElements (FXObject *, FXSelector sel, void *) |
called when user press lock all elements button More... | |
long | onCmdUnlockAllElements (FXObject *, FXSelector sel, void *) |
called when user press unlock all elements button More... | |
long | onCmdLockSelectElements (FXObject *, FXSelector sel, void *) |
called when user press lock select elements button More... | |
long | onUpdLockMenuTitle (FXObject *, FXSelector sel, void *) |
enable or disable lock menu title More... | |
long | onCmdProcessButton (FXObject *, FXSelector sel, void *) |
called when user press a process button (or a shortcut) More... | |
long | onCmdOpenSUMOGUI (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hints ctrl + T More... | |
long | onCmdAbort (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits esc More... | |
long | onCmdDel (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits del More... | |
long | onCmdEnter (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits enter More... | |
long | onCmdBackspace (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits backspace More... | |
long | onCmdForceSaveNetwork (FXObject *sender, FXSelector sel, void *ptr) |
force save network (flag) More... | |
long | onCmdForceSaveAdditionals (FXObject *sender, FXSelector sel, void *ptr) |
force save additionals (flag) More... | |
long | onCmdForceSaveDemandElements (FXObject *sender, FXSelector sel, void *ptr) |
force save demand elements (flag) More... | |
long | onCmdForceSaveDataElements (FXObject *sender, FXSelector sel, void *ptr) |
force save data elements (flag) More... | |
long | onCmdFocusFrame (FXObject *sender, FXSelector sel, void *ptr) |
called if the user hits key combination for focus on frame More... | |
long | onUpdRequireViewNet (FXObject *sender, FXSelector sel, void *ptr) |
enable or disable sender object depending if viewNet exist More... | |
long | onCmdToggleGrid (FXObject *, FXSelector, void *) |
called if the user press key combination Ctrl + G to toggle grid More... | |
long | onCmdSetFrontElement (FXObject *, FXSelector, void *) |
called if the user call set front element More... | |
long | onCmdToggleEditOptions (FXObject *, FXSelector, void *) |
called if the user press key combination Alt + <0-9> More... | |
long | onCmdHelp (FXObject *sender, FXSelector sel, void *ptr) |
called if the user selects help->Documentation More... | |
long | onCmdOptions (FXObject *, FXSelector, void *) |
called if the user selects Processing->Configure Options More... | |
long | onCmdUndo (FXObject *, FXSelector, void *) |
called when user press Ctrl+Z More... | |
long | onCmdRedo (FXObject *, FXSelector, void *) |
long | onCmdOpenUndoListDialog (FXObject *, FXSelector, void *) |
long | onUpdOpenUndoListDialog (FXObject *, FXSelector, void *) |
long | onCmdComputePathManager (FXObject *, FXSelector, void *) |
long | onCmdCut (FXObject *, FXSelector, void *) |
called when user press Ctrl+Z More... | |
long | onCmdCopy (FXObject *, FXSelector, void *) |
long | onCmdPaste (FXObject *, FXSelector, void *) |
long | onCmdSetTemplate (FXObject *, FXSelector, void *) |
long | onCmdCopyTemplate (FXObject *, FXSelector, void *) |
long | onCmdClearTemplate (FXObject *, FXSelector, void *) |
inherited from GUIMainWindow | |
get build OpenGL Canvas (due NETEDIT only uses a single View, it always return nullptr) | |
FXGLCanvas * | getBuildGLCanvas () const |
get build GL Canvas (must be implemented in all children) More... | |
SUMOTime | getCurrentSimTime () const |
get current simulation time (pure virtual but we don't need it) More... | |
double | getTrackerInterval () const |
get current tracker interval (pure virtual but we don't need it) More... | |
Static Public Member Functions | |
static GUIMainWindow * | getInstance () |
get instance More... | |
Protected Member Functions | |
GNEApplicationWindow () | |
FOX needs this for static members. More... | |
void | setWindowSizeAndPos () |
perform initial window positioning and sizing according to user options / previous call More... | |
void | storeWindowSizeAndPos () |
record window position and size in registry More... | |
Protected Attributes | |
bool | myAmFullScreen |
fox need this More... | |
bool | myAmGaming |
information whether the gui is currently in gaming mode More... | |
bool | myAmLoading = false |
information whether the gui is currently loading and the load-options shall be greyed out More... | |
FXFont * | myBoldFont |
Font used for popup-menu titles. More... | |
FXDockSite * | myBottomDock |
FXLabel * | myCartesianCoordinate |
Labels for the current cartesian and geo-coordinate. More... | |
FXHorizontalFrame * | myCartesianFrame |
std::string | myConfigPattern |
Input file pattern. More... | |
FXMenuPane * | myEditMenu = nullptr |
FXSynchQue< GUIEvent * > | myEvents |
List of got requests. More... | |
FXFont * | myFallbackFont |
Fallback font for extended characters support. More... | |
FXMenuPane * | myFileMenu = nullptr |
the submenus More... | |
FXMenuPane * | myFileMenuAdditionals = nullptr |
FXMenuPane * | myFileMenuDataElements = nullptr |
FXMenuPane * | myFileMenuDemandElements = nullptr |
FXMenuPane * | myFileMenuEdgeTypes = nullptr |
FXMenuPane * | myFileMenuTLS = nullptr |
FXLabel * | myGeoCoordinate |
FXHorizontalFrame * | myGeoFrame |
FXGLVisual * | myGLVisual |
The gl-visual used. More... | |
std::vector< GUIGlChildWindow * > | myGLWindows |
bool | myHadDependentBuild = false |
check if had dependent build More... | |
FXMenuPane * | myHelpMenu = nullptr |
FXDockSite * | myLeftDock |
bool | myListInternal |
information whether the locator should list internal structures More... | |
bool | myListParking |
information whether the locator should list parking vehicles More... | |
bool | myListTeleporting |
information whether the locator should list teleporting vehicles More... | |
GNELoadThread * | myLoadThread = nullptr |
the thread that loads the network More... | |
FXEX::FXThreadEvent | myLoadThreadEvent |
io-event with the load-thread More... | |
FXMenuPane * | myLocatorMenu = nullptr |
FXMenuPane * | myLockMenu = nullptr |
FXMenuTitle * | myLockMenuTitle = nullptr |
menu title for lock More... | |
FXSplitter * | myMainSplitter = nullptr |
The splitter that divides the main window into view and the log window. More... | |
FXMDIClient * | myMDIClient |
The multi view panel. More... | |
GUIMessageWindow * | myMessageWindow = nullptr |
A window to display messages, warnings and error in. More... | |
FXMenuPane * | myModesMenu = nullptr |
FXMenuTitle * | myModesMenuTitle = nullptr |
menu title for modes More... | |
GNENet * | myNet = nullptr |
we are responsible for the net More... | |
FXMenuPane * | myProcessingMenu = nullptr |
FXDockSite * | myRightDock |
FXStatusBar * | myStatusbar |
The status bar. More... | |
FXMenuPane * | myToolsMenu = nullptr |
FXDockSite * | myTopDock |
FXMutex | myTrackerLock |
A lock to make the removal and addition of trackers secure. More... | |
std::vector< FXMainWindow * > | myTrackerWindows |
GNEUndoList * | myUndoList = nullptr |
the one and only undo list More... | |
GNEUndoListDialog * | myUndoListDialog = nullptr |
undoList dialog More... | |
std::string | myUndoRedoListEnabled |
string to check if undo/redo list is enabled (a String is used to keep the disabling reason) More... | |
FXMenuPane * | myWindowsMenu = nullptr |
Static Protected Attributes | |
static GUIMainWindow * | myInstance = nullptr |
the singleton window instance More... | |
Private Member Functions | |
void | closeAllWindows () |
this method closes all windows and deletes the current simulation */ More... | |
bool | continueWithUnsavedAdditionalChanges (const std::string &operation) |
warns about unsaved changes in additionals and gives the user the option to abort More... | |
bool | continueWithUnsavedChanges (const std::string &operation) |
warns about unsaved changes and gives the user the option to abort More... | |
bool | continueWithUnsavedDataElementChanges (const std::string &operation) |
warns about unsaved changes in data elements and gives the user the option to abort More... | |
bool | continueWithUnsavedDemandElementChanges (const std::string &operation) |
warns about unsaved changes in demand elements and gives the user the option to abort More... | |
void | fillMenuBar () |
Builds the menu bar. More... | |
FXString | getFolder (const std::string &folder) const |
extract folder More... | |
GNEApplicationWindow (const GNEApplicationWindow &)=delete | |
Invalidated copy constructor. More... | |
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 */ More... | |
GNEApplicationWindow & | operator= (const GNEApplicationWindow &)=delete |
Invalidated assignment operator. More... | |
The main window of the Netedit.
Contains the file opening support and a canvas to display the network in.
Beside views on the simulation, shown within a MDI-window, the main window may also have some further views (children) assigned which are stored within a separate list.
Definition at line 39 of file GNEApplicationWindow.h.
GNEApplicationWindow::GNEApplicationWindow | ( | FXApp * | a, |
const std::string & | configPattern | ||
) |
FOX-declaration.
Constructor
[in] | a | The FOX application |
[in] | configPattern | The pattern used for loading configurations |
Definition at line 379 of file GNEApplicationWindow.cpp.
References GUICursorSubSys::initCursors(), GUIIconSubSys::initIcons(), and GUITextureSubSys::initTextures().
GNEApplicationWindow::~GNEApplicationWindow | ( | ) |
Destructor.
Definition at line 485 of file GNEApplicationWindow.cpp.
References GUIIconSubSys::close(), GUITextureSubSys::close(), closeAllWindows(), FXSynchQue< T, Container >::empty(), myEditMenu, myEvents, myFileMenu, myFileMenuAdditionals, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuTLS, GUIMainWindow::myGLVisual, myHelpMenu, myLoadThread, myLocatorMenu, myLockMenu, myModesMenu, myProcessingMenu, myToolsMenu, myUndoList, myUndoListDialog, myWindowsMenu, FXSynchQue< T, Container >::pop(), and FXSynchQue< T, Container >::top().
|
protected |
FOX needs this for static members.
Definition at line 4000 of file GNEApplicationWindow.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
Adds a further child window to the list (FXMainWindow)
Definition at line 109 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIParameterTableWindow::closeBuilding(), GUIParameterTracker::GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().
|
inherited |
Adds a further child window to the list (GUIGlChildWindow)
Definition at line 94 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
void GNEApplicationWindow::clearUndoList | ( | ) |
clear undo list
Definition at line 3987 of file GNEApplicationWindow.cpp.
References GNEUndoList::clear(), GUISUMOAbstractView::destroyPopup(), myUndoList, and myViewNet.
Referenced by continueWithUnsavedChanges().
|
private |
this method closes all windows and deletes the current simulation */
Definition at line 1329 of file GNEApplicationWindow.cpp.
References disableSaveAdditionalsMenu(), GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGLWindows, myMessageWindow, myNet, myTitlePrefix, GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, myViewNet, GLHelper::resetFont(), GeoConvHelper::resetLoaded(), GUITextureSubSys::resetTextures(), GNEViewNet::saveVisualizationSettings(), and GUIMessageWindow::unregisterMsgHandlers().
Referenced by loadConfigOrNet(), onCmdClose(), onCmdReload(), and ~GNEApplicationWindow().
long GNEApplicationWindow::computeJunctionWithVolatileOptions | ( | ) |
called if the user selects Processing->compute junctions with volatile options
Definition at line 1392 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GNENet::computeNetwork(), gCurrentFolder, GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDataSets(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), GNENetHelper::AttributeCarriers::getNumberOfAdditionals(), GNENetHelper::AttributeCarriers::getNumberOfDemandElements(), OptionsCont::getOptions(), OptionsCont::getString(), GNENet::getViewNet(), MODETLS, myMessageWindow, myNet, OptionsCont::resetWritable(), GNENet::saveAdditionals(), GNENet::saveDataElements(), GNENet::saveDemandElements(), OptionsCont::set(), updateControls(), and WRITE_DEBUG.
Referenced by onCmdProcessButton().
|
private |
warns about unsaved changes in additionals and gives the user the option to abort
Definition at line 3731 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, myViewNet, onCmdSaveAdditionals(), GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges().
|
private |
warns about unsaved changes and gives the user the option to abort
Definition at line 3668 of file GNEApplicationWindow.cpp.
References clearUndoList(), continueWithUnsavedAdditionalChanges(), continueWithUnsavedDataElementChanges(), continueWithUnsavedDemandElementChanges(), GNENet::isNetSaved(), myNet, myViewNet, onCmdSaveNetwork(), and WRITE_DEBUG.
Referenced by onCmdClose(), onCmdQuit(), and onCmdReload().
|
private |
warns about unsaved changes in data elements and gives the user the option to abort
Definition at line 3817 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, myViewNet, onCmdSaveDataElements(), GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges().
|
private |
warns about unsaved changes in demand elements and gives the user the option to abort
Definition at line 3774 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, myViewNet, onCmdSaveDemandElements(), GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges().
void GNEApplicationWindow::create | ( | ) |
Creates the main window (required by FOX)
Definition at line 455 of file GNEApplicationWindow.cpp.
References gCurrentFolder, OptionsCont::getOptions(), GUIMainWindow::myCartesianFrame, myEditMenu, myFileMenu, myFileMenuAdditionals, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuTLS, GUIMainWindow::myGeoFrame, myHelpMenu, myModesMenu, myWindowsMenu, and GUIMainWindow::setWindowSizeAndPos().
void GNEApplicationWindow::dependentBuild | ( | ) |
build dependent
Definition at line 407 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::ToolbarsGrip::buildMenuToolbarsGrip(), GUIShortcutsSubSys::buildNETEDITAccelerators(), fillMenuBar(), GUIIconSubSys::getIcon(), getToolbarsGrip(), GUIDesignHorizontalFrameStatusBar, GUIDesignSplitter, GUIDesignSplitterMDI, GUIDesignStatusBar, ID_LOADTHREAD_EVENT, MID_WINDOW, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myCartesianFrame, myEvents, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGeoFrame, myHadDependentBuild, myLoadThread, myLoadThreadEvent, myMainSplitter, GUIMainWindow::myMDIClient, myMDIMenu, myMessageWindow, GUIMainWindow::myStatusbar, myTitlePrefix, NETEDIT, NETEDIT_MINI, FXEX::FXBaseObject::setSelector(), FXEX::FXBaseObject::setTarget(), and WRITE_ERROR.
Referenced by main().
void GNEApplicationWindow::disableSaveAdditionalsMenu | ( | ) |
disable save additionals
Definition at line 1626 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs.
Referenced by closeAllWindows(), onCmdClose(), onCmdOpenNetwork(), onCmdReload(), and GNENet::requireSaveAdditionals().
void GNEApplicationWindow::disableSaveDataElementsMenu | ( | ) |
disable save data elements
Definition at line 1654 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDataElementsAs.
Referenced by GNENet::requireSaveDataElements().
void GNEApplicationWindow::disableSaveDemandElementsMenu | ( | ) |
disable save demand elements
Definition at line 1640 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDemandElementsAs.
Referenced by GNENet::requireSaveDemandElements().
void GNEApplicationWindow::disableUndoRedo | ( | const std::string & | reason | ) |
disable undo-redo giving a string with the reason
Definition at line 3957 of file GNEApplicationWindow.cpp.
References myUndoRedoListEnabled.
void GNEApplicationWindow::enableSaveAdditionalsMenu | ( | ) |
enable save additionals
Definition at line 1619 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs.
Referenced by GNENet::requireSaveAdditionals().
void GNEApplicationWindow::enableSaveDataElementsMenu | ( | ) |
enable save data elements
Definition at line 1647 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDataElementsAs.
Referenced by GNENet::requireSaveDataElements().
void GNEApplicationWindow::enableSaveDemandElementsMenu | ( | ) |
enable save demand elements
Definition at line 1633 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, and GNEApplicationWindowHelper::FileMenuCommands::saveDemandElementsAs.
Referenced by GNENet::requireSaveDemandElements().
void GNEApplicationWindow::enableSaveTLSProgramsMenu | ( | ) |
enable save TLS Programs
Definition at line 1613 of file GNEApplicationWindow.cpp.
References myFileMenuCommands, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.
Referenced by GNENet::requireSaveTLSPrograms().
void GNEApplicationWindow::enableUndoRedo | ( | ) |
disable undo-redo
Definition at line 3963 of file GNEApplicationWindow.cpp.
References myUndoRedoListEnabled.
|
virtual |
Implements MFXInterThreadEventClient.
Definition at line 981 of file GNEApplicationWindow.cpp.
References DEBUG_OCCURRED, FXSynchQue< T, Container >::empty(), ERROR_OCCURRED, GUIEvent::getOwnType(), GLDEBUG_OCCURRED, handleEvent_Message(), handleEvent_NetworkLoaded(), MESSAGE_OCCURRED, myEvents, FXSynchQue< T, Container >::pop(), SIMULATION_LOADED, FXSynchQue< T, Container >::top(), and WARNING_OCCURRED.
Referenced by onLoadThreadEvent().
|
private |
Builds the menu bar.
Definition at line 1173 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::buildDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::buildDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildFrontElementMenuCommand(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GNEApplicationWindowHelper::LocateMenuCommands::buildLocateMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::buildModesMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::buildNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::buildOpenSUMOMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::buildProcessingMenuCommands(), GNEApplicationWindowHelper::MenuBarFile::buildRecentFiles(), GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands(), GNEApplicationWindowHelper::ToolsMenuCommands::buildToolsMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildUndoRedoMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildViewMenuCommands(), GNEApplicationWindowHelper::WindowsMenuCommands::buildWindowsMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GUIIconSubSys::getIcon(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), GNEApplicationWindowHelper::ToolbarsGrip::menu, MID_GNE_LOCK_MENUTITLE, MID_GNE_MODESMENUTITLE, MID_HOTKEY_CTRL_Q_CLOSE, MID_HOTKEY_F12_ABOUT, MID_HOTKEY_F1_ONLINEDOCUMENTATION, myEditMenu, myEditMenuCommands, myFileMenu, myFileMenuAdditionals, myFileMenuCommands, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuTLS, myHelpMenu, myLocateMenuCommands, myLocatorMenu, myLockMenu, myLockMenuCommands, myLockMenuTitle, myMenuBarFile, myMessageWindow, myModesMenu, myModesMenuCommands, myModesMenuTitle, myProcessingMenu, myProcessingMenuCommands, GUIMainWindow::myStatusbar, mySupermodeCommands, myToolbarsGrip, myToolsMenu, myToolsMenuCommands, myWindowsMenu, myWindowsMenuCommands, NETEDIT_MINI, and GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions.
Referenced by dependentBuild().
|
inherited |
get the active view or 0
Definition at line 233 of file GUIMainWindow.cpp.
References GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.
Referenced by GUIVehicle::drawOutsideNetwork().
|
inherited |
get bold front
Definition at line 153 of file GUIMainWindow.cpp.
References GUIMainWindow::myBoldFont.
Referenced by GUIGlObject::buildPopupHeader().
|
virtual |
get build GL Canvas (must be implemented in all children)
Implements GUIMainWindow.
Definition at line 1286 of file GNEApplicationWindow.cpp.
|
inherited |
get cartesian label
Definition at line 188 of file GUIMainWindow.cpp.
References GUIMainWindow::myCartesianCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformation().
|
virtual |
get current simulation time (pure virtual but we don't need it)
Implements GUIMainWindow.
Definition at line 1293 of file GNEApplicationWindow.cpp.
FXCursor * GNEApplicationWindow::getDefaultCursor | ( | ) |
get default cursor
Definition at line 1370 of file GNEApplicationWindow.cpp.
|
inlinevirtualinherited |
Returns the delay (should be overwritten by subclasses if applicable)
Reimplemented in GUIApplicationWindow.
Definition at line 125 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::getDelay(), and GUIViewTraffic::saveFrame().
GNEApplicationWindowHelper::EditMenuCommands & GNEApplicationWindow::getEditMenuCommands | ( | ) |
getEdit Menu Commands (needed for show/hide menu commands)
Definition at line 3975 of file GNEApplicationWindow.cpp.
References myEditMenuCommands.
Referenced by GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
inherited |
get fallback front
Definition at line 158 of file GUIMainWindow.cpp.
References GUIMainWindow::myFallbackFont.
Referenced by GUIParameterTableWindow::checkFont().
|
private |
extract folder
Definition at line 3860 of file GNEApplicationWindow.cpp.
References gCurrentFolder.
Referenced by onCmdRunNetDiff(), onCmdSaveAdditionals(), onCmdSaveAdditionalsAs(), onCmdSaveAsPlainXML(), onCmdSaveDataElements(), onCmdSaveDataElementsAs(), onCmdSaveDemandElements(), onCmdSaveDemandElementsAs(), onCmdSaveEdgeTypes(), onCmdSaveEdgeTypesAs(), onCmdSaveJoined(), onCmdSaveTLSPrograms(), and onCmdSaveTLSProgramsAs().
|
inherited |
get geo label
Definition at line 194 of file GUIMainWindow.cpp.
References GUIMainWindow::myGeoCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformation().
|
inherited |
get GL Visual
Definition at line 182 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLVisual.
Referenced by GUISUMOViewParent::init().
|
staticinherited |
get instance
Definition at line 224 of file GUIMainWindow.cpp.
References GUIMainWindow::myInstance.
Referenced by GUIVehicle::drawOutsideNetwork(), TraCIServerAPI_GUI::getNamedView(), GUITexturesHelper::getTextureID(), TraCIServerAPI_GUI::processGet(), GUIMessageWindow::setCursorPos(), GUINet::updateGUI(), and GUIRunThread::waitForSnapshots().
GNEApplicationWindowHelper::LockMenuCommands & GNEApplicationWindow::getLockMenuCommands | ( | ) |
get lock Menu Commands
Definition at line 3981 of file GNEApplicationWindow.cpp.
References myLockMenuCommands.
GNEApplicationWindowHelper::ToolbarsGrip & GNEApplicationWindow::getToolbarsGrip | ( | ) |
get ToolbarsGrip
Definition at line 1323 of file GNEApplicationWindow.cpp.
References myToolbarsGrip.
Referenced by GNEViewNet::buildEditModeControls(), dependentBuild(), handleEvent_NetworkLoaded(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), GNEViewNet::updateNetworkModeSpecificControls(), and GNEViewParent::~GNEViewParent().
|
inherited |
|
virtual |
get current tracker interval (pure virtual but we don't need it)
Implements GUIMainWindow.
Definition at line 1299 of file GNEApplicationWindow.cpp.
GNEUndoList * GNEApplicationWindow::getUndoList | ( | ) |
get pointer to undoList
Definition at line 1305 of file GNEApplicationWindow.cpp.
References myUndoList.
Referenced by GNEUndoListDialog::updateList(), and GNEViewParent::updateUndoRedoButtons().
GNEUndoListDialog * GNEApplicationWindow::getUndoListDialog | ( | ) |
get pointer to undoList dialog
Definition at line 1311 of file GNEApplicationWindow.cpp.
References myUndoListDialog.
Referenced by GNEUndoList::end().
|
inherited |
get specific view by ID
Definition at line 142 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by TraCIServerAPI_GUI::getNamedView().
|
inherited |
get view IDs
Definition at line 132 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by TraCIServerAPI_GUI::processGet().
GNEViewNet * GNEApplicationWindow::getViewNet | ( | ) |
get pointer to viewNet
Definition at line 1317 of file GNEApplicationWindow.cpp.
References myViewNet.
Referenced by GNEUndoList::begin(), GNEUndoList::clear(), and GNEUndoList::end().
|
inherited |
get views
Definition at line 163 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GUIRunThread::waitForSnapshots().
void GNEApplicationWindow::handleEvent_Message | ( | GUIEvent * | e | ) |
hanlde event of type message
Definition at line 1163 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::appendMsg(), GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), and myMessageWindow.
Referenced by eventOccurred().
void GNEApplicationWindow::handleEvent_NetworkLoaded | ( | GUIEvent * | e | ) |
handle event of type Network loaded
Definition at line 1007 of file GNEApplicationWindow.cpp.
References GUISUMOAbstractView::addDecals(), GUISettingsHandler::addSettings(), GUISettingsHandler::applyViewport(), GNEUndoList::begin(), GNEApplicationWindowHelper::ToolbarsGrip::buildViewParentToolbarsGrips(), DATA, DEMAND, GNEViewNetHelper::IntervalBar::disableIntervalBarUpdate(), GNENet::disableUpdateData(), GNEViewNetHelper::IntervalBar::enableIntervalBarUpdate(), GNENet::enableUpdateData(), GNEUndoList::end(), GNEEvent_NetworkLoaded::file, GNEViewNet::forceSupermodeNetwork(), GUISettingsHandler::getDecals(), GNEViewNet::getIntervalBar(), GNEViewNet::getNet(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MFXUtils::getTitleText(), getToolbarsGrip(), GUIGlChildWindow::getView(), GNEEvent_NetworkLoaded::isNewNet, OptionsCont::isSet(), myAmLoading, GUIMainWindow::myMDIClient, myMDIMenu, myMessageWindow, myNet, myTitlePrefix, myUndoList, myViewNet, GNEEvent_NetworkLoaded::net, NETWORK, DataHandler::parse(), GeneralHandler::parse(), GUIMessageWindow::registerMsgHandlers(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDataElements(), GNENet::requireSaveDemandElements(), GNENet::requireSaveNet(), OptionsCont::resetWritable(), OptionsCont::set(), Position::set(), GUISettingsHandler::setSnapshots(), setStatusBarText(), GNEEvent_NetworkLoaded::settingsFile, XMLSubSys::setValidation(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), SUPERMODEDATA, SUPERMODEDEMAND, SUPERMODENETWORK, toString(), GNEEvent_NetworkLoaded::viewportFromRegistry, WRITE_ERROR, WRITE_MESSAGE, Position::x(), and Position::y().
Referenced by eventOccurred().
|
inlineinherited |
Definition at line 150 of file GUIMainWindow.h.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIViewTraffic::onDoubleClicked().
|
inherited |
return whether the gui is in gaming mode
Definition at line 200 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmGaming.
Referenced by GUISUMOViewParent::init(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), and GUIViewTraffic::setColorScheme().
const std::string & GNEApplicationWindow::isUndoRedoEnabled | ( | ) | const |
check if undo-redo is enabled
Definition at line 3969 of file GNEApplicationWindow.cpp.
References myUndoRedoListEnabled.
Referenced by GNEUndoList::onUpdRedo(), and GNEUndoList::onUpdUndo().
|
inherited |
return whether to list internal structures
Definition at line 206 of file GUIMainWindow.cpp.
References GUIMainWindow::myListInternal.
Referenced by GUISUMOViewParent::getObjectIDs().
|
inherited |
return whether to list parking vehicles
Definition at line 212 of file GUIMainWindow.cpp.
References GUIMainWindow::myListParking.
Referenced by GUIApplicationWindow::fillMenuBar(), and GUISUMOViewParent::getObjectIDs().
|
inherited |
return whether to list teleporting vehicles
Definition at line 218 of file GUIMainWindow.cpp.
References GUIMainWindow::myListTeleporting.
Referenced by GUISUMOViewParent::getObjectIDs().
|
private |
starts to load a netimport configuration or a network */
Definition at line 1263 of file GNEApplicationWindow.cpp.
References closeAllWindows(), gSchemeStorage, GNELoadThread::loadConfigOrNet(), myAmLoading, myLoadThread, myModesMenuCommands, mySupermodeCommands, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GUICompleteSchemeStorage::saveViewport(), setStatusBarText(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::showNetworkMenuCommands(), GNEApplicationWindowHelper::SupermodeCommands::showSupermodeCommands(), and GUIMainWindow::storeWindowSizeAndPos().
Referenced by loadOptionOnStartup(), onCmdNewNetwork(), onCmdOpenConfiguration(), onCmdOpenForeign(), onCmdOpenNetwork(), onCmdOpenRecent(), and onCmdReload().
void GNEApplicationWindow::loadOptionOnStartup | ( | ) |
load net on startup
Definition at line 1376 of file GNEApplicationWindow.cpp.
References OptionsCont::getBool(), OptionsCont::getOptions(), loadConfigOrNet(), and OptionsCont::set().
Referenced by main().
long GNEApplicationWindow::onClipboardRequest | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when the command/FXCall clipboard request is executed
Definition at line 965 of file GNEApplicationWindow.cpp.
References GUIUserIO::clipped.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdAbort | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits esc
Definition at line 1938 of file GNEApplicationWindow.cpp.
References GNEViewNet::abortOperation(), GNETAZFrame::TAZSelectionStatistics::clearSelectedEdges(), GNETAZFrame::TAZSelectionStatistics::getEdgeAndTAZChildrenSelected(), GNEViewParent::getInspectorFrame(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSelectionStatisticsModule(), GNEViewNet::getViewParent(), GNEInspectorFrame::inspectSingleElement(), myViewNet, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdAbout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall show about dialog is executed
Definition at line 952 of file GNEApplicationWindow.cpp.
References GNEAbout::create(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdBackspace | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits backspace
Definition at line 1988 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyBackSpace(), myViewNet, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdClearMsgWindow | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall clear message windows is executed
Definition at line 929 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::clear(), and myMessageWindow.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdClearTemplate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2337 of file GNEApplicationWindow.cpp.
References GNEInspectorFrame::TemplateEditor::clearTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall close is executed
Definition at line 814 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), closeAllWindows(), continueWithUnsavedChanges(), GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, disableSaveAdditionalsMenu(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), myEditMenuCommands, myFileMenuCommands, myMessageWindow, myModesMenuCommands, mySupermodeCommands, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.
Referenced by FXDEFMAP(), onCmdNewNetwork(), onCmdOpenConfiguration(), onCmdOpenForeign(), onCmdOpenNetwork(), and onCmdOpenRecent().
long GNEApplicationWindow::onCmdComputePathManager | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2278 of file GNEApplicationWindow.cpp.
References GNEViewNet::getNet(), GNEPathManager::getPathCalculator(), GNENet::getPathManager(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), myViewNet, and GNEPathManager::PathCalculator::updatePathCalculator().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdCopy | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2297 of file GNEApplicationWindow.cpp.
References WRITE_DEBUG.
long GNEApplicationWindow::onCmdCopyTemplate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2325 of file GNEApplicationWindow.cpp.
References GNEInspectorFrame::TemplateEditor::copyTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdCut | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user press Ctrl+Z
Definition at line 2289 of file GNEApplicationWindow.cpp.
References WRITE_DEBUG.
long GNEApplicationWindow::onCmdDel | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits del
Definition at line 1964 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyDel(), myViewNet, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdEditChosen | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall edit chosen is executed
Definition at line 541 of file GNEApplicationWindow.cpp.
References gSelected.
long GNEApplicationWindow::onCmdEditViewport | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Viewport.
Definition at line 2061 of file GNEApplicationWindow.cpp.
References myViewNet, and GUISUMOAbstractView::showViewportEditor().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdEditViewScheme | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called on menu Edit->Visualization.
Definition at line 2071 of file GNEApplicationWindow.cpp.
References myViewNet, and GUISUMOAbstractView::showViewschemeEditor().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdEnter | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits enter
Definition at line 1976 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyEnter(), myViewNet, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdFocusFrame | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits key combination for focus on frame
Definition at line 2043 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyFocusFrame(), and myViewNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdForceSaveAdditionals | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
force save additionals (flag)
Definition at line 2010 of file GNEApplicationWindow.cpp.
References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveAdditionals().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdForceSaveDataElements | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
force save data elements (flag)
Definition at line 2032 of file GNEApplicationWindow.cpp.
References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveDataElements().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdForceSaveDemandElements | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
force save demand elements (flag)
Definition at line 2021 of file GNEApplicationWindow.cpp.
References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveDemandElements().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdForceSaveNetwork | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
force save network (flag)
Definition at line 1999 of file GNEApplicationWindow.cpp.
References GNEViewNet::getNet(), myViewNet, and GNENet::requireSaveNet().
Referenced by FXDEFMAP().
|
inlinevirtualinherited |
Toggle full screen mode.
Reimplemented in GUIApplicationWindow.
Definition at line 146 of file GUIMainWindow.h.
Referenced by GUIViewTraffic::onDoubleClicked().
long GNEApplicationWindow::onCmdHelp | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user selects help->Documentation
Definition at line 2157 of file GNEApplicationWindow.cpp.
References FXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdLoadAdditionalsInSUMOGUI | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user toggle windows checkbox "load additionals"
Definition at line 936 of file GNEApplicationWindow.cpp.
References WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdLoadDemandInSUMOGUI | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user toggle windows checkbox "load demand"
Definition at line 944 of file GNEApplicationWindow.cpp.
References WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdLocate | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when the command/FXCall locate is executed
Definition at line 837 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onCmdLocate().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdLockAllElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press lock all elements button
Definition at line 1690 of file GNEApplicationWindow.cpp.
References GNEViewNet::getLockManager(), GNEApplicationWindowHelper::LockMenuCommands::lockAll(), myLockMenuCommands, myViewNet, and GNEViewNetHelper::LockManager::updateFlags().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdLockElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press a lock menu check
Definition at line 1681 of file GNEApplicationWindow.cpp.
References GNEViewNet::getLockManager(), myViewNet, and GNEViewNetHelper::LockManager::updateFlags().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdLockSelectElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press lock select elements button
Definition at line 1708 of file GNEApplicationWindow.cpp.
References myViewNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdNewNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall new network is executed
Definition at line 551 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), OptionsCont::getOptions(), loadConfigOrNet(), myViewNet, onCmdClose(), and GNELoadThread::setDefaultOptions().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdNewWindow | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1833 of file GNEApplicationWindow.cpp.
References FileHelpers::isReadable(), SysUtils::runHiddenCommand(), and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenAdditionals | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open additionals is executed
Definition at line 3141 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), gCurrentFolder, GUIIconSubSys::getIcon(), MODEADDITIONAL, myNet, myUndoList, NETWORK, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODENETWORK, WRITE_DEBUG, and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenConfiguration | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open configuration is executed
Definition at line 566 of file GNEApplicationWindow.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myConfigPattern, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentNetsAndConfigs, myViewNet, onCmdClose(), and OPEN_CONFIG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenDataElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open data is executed
Definition at line 3481 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), DATA, GNEViewNetHelper::IntervalBar::disableIntervalBarUpdate(), GNENet::disableUpdateData(), GNEViewNetHelper::IntervalBar::enableIntervalBarUpdate(), GNENet::enableUpdateData(), GNEUndoList::end(), gCurrentFolder, GUIIconSubSys::getIcon(), GNEViewNet::getIntervalBar(), GNEViewNet::getNet(), myNet, myUndoList, myViewNet, DataHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDATA, WRITE_DEBUG, and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenDemandElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open demand is executed
Definition at line 3312 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), DEMAND, GNEUndoList::end(), gCurrentFolder, GUIIconSubSys::getIcon(), myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDEMAND, WRITE_DEBUG, and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenEdgeTypes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open edgeType is executed
Definition at line 716 of file GNEApplicationWindow.cpp.
References GNEUndoList::add(), GNEEdgeType::addLaneType(), GNEUndoList::begin(), EDGE, GNEUndoList::end(), gCurrentFolder, GNEViewParent::getCreateEdgeFrame(), GNECreateEdgeFrame::getEdgeTypeSelector(), GUIIconSubSys::getIcon(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), NITypeLoader::load(), MODECREATEEDGE, myNet, myViewNet, NETWORK, GNECreateEdgeFrame::EdgeTypeSelector::refreshEdgeTypeSelector(), NBTypeCont::size(), toString(), and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenForeign | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open foreign is executed
Definition at line 633 of file GNEApplicationWindow.cpp.
References NIFrame::checkOptions(), GNELoadThread::fillOptions(), gCurrentFolder, GUIIconSubSys::getIcon(), OptionsCont::getOptions(), loadConfigOrNet(), myViewNet, onCmdClose(), OPEN_NET, and OptionsCont::set().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open network is executed
Definition at line 593 of file GNEApplicationWindow.cpp.
References disableSaveAdditionalsMenu(), gCurrentFolder, GUIIconSubSys::getIcon(), loadConfigOrNet(), myFileMenuCommands, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentNetsAndConfigs, myViewNet, onCmdClose(), OPEN_NET, GNEApplicationWindowHelper::FileMenuCommands::saveEdgeTypes, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenRecent | ( | FXObject * | , |
FXSelector | , | ||
void * | fileData | ||
) |
called when the command/FXCall open recent is executed
Definition at line 758 of file GNEApplicationWindow.cpp.
References loadConfigOrNet(), myAmLoading, GUIMainWindow::myStatusbar, myViewNet, and onCmdClose().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenSUMOGUI | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hints ctrl + T
Definition at line 1859 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GUISUMOAbstractView::getChanger(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEViewNet::getNet(), GNENetHelper::AttributeCarriers::getNumberOfAdditionals(), GNENetHelper::AttributeCarriers::getNumberOfDemandElements(), OptionsCont::getOptions(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GNE_TAG_FLOW_JUNCTIONS, GNE_TAG_TRIP_JUNCTIONS, GNENet::isAdditionalsSaved(), GNENet::isDemandElementsSaved(), GNENet::isNetSaved(), FileHelpers::isReadable(), GNEApplicationWindowHelper::EditMenuCommands::loadAdditionalsInSUMOGUI, GNEApplicationWindowHelper::EditMenuCommands::loadDemandInSUMOGUI, myEditMenuCommands, myNet, myViewNet, onCmdSaveAdditionals(), onCmdSaveDemandElements(), onCmdSaveNetwork(), SysUtils::runHiddenCommand(), and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenTLSPrograms | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall open TLS programs is executed
Definition at line 680 of file GNEApplicationWindow.cpp.
References GNEUndoList::abortAllChangeGroups(), GNEUndoList::begin(), GNENet::computeNetwork(), GNEUndoList::end(), gCurrentFolder, GUIIconSubSys::getIcon(), GNEViewParent::getTLSEditorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), MODETLS, myNet, myUndoList, NETWORK, GNETLSEditorFrame::parseTLSPrograms(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOpenUndoListDialog | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2251 of file GNEApplicationWindow.cpp.
References myUndoListDialog, GNEUndoListDialog::open(), GNEUndoListDialog::setFocus(), and GNEUndoListDialog::shown().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdOptions | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user selects Processing->Configure Options
Definition at line 2164 of file GNEApplicationWindow.cpp.
References NBFrame::checkOptions(), NIFrame::checkOptions(), NWFrame::checkOptions(), and SystemFrame::checkOptions().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdPaste | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2305 of file GNEApplicationWindow.cpp.
References WRITE_DEBUG.
long GNEApplicationWindow::onCmdProcessButton | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press a process button (or a shortcut)
Definition at line 1758 of file GNEApplicationWindow.cpp.
References GNENet::adjustPersonPlans(), GNENet::cleanInvalidCrossings(), GNENet::cleanInvalidDemandElements(), GNENet::cleanUnusedRoutes(), GNENet::computeDemandElements(), computeJunctionWithVolatileOptions(), GNENet::computeNetwork(), GNEViewNet::getEditModes(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNENet::joinRoutes(), GNENet::joinSelectedJunctions(), MID_HOTKEY_F5_COMPUTE_NETWORK_DEMAND, MID_HOTKEY_F6_CLEAN_SOLITARYJUNCTIONS_UNUSEDROUTES, MID_HOTKEY_F7_JOIN_SELECTEDJUNCTIONS_ROUTES, MID_HOTKEY_F8_CLEANINVALID_CROSSINGS_DEMANDELEMENTS, MID_HOTKEY_SHIFT_F5_COMPUTEJUNCTIONS_VOLATILE, MID_HOTKEY_SHIFT_F7_ADJUST_PERSON_PLANS, myNet, myUndoList, myViewNet, GNENet::removeSolitaryJunctions(), updateControls(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdQuit | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called by FOX if the application shall be closed.
Definition at line 525 of file GNEApplicationWindow.cpp.
References continueWithUnsavedChanges(), gCurrentFolder, and GUIMainWindow::storeWindowSizeAndPos().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdRedo | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2215 of file GNEApplicationWindow.cpp.
References GNEViewNet::aksChangeSupermode(), GNEViewNetHelper::EditModes::currentSupermode, DATA, GNEViewParent::getCurrentShownFrame(), GNEViewNet::getEditModes(), GNEUndoList::getRedoSupermode(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), myEditMenuCommands, myUndoListDialog, myViewNet, onUpdRedo(), onUpdUndo(), GNEUndoList::redo(), GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, GNEUndoListDialog::shown(), GNEApplicationWindowHelper::EditMenuCommands::undoLastChange, GNEFrame::updateFrameAfterUndoRedo(), GNEUndoListDialog::updateList(), GNEViewParent::updateUndoRedoButtons(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdReload | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload is executed
Definition at line 782 of file GNEApplicationWindow.cpp.
References closeAllWindows(), continueWithUnsavedChanges(), GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, disableSaveAdditionalsMenu(), OptionsCont::getOptions(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands(), loadConfigOrNet(), GNEApplicationWindowHelper::ToolbarsGrip::menu, myEditMenuCommands, myFileMenuCommands, myModesMenuCommands, mySupermodeCommands, myToolbarsGrip, myViewNet, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, and GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdReloadAdditionals | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload additionals is executed
Definition at line 3182 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNENet::clearAdditionalElements(), DEMAND, GNEUndoList::end(), OptionsCont::getOptions(), OptionsCont::getString(), myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODENETWORK, and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdReloadDataElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload data elements is executed
Definition at line 3531 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNENet::clearDemandElements(), DATA, GNEViewNetHelper::IntervalBar::disableIntervalBarUpdate(), GNENet::disableUpdateData(), GNEViewNetHelper::IntervalBar::enableIntervalBarUpdate(), GNENet::enableUpdateData(), GNEUndoList::end(), GNEViewNet::getIntervalBar(), GNEViewNet::getNet(), OptionsCont::getOptions(), OptionsCont::getString(), myNet, myUndoList, myViewNet, DataHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDATA, and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdReloadDemandElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload demand elements is executed
Definition at line 3353 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNENet::clearDemandElements(), DEMAND, GNEUndoList::end(), OptionsCont::getOptions(), OptionsCont::getString(), myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDEMAND, and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdRunNetDiff | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall run NetDiff is executed
Definition at line 849 of file GNEApplicationWindow.cpp.
References gCurrentFolder, getFolder(), GUIIconSubSys::getIcon(), GNEViewNet::getNet(), OptionsCont::getOptions(), OptionsCont::getString(), GNENet::isNetSaved(), FileHelpers::isReadable(), myViewNet, onCmdSaveNetwork(), OPEN_NET, SysUtils::runHiddenCommand(), WRITE_ERROR, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveAdditionals | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save additionals is executed
Definition at line 3219 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), GNENet::computeNetwork(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, MODEADDITIONAL, myFileMenuCommands, myMessageWindow, myNet, OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, GNENet::saveAdditionals(), OptionsCont::set(), and WRITE_DEBUG.
Referenced by continueWithUnsavedAdditionalChanges(), FXDEFMAP(), onCmdOpenSUMOGUI(), onCmdSaveAdditionalsAs(), and onCmdSaveAllElements().
long GNEApplicationWindow::onCmdSaveAdditionalsAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save additionals as is executed
Definition at line 3278 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MODEADDITIONAL, myFileMenuCommands, onCmdSaveAdditionals(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals, and OptionsCont::set().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveAllElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save all elements is executed
Definition at line 2916 of file GNEApplicationWindow.cpp.
References GNENet::isAdditionalsSaved(), GNENet::isDataElementsSaved(), GNENet::isDemandElementsSaved(), GNENet::isNetSaved(), myNet, onCmdSaveAdditionals(), onCmdSaveDataElements(), onCmdSaveDemandElements(), and onCmdSaveNetwork().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveAsNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save network as is executed
Definition at line 2349 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), MFXUtils::getTitleText(), myTitlePrefix, onCmdSaveNetwork(), OptionsCont::resetWritable(), SAVE, and OptionsCont::set().
Referenced by FXDEFMAP(), and onCmdSaveNetwork().
long GNEApplicationWindow::onCmdSaveAsPlainXML | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save as plain xml is executed
Definition at line 2370 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), StringUtils::endsWith(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), MESSAGE_OCCURRED, myMessageWindow, myNet, OptionsCont::resetWritable(), SAVE, GNENet::savePlain(), OptionsCont::set(), OptionsCont::unSet(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveDataElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save data elements is executed
Definition at line 3577 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, myFileMenuCommands, myMessageWindow, myNet, OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, GNENet::saveDataElements(), OptionsCont::set(), SUPERMODEDATA, and WRITE_DEBUG.
Referenced by continueWithUnsavedDataElementChanges(), FXDEFMAP(), onCmdSaveAllElements(), and onCmdSaveDataElementsAs().
long GNEApplicationWindow::onCmdSaveDataElementsAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save data elements as is executed
Definition at line 3634 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), myFileMenuCommands, onCmdSaveDataElements(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveDataElements, OptionsCont::set(), and SUPERMODEDATA.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveDemandElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save demand elements is executed
Definition at line 3390 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, myFileMenuCommands, myMessageWindow, myNet, OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, GNENet::saveDemandElements(), OptionsCont::set(), SUPERMODEDEMAND, and WRITE_DEBUG.
Referenced by continueWithUnsavedDemandElementChanges(), FXDEFMAP(), onCmdOpenSUMOGUI(), onCmdSaveAllElements(), and onCmdSaveDemandElementsAs().
long GNEApplicationWindow::onCmdSaveDemandElementsAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save demand elements as is executed
Definition at line 3447 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), myFileMenuCommands, onCmdSaveDemandElements(), OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements, OptionsCont::set(), and SUPERMODEDEMAND.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveEdgeTypes | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save edge types is executed
Definition at line 3023 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, MODECREATEEDGE, myFileMenuCommands, myMessageWindow, myNet, OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveEdgeTypes, GNENet::saveEdgeTypes(), OptionsCont::set(), and WRITE_DEBUG.
Referenced by FXDEFMAP(), and onCmdSaveEdgeTypesAs().
long GNEApplicationWindow::onCmdSaveEdgeTypesAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save edgeTypes as is executed
Definition at line 3111 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MODECREATEEDGE, onCmdSaveEdgeTypes(), and OptionsCont::set().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveJoined | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save joined is executed
Definition at line 2427 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), MESSAGE_OCCURRED, myMessageWindow, myNet, OptionsCont::resetWritable(), SAVE, GNENet::saveJoined(), OptionsCont::set(), OptionsCont::unSet(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSaveNetwork | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save network is executed
Definition at line 2935 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isDefault(), MESSAGE_OCCURRED, myMenuBarFile, myMessageWindow, myNet, GNEApplicationWindowHelper::MenuBarFile::myRecentNetsAndConfigs, onCmdSaveAsNetwork(), GNENet::save(), and WRITE_DEBUG.
Referenced by continueWithUnsavedChanges(), FXDEFMAP(), onCmdOpenSUMOGUI(), onCmdRunNetDiff(), onCmdSaveAllElements(), and onCmdSaveAsNetwork().
long GNEApplicationWindow::onCmdSaveTLSPrograms | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save TLSPrograms is executed
Definition at line 2965 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), GUIMessageWindow::addSeparator(), GUIMessageWindow::appendMsg(), GNENet::computeNetwork(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MESSAGE_OCCURRED, MODETLS, myFileMenuCommands, myMessageWindow, myNet, OptionsCont::resetWritable(), GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms, GNENet::saveTLSPrograms(), OptionsCont::set(), and WRITE_DEBUG.
Referenced by FXDEFMAP(), and onCmdSaveTLSProgramsAs().
long GNEApplicationWindow::onCmdSaveTLSProgramsAs | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall save TLSPrograms as is executed
Definition at line 3080 of file GNEApplicationWindow.cpp.
References FileHelpers::addExtension(), gCurrentFolder, MFXUtils::getFilename2Write(), getFolder(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), OptionsCont::getString(), MODETLS, onCmdSaveTLSPrograms(), OptionsCont::resetWritable(), and OptionsCont::set().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSetFrontElement | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called if the user call set front element
Definition at line 2100 of file GNEApplicationWindow.cpp.
References GNEViewNet::getFrontAttributeCarrier(), GNEViewNet::getInspectedAttributeCarriers(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getNeteditAttributesEditor(), GNEViewNet::getViewParent(), myViewNet, GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), and GNEViewNet::setFrontAttributeCarrier().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSetMode | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits an edit-mode hotkey
Definition at line 1671 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::onCmdSetMode().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSetSuperMode | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user hits an edit-supermode hotkey
Definition at line 1661 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::onCmdSetSupermode().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdSetTemplate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 2313 of file GNEApplicationWindow.cpp.
References GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, GNEInspectorFrame::TemplateEditor::setTemplate(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdToggleEditOptions | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | |||
) |
called if the user press key combination Alt + <0-9>
Definition at line 2121 of file GNEApplicationWindow.cpp.
References GNEViewNet::getDataViewOptions(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::DataViewOptions::getVisibleDataMenuCommands(), GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands(), GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands(), MID_HOTKEY_ALT_0_TOGGLEEDITOPTION, myViewNet, GNEApplicationWindowHelper::toggleEditOptionsData(), GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdToggleGrid | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called if the user press key combination Ctrl + G to toggle grid
Definition at line 2081 of file GNEApplicationWindow.cpp.
References GUISUMOAbstractView::getVisualisationSettings(), myViewNet, GNEViewNet::onCmdToggleShowGrid(), GUIVisualizationSettings::showGrid, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdToggleViewOption | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | ptr | ||
) |
toggle viewOption
Definition at line 2593 of file GNEApplicationWindow.cpp.
References MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, GNEViewNet::onCmdToggleAutoOppositeEdge(), GNEViewNet::onCmdToggleChainEdges(), GNEViewNet::onCmdToggleChangeAllPhases(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdToggleExtendSelection(), GNEViewNet::onCmdToggleHideConnections(), GNEViewNet::onCmdToggleHideNonInspecteDemandElements(), GNEViewNet::onCmdToggleHideShapes(), GNEViewNet::onCmdToggleLockContainer(), GNEViewNet::onCmdToggleLockPerson(), GNEViewNet::onCmdToggleMoveElevation(), GNEViewNet::onCmdToggleSelectEdges(), GNEViewNet::onCmdToggleShowAdditionals(), GNEViewNet::onCmdToggleShowAdditionalSubElements(), GNEViewNet::onCmdToggleShowAllContainerPlans(), GNEViewNet::onCmdToggleShowAllPersonPlans(), GNEViewNet::onCmdToggleShowConnections(), GNEViewNet::onCmdToggleShowDemandElementsData(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), GNEViewNet::onCmdToggleShowGrid(), GNEViewNet::onCmdToggleShowJunctionBubbles(), GNEViewNet::onCmdToggleShowOverlappedRoutes(), GNEViewNet::onCmdToggleShowShapes(), GNEViewNet::onCmdToggleShowTrips(), GNEViewNet::onCmdToggleTAZRelDrawing(), GNEViewNet::onCmdToggleTAZRelOnlyFrom(), GNEViewNet::onCmdToggleTAZRelOnlyTo(), and GNEViewNet::onCmdToggleWarnAboutMerge().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdUndo | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when user press Ctrl+Z
Definition at line 2179 of file GNEApplicationWindow.cpp.
References GNEViewNet::aksChangeSupermode(), GNEViewNetHelper::EditModes::currentSupermode, DATA, GNEViewParent::getCurrentShownFrame(), GNEViewNet::getEditModes(), GNEViewNet::getUndoList(), GNEUndoList::getUndoSupermode(), GNEViewNet::getViewParent(), myEditMenuCommands, myUndoListDialog, myViewNet, onUpdRedo(), onUpdUndo(), GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, GNEUndoListDialog::shown(), GNEUndoList::undo(), GNEApplicationWindowHelper::EditMenuCommands::undoLastChange, GNEFrame::updateFrameAfterUndoRedo(), GNEUndoListDialog::updateList(), GNEViewParent::updateUndoRedoButtons(), and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onCmdUnlockAllElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press unlock all elements button
Definition at line 1699 of file GNEApplicationWindow.cpp.
References GNEViewNet::getLockManager(), myLockMenuCommands, myViewNet, GNEApplicationWindowHelper::LockMenuCommands::unlockAll(), and GNEViewNetHelper::LockManager::updateFlags().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onKeyPress | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
called when a key is pressed
Definition at line 4016 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyPress().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onKeyRelease | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
called when a key is released
Definition at line 4029 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyRelease().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onLoadThreadEvent | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall load thread is executed
Definition at line 974 of file GNEApplicationWindow.cpp.
References eventOccurred().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdComputePathManager | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when the update/FXCall compute path manager is executed
Definition at line 2571 of file GNEApplicationWindow.cpp.
References GNEViewNet::getEditModes(), GNEViewNet::getNet(), GNEPathManager::getPathCalculator(), GNENet::getPathManager(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), and myViewNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdLockMenuTitle | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
enable or disable lock menu title
Definition at line 1717 of file GNEApplicationWindow.cpp.
References DATA_DELETE, DATA_INSPECT, DATA_SELECT, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_SELECT, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNet::getEditModes(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), myLockMenuTitle, myViewNet, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_SELECT, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdNeedsFrontElement | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall needs front element is executed
Definition at line 2490 of file GNEApplicationWindow.cpp.
References GNEViewNet::getFrontAttributeCarrier(), myNet, and myViewNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdNeedsNetwork | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall needs network is executed
Definition at line 2478 of file GNEApplicationWindow.cpp.
References myNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdOpen | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall on update open executed
Definition at line 922 of file GNEApplicationWindow.cpp.
References myAmLoading.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdOpenUndoListDialog | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
Definition at line 2263 of file GNEApplicationWindow.cpp.
References GNEUndoListDialog::hide(), myNet, myUndoListDialog, and GNEUndoListDialog::shown().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdRedo | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when the update/FXCall redo is executed
Definition at line 2565 of file GNEApplicationWindow.cpp.
References myUndoList, and GNEUndoList::onUpdRedo().
Referenced by FXDEFMAP(), onCmdRedo(), and onCmdUndo().
long GNEApplicationWindow::onUpdReload | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall reload is executed
Definition at line 2502 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), and myNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdReloadAdditionals | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload additionals is updated
Definition at line 3207 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), myFileMenuCommands, and GNEApplicationWindowHelper::FileMenuCommands::reloadAdditionals.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdReloadDataElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload data elements is updated
Definition at line 3565 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), myFileMenuCommands, and GNEApplicationWindowHelper::FileMenuCommands::reloadDataElements.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdReloadDemandElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when the command/FXCall reload demand elements is updated
Definition at line 3378 of file GNEApplicationWindow.cpp.
References OptionsCont::getOptions(), myFileMenuCommands, and GNEApplicationWindowHelper::FileMenuCommands::reloadDemandElements.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdRequireViewNet | ( | FXObject * | sender, |
FXSelector | sel, | ||
void * | ptr | ||
) |
enable or disable sender object depending if viewNet exist
Definition at line 2053 of file GNEApplicationWindow.cpp.
References myViewNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdSaveAdditionals | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall save additionals is executed
Definition at line 2538 of file GNEApplicationWindow.cpp.
References GNENet::isAdditionalsSaved(), and myNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdSaveAllElements | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall save all elements is executed
Definition at line 2509 of file GNEApplicationWindow.cpp.
References GNENet::isAdditionalsSaved(), GNENet::isDataElementsSaved(), GNENet::isDemandElementsSaved(), GNENet::isNetSaved(), and myNet.
long GNEApplicationWindow::onUpdSaveDataElements | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall save data elements is executed
Definition at line 2552 of file GNEApplicationWindow.cpp.
References GNENet::isDataElementsSaved(), and myNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdSaveDemandElements | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall save demand elements is executed
Definition at line 2545 of file GNEApplicationWindow.cpp.
References GNENet::isDemandElementsSaved(), and myNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdSaveNetwork | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
called when the update/FXCall save network is executed
Definition at line 2531 of file GNEApplicationWindow.cpp.
References GNENet::isNetSaved(), and myNet.
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdToggleViewOption | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | |||
) |
update viewOption
Definition at line 2670 of file GNEApplicationWindow.cpp.
References MFXCheckableButton::amChecked(), GNEViewNet::getDataViewOptions(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DataViewOptions::menuCheckToogleTAZDrawFill, GNEViewNetHelper::DataViewOptions::menuCheckToogleTAZRelDrawing, GNEViewNetHelper::DataViewOptions::menuCheckToogleTAZRelOnlyFrom, GNEViewNetHelper::DataViewOptions::menuCheckToogleTAZRelOnlyTo, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, and FXMenuCheckIcon::setCheck().
Referenced by FXDEFMAP().
long GNEApplicationWindow::onUpdUndo | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | ptr | ||
) |
called when the update/FXCall undo is executed
Definition at line 2559 of file GNEApplicationWindow.cpp.
References myUndoList, and GNEUndoList::onUpdUndo().
Referenced by FXDEFMAP(), onCmdRedo(), and onCmdUndo().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
removes the given child window from the list (FXMainWindow)
Definition at line 117 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints(), GUIDialog_ChooserAbstract::~GUIDialog_ChooserAbstract(), GUIDialog_GLChosenEditor::~GUIDialog_GLChosenEditor(), GUIParameterTableWindow::~GUIParameterTableWindow(), GUIParameterTracker::~GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::~GUITLLogicPhasesTrackerWindow().
|
inherited |
removes the given child window from the list (GUIGlChildWindow)
Definition at line 100 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows.
Referenced by GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIApplicationWindow.
Definition at line 155 of file GUIMainWindow.h.
Referenced by GUIViewTraffic::retrieveBreakpoints(), and GUIMessageWindow::setCursorPos().
|
inlinevirtualinherited |
Sends an event from the application thread to the GUI and waits until it is handled.
event | the event to send |
Reimplemented in GUIApplicationWindow.
Definition at line 138 of file GUIMainWindow.h.
References UNUSED_PARAMETER.
|
inlinevirtualinherited |
Sets the breakpoints of the parent application.
Reimplemented in GUIApplicationWindow.
Definition at line 133 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::setBreakpoints(), and GUIMessageWindow::setCursorPos().
|
inlinevirtualinherited |
Sets the delay of the parent application.
Reimplemented in GUIApplicationWindow.
Definition at line 130 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::setDelay().
|
virtual |
set text of the statusBar
Reimplemented from GUIMainWindow.
Definition at line 1385 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myStatusbar.
Referenced by GNENet::computeDataElements(), GNENet::computeDemandElements(), GNENet::computeNetwork(), handleEvent_NetworkLoaded(), and loadConfigOrNet().
|
protectedinherited |
perform initial window positioning and sizing according to user options / previous call
Definition at line 243 of file GUIMainWindow.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), StringUtils::toInt(), toString(), and WRITE_ERROR.
Referenced by GUIApplicationWindow::create(), create(), handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
protectedinherited |
record window position and size in registry
Definition at line 283 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIApplicationWindow::loadConfigOrNet(), loadConfigOrNet(), GUIApplicationWindow::onCmdQuit(), onCmdQuit(), and GUIApplicationWindow::onCmdReload().
|
inherited |
update childrens
Definition at line 169 of file GUIMainWindow.cpp.
References MID_SIMSTEP, GUIMainWindow::myMDIClient, GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIApplicationWindow::handleEvent_SimulationStep(), GUIDialog_GLChosenEditor::onCmdClear(), GUIDialog_GLChosenEditor::onCmdDeselect(), and GUIApplicationWindow::onCmdEditChosen().
void GNEApplicationWindow::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 3887 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::updateControls().
Referenced by computeJunctionWithVolatileOptions(), onCmdProcessButton(), GNEUndoList::redo(), and GNEUndoList::undo().
void GNEApplicationWindow::updateSuperModeMenuCommands | ( | const Supermode | supermode | ) |
update FXMenuCommands depending of supermode
Definition at line 3896 of file GNEApplicationWindow.cpp.
References DATA, GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, DEMAND, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideDataProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideDemandProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideNetworkProcessingMenuCommands(), myLockMenuCommands, myModesMenuCommands, myProcessingMenuCommands, NETWORK, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys(), GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::showDataMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showDataProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::showDemandMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showDemandProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::showNetworkMenuCommands(), and GNEApplicationWindowHelper::ProcessingMenuCommands::showNetworkProcessingMenuCommands().
|
protectedinherited |
fox need this
whether to show the window in full screen mode
Definition at line 164 of file GUIMainWindow.h.
Referenced by GUIMainWindow::isFullScreen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), and GUIMainWindow::storeWindowSizeAndPos().
|
protectedinherited |
information whether the gui is currently in gaming mode
Definition at line 196 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::handleEvent_SimulationStep(), GUIMainWindow::isGaming(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), and GUIApplicationWindow::updateTimeLCD().
|
protected |
information whether the gui is currently loading and the load-options shall be greyed out
Definition at line 458 of file GNEApplicationWindow.h.
Referenced by handleEvent_NetworkLoaded(), loadConfigOrNet(), onCmdOpenRecent(), and onUpdOpen().
|
protectedinherited |
Font used for popup-menu titles.
Definition at line 174 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Definition at line 193 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Labels for the current cartesian and geo-coordinate.
Definition at line 186 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getCartesianLabel().
|
protectedinherited |
Definition at line 188 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::create(), create(), GUIApplicationWindow::dependentBuild(), and dependentBuild().
|
protected |
Input file pattern.
Definition at line 507 of file GNEApplicationWindow.h.
Referenced by onCmdOpenConfiguration().
|
protected |
Definition at line 468 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Edit Menu Commands.
Definition at line 526 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getEditMenuCommands(), onCmdClose(), onCmdOpenSUMOGUI(), onCmdRedo(), onCmdReload(), and onCmdUndo().
|
protected |
List of got requests.
Definition at line 489 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), eventOccurred(), and ~GNEApplicationWindow().
|
protectedinherited |
Fallback font for extended characters support.
Definition at line 177 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getFallbackFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protected |
the submenus
Definition at line 461 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 464 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
private |
File Menu Commands.
Definition at line 520 of file GNEApplicationWindow.h.
Referenced by continueWithUnsavedAdditionalChanges(), continueWithUnsavedDataElementChanges(), continueWithUnsavedDemandElementChanges(), disableSaveAdditionalsMenu(), disableSaveDataElementsMenu(), disableSaveDemandElementsMenu(), enableSaveAdditionalsMenu(), enableSaveDataElementsMenu(), enableSaveDemandElementsMenu(), enableSaveTLSProgramsMenu(), fillMenuBar(), onCmdClose(), onCmdOpenNetwork(), onCmdReload(), onCmdSaveAdditionals(), onCmdSaveAdditionalsAs(), onCmdSaveDataElements(), onCmdSaveDataElementsAs(), onCmdSaveDemandElements(), onCmdSaveDemandElementsAs(), onCmdSaveEdgeTypes(), onCmdSaveTLSPrograms(), onUpdReloadAdditionals(), onUpdReloadDataElements(), and onUpdReloadDemandElements().
|
protected |
Definition at line 466 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 465 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 463 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 462 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
protectedinherited |
Definition at line 186 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getGeoLabel().
|
protectedinherited |
Definition at line 188 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::create(), create(), GUIApplicationWindow::dependentBuild(), and dependentBuild().
|
protectedinherited |
The gl-visual used.
Definition at line 191 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getGLVisual(), ~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().
|
protectedinherited |
Definition at line 166 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addGLChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::getViewByID(), GUIMainWindow::getViewIDs(), GUIMainWindow::getViews(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIApplicationWindow::onCmdEditViewport(), GUIApplicationWindow::onCmdEditViewScheme(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdNetedit(), and GUIMainWindow::removeGLChild().
|
protected |
check if had dependent build
Definition at line 495 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
protected |
Definition at line 474 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
staticprotectedinherited |
the singleton window instance
Definition at line 208 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getInstance(), and GUIMainWindow::GUIMainWindow().
|
protectedinherited |
Definition at line 193 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
information whether the locator should list internal structures
Definition at line 199 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listInternal(), and GUIApplicationWindow::onCmdListInternal().
|
protectedinherited |
information whether the locator should list parking vehicles
Definition at line 202 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::fillMenuBar(), GUIMainWindow::listParking(), and GUIApplicationWindow::onCmdListParking().
|
protectedinherited |
information whether the locator should list teleporting vehicles
Definition at line 205 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listTeleporting(), and GUIApplicationWindow::onCmdListTeleporting().
|
protected |
the thread that loads the network
Definition at line 455 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), loadConfigOrNet(), and ~GNEApplicationWindow().
|
protected |
io-event with the load-thread
Definition at line 492 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
private |
Locate Menu Commands.
Definition at line 535 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
protected |
Definition at line 471 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
protected |
Definition at line 469 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Lock Menu Commands.
Definition at line 529 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getLockMenuCommands(), onCmdLockAllElements(), onCmdUnlockAllElements(), and updateSuperModeMenuCommands().
|
protected |
menu title for lock
Definition at line 480 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and onUpdLockMenuTitle().
|
protected |
The splitter that divides the main window into view and the log window.
Definition at line 486 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
protectedinherited |
The multi view panel.
Definition at line 180 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::dependentBuild(), dependentBuild(), GUIApplicationWindow::fillMenuBar(), GUIMainWindow::getActiveView(), GUIApplicationWindow::getBuildGLCanvas(), handleEvent_NetworkLoaded(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdLocate(), onCmdLocate(), GUIApplicationWindow::onCmdOpenEdgeData(), GUIApplicationWindow::onCmdOpenShapes(), GUIApplicationWindow::onCmdShowStats(), GUIApplicationWindow::onKeyPress(), onKeyPress(), GUIApplicationWindow::onKeyRelease(), onKeyRelease(), GUIApplicationWindow::openNewView(), and GUIMainWindow::updateChildren().
|
private |
The menu used for the MDI-windows.
Definition at line 553 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), and handleEvent_NetworkLoaded().
|
private |
MenuBarFile.
Definition at line 517 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), onCmdOpenConfiguration(), onCmdOpenNetwork(), and onCmdSaveNetwork().
|
protected |
A window to display messages, warnings and error in.
Definition at line 483 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), computeJunctionWithVolatileOptions(), dependentBuild(), fillMenuBar(), handleEvent_Message(), handleEvent_NetworkLoaded(), onCmdClearMsgWindow(), onCmdClose(), onCmdSaveAdditionals(), onCmdSaveAsPlainXML(), onCmdSaveDataElements(), onCmdSaveDemandElements(), onCmdSaveEdgeTypes(), onCmdSaveJoined(), onCmdSaveNetwork(), and onCmdSaveTLSPrograms().
|
protected |
Definition at line 467 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Modes Menu Commands.
Definition at line 523 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), loadConfigOrNet(), onCmdClose(), onCmdReload(), and updateSuperModeMenuCommands().
|
protected |
menu title for modes
Definition at line 477 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
protected |
we are responsible for the net
Definition at line 498 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), computeJunctionWithVolatileOptions(), continueWithUnsavedChanges(), handleEvent_NetworkLoaded(), onCmdOpenAdditionals(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenEdgeTypes(), onCmdOpenSUMOGUI(), onCmdOpenTLSPrograms(), onCmdProcessButton(), onCmdReloadAdditionals(), onCmdReloadDataElements(), onCmdReloadDemandElements(), onCmdSaveAdditionals(), onCmdSaveAllElements(), onCmdSaveAsPlainXML(), onCmdSaveDataElements(), onCmdSaveDemandElements(), onCmdSaveEdgeTypes(), onCmdSaveJoined(), onCmdSaveNetwork(), onCmdSaveTLSPrograms(), onUpdNeedsFrontElement(), onUpdNeedsNetwork(), onUpdOpenUndoListDialog(), onUpdReload(), onUpdSaveAdditionals(), onUpdSaveAllElements(), onUpdSaveDataElements(), onUpdSaveDemandElements(), and onUpdSaveNetwork().
|
protected |
Definition at line 470 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Processing Menu Commands.
Definition at line 532 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and updateSuperModeMenuCommands().
|
protectedinherited |
Definition at line 193 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
The status bar.
Definition at line 183 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::dependentBuild(), dependentBuild(), GUIApplicationWindow::fillMenuBar(), fillMenuBar(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdOpenRecent(), onCmdOpenRecent(), GUIApplicationWindow::onCmdStart(), GUIApplicationWindow::onCmdStep(), GUIApplicationWindow::openNewView(), setStatusBarText(), and GUIApplicationWindow::setStatusBarText().
|
private |
Supermode Commands.
Definition at line 544 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), loadConfigOrNet(), onCmdClose(), and onCmdReload().
|
private |
the prefix for the window title
Definition at line 550 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), handleEvent_NetworkLoaded(), and onCmdSaveAsNetwork().
|
private |
Toolbars Grip.
Definition at line 514 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getToolbarsGrip(), and onCmdReload().
|
protected |
Definition at line 472 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Tools Menu Commands.
Definition at line 538 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
protectedinherited |
Definition at line 193 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::buildToolBars(), GUIApplicationWindow::dependentBuild(), GUIMainWindow::getTopDock(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
A lock to make the removal and addition of trackers secure.
Definition at line 171 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protectedinherited |
Definition at line 168 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protected |
the one and only undo list
Definition at line 501 of file GNEApplicationWindow.h.
Referenced by clearUndoList(), getUndoList(), handleEvent_NetworkLoaded(), onCmdOpenAdditionals(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenTLSPrograms(), onCmdProcessButton(), onCmdReloadAdditionals(), onCmdReloadDataElements(), onCmdReloadDemandElements(), onUpdRedo(), onUpdUndo(), and ~GNEApplicationWindow().
|
protected |
undoList dialog
Definition at line 504 of file GNEApplicationWindow.h.
Referenced by getUndoListDialog(), onCmdOpenUndoListDialog(), onCmdRedo(), onCmdUndo(), onUpdOpenUndoListDialog(), and ~GNEApplicationWindow().
|
protected |
string to check if undo/redo list is enabled (a String is used to keep the disabling reason)
Definition at line 510 of file GNEApplicationWindow.h.
Referenced by disableUndoRedo(), enableUndoRedo(), and isUndoRedoEnabled().
|
private |
pointer to current view net
Definition at line 547 of file GNEApplicationWindow.h.
Referenced by clearUndoList(), closeAllWindows(), continueWithUnsavedAdditionalChanges(), continueWithUnsavedChanges(), continueWithUnsavedDataElementChanges(), continueWithUnsavedDemandElementChanges(), getViewNet(), handleEvent_NetworkLoaded(), onCmdAbort(), onCmdBackspace(), onCmdClearTemplate(), onCmdComputePathManager(), onCmdCopyTemplate(), onCmdDel(), onCmdEditViewport(), onCmdEditViewScheme(), onCmdEnter(), onCmdFocusFrame(), onCmdForceSaveAdditionals(), onCmdForceSaveDataElements(), onCmdForceSaveDemandElements(), onCmdForceSaveNetwork(), onCmdLockAllElements(), onCmdLockElements(), onCmdLockSelectElements(), onCmdNewNetwork(), onCmdOpenConfiguration(), onCmdOpenDataElements(), onCmdOpenEdgeTypes(), onCmdOpenForeign(), onCmdOpenNetwork(), onCmdOpenRecent(), onCmdOpenSUMOGUI(), onCmdProcessButton(), onCmdRedo(), onCmdReload(), onCmdReloadDataElements(), onCmdRunNetDiff(), onCmdSetFrontElement(), onCmdSetMode(), onCmdSetSuperMode(), onCmdSetTemplate(), onCmdToggleEditOptions(), onCmdToggleGrid(), onCmdToggleViewOption(), onCmdUndo(), onCmdUnlockAllElements(), onUpdComputePathManager(), onUpdLockMenuTitle(), onUpdNeedsFrontElement(), onUpdRequireViewNet(), onUpdToggleViewOption(), and updateControls().
|
protected |
Definition at line 473 of file GNEApplicationWindow.h.
Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Windows Menu Commands.
Definition at line 541 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().