![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for File menu commands More...
#include <GNEApplicationWindowHelper.h>
Public Member Functions | |
| void | buildFileMenuCommands (FXMenuPane *fileMenu, FXMenuPane *fileMenuNEEDITConfig, FXMenuPane *fileMenuSumoConfig, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements, FXMenuPane *fileMenuMeanDataElements) |
| build menu commands | |
| void | disableMenuCascades () |
| disable menu cascades | |
| void | enableMenuCascades () |
| enable menu cascades | |
| FileMenuCommands (GNEApplicationWindow *applicationWindow) | |
| constructor | |
| void | setDefaultView () |
| set default view | |
| void | setJuPedSimView () |
| set JuPedSim view | |
Data Fields | |
| FXMenuCheck * | menuCheckAllowUndoRedoLoading = nullptr |
| checkBox for allow undo-redo loading | |
Private Member Functions | |
| void | buildAdditionalSection (FXMenuPane *menuPane) |
| build additional section | |
| void | buildDataSection (FXMenuPane *menuPane) |
| build data section | |
| void | buildDemandSection (FXMenuPane *menuPane) |
| build demand section | |
| void | buildEdgeTypeSection (FXMenuPane *menuPane) |
| build edge type section | |
| void | buildMeanDataSection (FXMenuPane *menuPane) |
| build meanData section | |
| void | buildNeteditConfigSection (FXMenuPane *menuPane) |
| build netedit config section | |
| void | buildSumoConfigSection (FXMenuPane *menuPane) |
| build SUMO Config section | |
| void | buildTrafficLightSection (FXMenuPane *menuPane) |
| build traffic light section | |
| FileMenuCommands (const FileMenuCommands &)=delete | |
| Invalidated copy constructor. | |
| FileMenuCommands & | operator= (const FileMenuCommands &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| FXMenuCascade * | myAdditionalMenuCascade = nullptr |
| FXMenuCascade for additional. | |
| GNEApplicationWindow * | myApplicationWindow = nullptr |
| pointer to current GNEApplicationWindow | |
| FXMenuCascade * | myDataMenuCascade = nullptr |
| FXMenuCascade for data. | |
| FXMenuCascade * | myDemandMenuCascade = nullptr |
| FXMenuCascade for demand. | |
| FXMenuCascade * | myEdgeTypesMenuCascade = nullptr |
| FXMenuCascade for edgeTypes. | |
| FXMenuCascade * | myMeanDataMenuCascade = nullptr |
| FXMenuCascade for mean data. | |
| FXMenuCascade * | myNeteditConfigMenuCascade = nullptr |
| FXMenuCascade for neteditConfig. | |
| FXMenuCascade * | mySumoConfigMenuCascade = nullptr |
| FXMenuCascade for SumoConfig. | |
| FXMenuCascade * | myTLSMenuCascade = nullptr |
| FXMenuCascade for TLS. | |
struct for File menu commands
Definition at line 157 of file GNEApplicationWindowHelper.h.
| GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands | ( | GNEApplicationWindow * | applicationWindow | ) |
constructor
Definition at line 190 of file GNEApplicationWindowHelper.cpp.
References myApplicationWindow.
Referenced by FileMenuCommands(), and operator=().
|
privatedelete |
Invalidated copy constructor.
References FileMenuCommands().
|
private |
build additional section
Definition at line 445 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_ADDITIONALELEMENTS, MID_GNE_TOOLBARFILE_SAVEADDITIONALELEMENTS_UNIFIED, MID_GNE_TOOLBARFILE_SAVEJUPEDSIMELEMENTS_AS, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALELEMENTS, MID_HOTKEY_CTRL_SHIFT_A_SAVEADDITIONALELEMENTS, myApplicationWindow, OPEN_ADDITIONALS, RELOAD, SAVE_ADDITIONALELEMENTS, SAVE_JUPEDSIMELEMENTS, and TL.
Referenced by buildFileMenuCommands().
|
private |
build data section
Definition at line 497 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_DATAELEMENTS, MID_GNE_TOOLBARFILE_SAVEDATAELEMENTS_UNIFIED, MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS, MID_HOTKEY_CTRL_SHIFT_B_SAVEDATAELEMENTS, myApplicationWindow, OPEN_ADDITIONALS, RELOAD, SAVE_DATAELEMENTS, and TL.
Referenced by buildFileMenuCommands().
|
private |
build demand section
Definition at line 473 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_DEMANDELEMENTS, MID_GNE_TOOLBARFILE_SAVEDEMANDELEMENTS_UNIFIED, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_SHIFT_D_SAVEDEMANDELEMENTS, myApplicationWindow, OPEN_ADDITIONALS, RELOAD, SAVE_DEMANDELEMENTS, and TL.
Referenced by buildFileMenuCommands().
|
private |
build edge type section
Definition at line 421 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_EDGETYPES, MID_GNE_TOOLBARFILE_SAVEEDGETYPES_AS, MID_HOTKEY_CTRL_H_APPSETTINGS_OPENEDGETYPES, MID_HOTKEY_CTRL_SHIFT_H_SAVEEDGETYPES, myApplicationWindow, OPEN_TLSPROGRAMS, RELOAD, SAVE, and TL.
Referenced by buildFileMenuCommands().
| void GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands | ( | FXMenuPane * | fileMenu, |
| FXMenuPane * | fileMenuNEEDITConfig, | ||
| FXMenuPane * | fileMenuSumoConfig, | ||
| FXMenuPane * | fileMenuTLS, | ||
| FXMenuPane * | fileMenuEdgeTypes, | ||
| FXMenuPane * | fileMenuAdditionals, | ||
| FXMenuPane * | fileMenuDemandElements, | ||
| FXMenuPane * | fileMenuDataElements, | ||
| FXMenuPane * | fileMenuMeanDataElements ) |
build menu commands
Definition at line 196 of file GNEApplicationWindowHelper.cpp.
References buildAdditionalSection(), buildDataSection(), buildDemandSection(), buildEdgeTypeSection(), GUIDesigns::buildFXMenuCheckbox(), GUIDesigns::buildFXMenuCommandShortcut(), buildMeanDataSection(), buildNeteditConfigSection(), buildSumoConfigSection(), buildTrafficLightSection(), CLOSE, GUIIconSubSys::getIcon(), menuCheckAllowUndoRedoLoading, MID_GNE_NETGENERATE, MID_GNE_SAVEJOINEDJUNCTIONS, MID_GNE_TOGGLE_UNDOREDO_LOADING, MID_GNE_TOOLBARFILE_OPENFOREIGN, MID_GNE_TOOLBARFILE_RELOADNETWORK, MID_GNE_TOOLBARFILE_SAVENETWORK_AS, MID_HOTKEY_CTRL_E_EDITSELECTION_LOADNETEDITCONFIG, MID_HOTKEY_CTRL_L_SAVEASPLAINXML, MID_HOTKEY_CTRL_M_OPENSUMOCONFIG, MID_HOTKEY_CTRL_N_OPENNETWORK_NEWNETWORK, MID_HOTKEY_CTRL_O_OPENSIMULATION_OPENNETWORK, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_N_NEWWINDOW, MID_HOTKEY_CTRL_SHIFT_O_OPENNETCONVERTFILE, MID_HOTKEY_CTRL_W_CLOSESIMULATION, MODEADDITIONAL, MODECREATEEDGE, MODEMEANDATA, MODETLS, myAdditionalMenuCascade, myApplicationWindow, myDataMenuCascade, myDemandMenuCascade, myEdgeTypesMenuCascade, myMeanDataMenuCascade, myNeteditConfigMenuCascade, mySumoConfigMenuCascade, myTLSMenuCascade, NETEDIT_MINI, NETGENERATE, NEW_NET, OPEN, OPEN_NET, OPEN_NETEDITCONFIG, OPEN_SUMOCONFIG, RELOAD, SAVE, SAVE_NETWORKELEMENTS, SUMO_MINI, SUPERMODEDATA, SUPERMODEDEMAND, and TL.
|
private |
build meanData section
Definition at line 521 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_OPENMEANDATAELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_MEANDATAELEMENTS, MID_GNE_TOOLBARFILE_SAVEMEANDATAELEMENTS_UNIFIED, MID_HOTKEY_CTRL_SHIFT_M_SAVEMEANDATAELEMENTS, myApplicationWindow, OPEN_MEANDATAS, RELOAD, SAVE_MEANDATAELEMENTS, and TL.
Referenced by buildFileMenuCommands().
|
private |
build netedit config section
Definition at line 361 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_NETEDITCONFIG, MID_GNE_TOOLBARFILE_SAVENETEDITCONFIG_AS, MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, myApplicationWindow, RELOAD, SAVE_NETEDITCONFIG, and TL.
Referenced by buildFileMenuCommands().
|
private |
build SUMO Config section
Definition at line 379 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_SUMOCONFIG, MID_GNE_TOOLBARFILE_SAVESUMOCONFIG_AS, MID_HOTKEY_CTRL_SHIFT_S_SAVESUMOCONFIG, myApplicationWindow, RELOAD, SAVE_SUMOCONFIG, and TL.
Referenced by buildFileMenuCommands().
|
private |
build traffic light section
Definition at line 397 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_RELOAD_TLSPROGRAMS, MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS_AS, MID_HOTKEY_CTRL_K_OPENTLSPROGRAMS, MID_HOTKEY_CTRL_SHIFT_K_SAVETLS, myApplicationWindow, OPEN_TLSPROGRAMS, RELOAD, SAVE, and TL.
Referenced by buildFileMenuCommands().
| void GNEApplicationWindowHelper::FileMenuCommands::disableMenuCascades | ( | ) |
disable menu cascades
Definition at line 332 of file GNEApplicationWindowHelper.cpp.
References myAdditionalMenuCascade, myDataMenuCascade, myDemandMenuCascade, myEdgeTypesMenuCascade, myMeanDataMenuCascade, myNeteditConfigMenuCascade, mySumoConfigMenuCascade, and myTLSMenuCascade.
| void GNEApplicationWindowHelper::FileMenuCommands::enableMenuCascades | ( | ) |
enable menu cascades
Definition at line 319 of file GNEApplicationWindowHelper.cpp.
References myAdditionalMenuCascade, myDataMenuCascade, myDemandMenuCascade, myEdgeTypesMenuCascade, myMeanDataMenuCascade, myNeteditConfigMenuCascade, mySumoConfigMenuCascade, and myTLSMenuCascade.
|
privatedelete |
Invalidated assignment operator.
References FileMenuCommands().
| void GNEApplicationWindowHelper::FileMenuCommands::setDefaultView | ( | ) |
set default view
Definition at line 345 of file GNEApplicationWindowHelper.cpp.
References myDataMenuCascade, myMeanDataMenuCascade, and myTLSMenuCascade.
| void GNEApplicationWindowHelper::FileMenuCommands::setJuPedSimView | ( | ) |
set JuPedSim view
Definition at line 353 of file GNEApplicationWindowHelper.cpp.
References myDataMenuCascade, myMeanDataMenuCascade, and myTLSMenuCascade.
| FXMenuCheck* GNEApplicationWindowHelper::FileMenuCommands::menuCheckAllowUndoRedoLoading = nullptr |
checkBox for allow undo-redo loading
Definition at line 181 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands().
|
private |
FXMenuCascade for additional.
Definition at line 224 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().
|
private |
pointer to current GNEApplicationWindow
Definition at line 209 of file GNEApplicationWindowHelper.h.
Referenced by buildAdditionalSection(), buildDataSection(), buildDemandSection(), buildEdgeTypeSection(), buildFileMenuCommands(), buildMeanDataSection(), buildNeteditConfigSection(), buildSumoConfigSection(), buildTrafficLightSection(), and FileMenuCommands().
|
private |
FXMenuCascade for data.
Definition at line 230 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), enableMenuCascades(), setDefaultView(), and setJuPedSimView().
|
private |
FXMenuCascade for demand.
Definition at line 227 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().
|
private |
FXMenuCascade for edgeTypes.
Definition at line 221 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().
|
private |
FXMenuCascade for mean data.
Definition at line 233 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), enableMenuCascades(), setDefaultView(), and setJuPedSimView().
|
private |
FXMenuCascade for neteditConfig.
Definition at line 212 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().
|
private |
FXMenuCascade for SumoConfig.
Definition at line 215 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().
|
private |
FXMenuCascade for TLS.
Definition at line 218 of file GNEApplicationWindowHelper.h.
Referenced by buildFileMenuCommands(), disableMenuCascades(), enableMenuCascades(), setDefaultView(), and setJuPedSimView().