![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for File menu commands More...
#include <GNEApplicationWindowHelper.h>
Public Member Functions | |
void | buildFileMenuCommands (FXMenuPane *fileMenu, FXMenuPane *fileMenuSUMOConfig, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements) |
build menu commands More... | |
FileMenuCommands (GNEApplicationWindow *GNEApp) | |
constructor More... | |
Data Fields | |
FXMenuCascade * | additionalMenuCascade = nullptr |
FXMenuCascade for additional. More... | |
FXMenuCascade * | dataMenuCascade = nullptr |
FXMenuCascade for data. More... | |
FXMenuCascade * | demandMenuCascade = nullptr |
FXMenuCascade for demand. More... | |
FXMenuCascade * | edgeTypesMenuCascade = nullptr |
FXMenuCascade for edgeTypes. More... | |
FXMenuCommand * | reloadAdditionals = nullptr |
FXMenuCommand for reload additionals. More... | |
FXMenuCommand * | reloadDataElements = nullptr |
FXMenuCommand for reload data elements. More... | |
FXMenuCommand * | reloadDemandElements = nullptr |
FXMenuCommand for reload demand elements. More... | |
FXMenuCommand * | reloadEdgeTypes = nullptr |
FXMenuCommand for reload Edge Types. More... | |
FXMenuCommand * | reloadSUMOConfig = nullptr |
FXMenuCommand for reload SUMOConfig. More... | |
FXMenuCommand * | reloadTLSPrograms = nullptr |
FXMenuCommand for reload TLS Programs. More... | |
FXMenuCommand * | saveAdditionals = nullptr |
FXMenuCommand for enable or disable save additionals. More... | |
FXMenuCommand * | saveAdditionalsAs = nullptr |
FXMenuCommand for enable or disable save additionals As. More... | |
FXMenuCommand * | saveDataElements = nullptr |
FXMenuCommand for enable or disable save data elements. More... | |
FXMenuCommand * | saveDataElementsAs = nullptr |
FXMenuCommand for enable or disable save data elements as. More... | |
FXMenuCommand * | saveDemandElements = nullptr |
FXMenuCommand for enable or disable save demand elements. More... | |
FXMenuCommand * | saveDemandElementsAs = nullptr |
FXMenuCommand for enable or disable save demand elements as. More... | |
FXMenuCommand * | saveEdgeTypes = nullptr |
FXMenuCommand for enable or disable save edgeTypes. More... | |
FXMenuCommand * | saveSUMOConfig = nullptr |
FXMenuCommand for enable or disable save SUMOConfig. More... | |
FXMenuCommand * | saveTLSPrograms = nullptr |
FXMenuCommand for enable or disable save TLS Programs. More... | |
FXMenuCascade * | SUMOConfigMenuCascade = nullptr |
FXMenuCascade for SUMOConfig. More... | |
FXMenuCascade * | TLSMenuCascade = nullptr |
FXMenuCascade for TLS. More... | |
Private Member Functions | |
FileMenuCommands (const FileMenuCommands &)=delete | |
Invalidated copy constructor. More... | |
FileMenuCommands & | operator= (const FileMenuCommands &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
GNEApplicationWindow * | myGNEApp |
pointer to current GNEApplicationWindows More... | |
struct for File menu commands
Definition at line 142 of file GNEApplicationWindowHelper.h.
GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands | ( | GNEApplicationWindow * | GNEApp | ) |
constructor
Definition at line 162 of file GNEApplicationWindowHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands | ( | FXMenuPane * | fileMenu, |
FXMenuPane * | fileMenuSUMOConfig, | ||
FXMenuPane * | fileMenuTLS, | ||
FXMenuPane * | fileMenuEdgeTypes, | ||
FXMenuPane * | fileMenuAdditionals, | ||
FXMenuPane * | fileMenuDemandElements, | ||
FXMenuPane * | fileMenuDataElements | ||
) |
build menu commands
Definition at line 168 of file GNEApplicationWindowHelper.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), CLOSE, GUIIconSubSys::getIcon(), MID_GNE_SAVEALLELEMENTS, MID_GNE_SAVEJOINEDJUNCTIONS, MID_GNE_TOOLBARFILE_OPENFOREIGN, MID_GNE_TOOLBARFILE_RELOAD_ADDITIONALS, MID_GNE_TOOLBARFILE_RELOAD_DATAELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_DEMANDELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_EDGETYPES, MID_GNE_TOOLBARFILE_RELOAD_SUMOCONFIG, MID_GNE_TOOLBARFILE_RELOAD_TLSPROGRAMS, MID_GNE_TOOLBARFILE_SAVEADDITIONALS_AS, MID_GNE_TOOLBARFILE_SAVEDATA_AS, MID_GNE_TOOLBARFILE_SAVEDEMAND_AS, MID_GNE_TOOLBARFILE_SAVEEDGETYPES_AS, MID_GNE_TOOLBARFILE_SAVESUMOCONFIG_AS, MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS_AS, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_H_OPENEDGETYPES, MID_HOTKEY_CTRL_K_OPENTLSPROGRAMS, MID_HOTKEY_CTRL_L_SAVEASPLAINXML, MID_HOTKEY_CTRL_M_OPENSUMOCONFIG, MID_HOTKEY_CTRL_N_NEWNETWORK, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_A_SAVEADDITIONALS, MID_HOTKEY_CTRL_SHIFT_B_SAVEDATAELEMENTS, MID_HOTKEY_CTRL_SHIFT_D_SAVEDEMANDELEMENTS, MID_HOTKEY_CTRL_SHIFT_H_SAVEEDGETYPES, MID_HOTKEY_CTRL_SHIFT_K_SAVETLS, MID_HOTKEY_CTRL_SHIFT_M_SAVESUMOCONFIG, MID_HOTKEY_CTRL_SHIFT_N_NEWWINDOW, MID_HOTKEY_CTRL_SHIFT_S_SAVENETWORK_AS, MID_HOTKEY_CTRL_W_CLOSESIMULATION, MID_OPEN_CONFIG, MID_OPEN_NETWORK, MODEADDITIONAL, MODECREATEEDGE, MODETLS, NEW_NET, OPEN_ADDITIONALS, OPEN_CONFIG, OPEN_NET, OPEN_SUMOCONFIG, OPEN_TLSPROGRAMS, RELOAD, SAVE, SAVEADDITIONALELEMENTS, SAVEALLELEMENTS, SAVEDATAELEMENTS, SAVEDEMANDELEMENTS, GNEApplicationWindowHelper::saveSUMOConfig(), SUMO_MINI, SUPERMODEDATA, SUPERMODEDEMAND, and TL.
Referenced by GNEApplicationWindow::fillMenuBar().
|
privatedelete |
Invalidated assignment operator.
FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::additionalMenuCascade = nullptr |
FXMenuCascade for additional.
Definition at line 162 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdNeedsNetwork().
FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::dataMenuCascade = nullptr |
FXMenuCascade for data.
Definition at line 168 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdNeedsNetwork().
FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::demandMenuCascade = nullptr |
FXMenuCascade for demand.
Definition at line 165 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdNeedsNetwork().
FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::edgeTypesMenuCascade = nullptr |
FXMenuCascade for edgeTypes.
Definition at line 159 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdNeedsNetwork().
|
private |
pointer to current GNEApplicationWindows
Definition at line 217 of file GNEApplicationWindowHelper.h.
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadAdditionals = nullptr |
FXMenuCommand for reload additionals.
Definition at line 195 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdReloadAdditionals().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadDataElements = nullptr |
FXMenuCommand for reload data elements.
Definition at line 213 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdReloadDataElements().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadDemandElements = nullptr |
FXMenuCommand for reload demand elements.
Definition at line 204 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdReloadDemandElements().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadEdgeTypes = nullptr |
FXMenuCommand for reload Edge Types.
Definition at line 183 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdReloadEdgeTypes().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadSUMOConfig = nullptr |
FXMenuCommand for reload SUMOConfig.
Definition at line 171 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdReloadSUMOConfig().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadTLSPrograms = nullptr |
FXMenuCommand for reload TLS Programs.
Definition at line 177 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdReloadTLSPrograms().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals = nullptr |
FXMenuCommand for enable or disable save additionals.
Definition at line 189 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::continueWithUnsavedAdditionalChanges(), GNEApplicationWindow::disableSaveAdditionalsMenu(), GNEApplicationWindow::enableSaveAdditionalsMenu(), GNEApplicationWindow::onCmdSaveAdditionals(), and GNEApplicationWindow::onCmdSaveAdditionalsAs().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs = nullptr |
FXMenuCommand for enable or disable save additionals As.
Definition at line 192 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::disableSaveAdditionalsMenu(), and GNEApplicationWindow::enableSaveAdditionalsMenu().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDataElements = nullptr |
FXMenuCommand for enable or disable save data elements.
Definition at line 207 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::continueWithUnsavedDataElementChanges(), GNEApplicationWindow::disableSaveDataElementsMenu(), GNEApplicationWindow::enableSaveDataElementsMenu(), GNEApplicationWindow::onCmdSaveDataElements(), and GNEApplicationWindow::onCmdSaveDataElementsAs().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDataElementsAs = nullptr |
FXMenuCommand for enable or disable save data elements as.
Definition at line 210 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::disableSaveDataElementsMenu(), and GNEApplicationWindow::enableSaveDataElementsMenu().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements = nullptr |
FXMenuCommand for enable or disable save demand elements.
Definition at line 198 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::continueWithUnsavedDemandElementChanges(), GNEApplicationWindow::disableSaveDemandElementsMenu(), GNEApplicationWindow::enableSaveDemandElementsMenu(), GNEApplicationWindow::onCmdSaveDemandElements(), and GNEApplicationWindow::onCmdSaveDemandElementsAs().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDemandElementsAs = nullptr |
FXMenuCommand for enable or disable save demand elements as.
Definition at line 201 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::disableSaveDemandElementsMenu(), and GNEApplicationWindow::enableSaveDemandElementsMenu().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveEdgeTypes = nullptr |
FXMenuCommand for enable or disable save edgeTypes.
Definition at line 186 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdOpenNetwork(), and GNEApplicationWindow::onCmdSaveEdgeTypes().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveSUMOConfig = nullptr |
FXMenuCommand for enable or disable save SUMOConfig.
Definition at line 174 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdSaveSUMOConfig().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms = nullptr |
FXMenuCommand for enable or disable save TLS Programs.
Definition at line 180 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::enableSaveTLSProgramsMenu(), GNEApplicationWindow::onCmdClose(), GNEApplicationWindow::onCmdOpenNetwork(), GNEApplicationWindow::onCmdReload(), and GNEApplicationWindow::onCmdSaveTLSPrograms().
FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::SUMOConfigMenuCascade = nullptr |
FXMenuCascade for SUMOConfig.
Definition at line 153 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdNeedsNetwork().
FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::TLSMenuCascade = nullptr |
FXMenuCascade for TLS.
Definition at line 156 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onUpdNeedsNetwork().