Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindowHelper::FileMenuCommands Struct Reference

struct for File menu commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::FileMenuCommands:
[legend]

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...
 
FileMenuCommandsoperator= (const FileMenuCommands &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

GNEApplicationWindowmyGNEApp
 pointer to current GNEApplicationWindows More...
 

Detailed Description

struct for File menu commands

Definition at line 142 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ FileMenuCommands() [1/2]

GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands ( GNEApplicationWindow GNEApp)

constructor

Definition at line 162 of file GNEApplicationWindowHelper.cpp.

◆ FileMenuCommands() [2/2]

GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands ( const FileMenuCommands )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildFileMenuCommands()

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().

Here is the caller graph for this function:

◆ operator=()

FileMenuCommands & GNEApplicationWindowHelper::FileMenuCommands::operator= ( const FileMenuCommands )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ additionalMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::additionalMenuCascade = nullptr

FXMenuCascade for additional.

Definition at line 162 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsNetwork().

◆ dataMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::dataMenuCascade = nullptr

FXMenuCascade for data.

Definition at line 168 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsNetwork().

◆ demandMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::demandMenuCascade = nullptr

FXMenuCascade for demand.

Definition at line 165 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsNetwork().

◆ edgeTypesMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::edgeTypesMenuCascade = nullptr

FXMenuCascade for edgeTypes.

Definition at line 159 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsNetwork().

◆ myGNEApp

GNEApplicationWindow* GNEApplicationWindowHelper::FileMenuCommands::myGNEApp
private

pointer to current GNEApplicationWindows

Definition at line 217 of file GNEApplicationWindowHelper.h.

◆ reloadAdditionals

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadAdditionals = nullptr

FXMenuCommand for reload additionals.

Definition at line 195 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadAdditionals().

◆ reloadDataElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadDataElements = nullptr

FXMenuCommand for reload data elements.

Definition at line 213 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadDataElements().

◆ reloadDemandElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadDemandElements = nullptr

FXMenuCommand for reload demand elements.

Definition at line 204 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadDemandElements().

◆ reloadEdgeTypes

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadEdgeTypes = nullptr

FXMenuCommand for reload Edge Types.

Definition at line 183 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadEdgeTypes().

◆ reloadSUMOConfig

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadSUMOConfig = nullptr

FXMenuCommand for reload SUMOConfig.

Definition at line 171 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadSUMOConfig().

◆ reloadTLSPrograms

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadTLSPrograms = nullptr

FXMenuCommand for reload TLS Programs.

Definition at line 177 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadTLSPrograms().

◆ saveAdditionals

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals = nullptr

◆ saveAdditionalsAs

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().

◆ saveDataElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDataElements = nullptr

◆ saveDataElementsAs

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().

◆ saveDemandElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements = nullptr

◆ saveDemandElementsAs

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().

◆ saveEdgeTypes

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().

◆ saveSUMOConfig

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveSUMOConfig = nullptr

FXMenuCommand for enable or disable save SUMOConfig.

Definition at line 174 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onCmdSaveSUMOConfig().

◆ saveTLSPrograms

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms = nullptr

◆ SUMOConfigMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::SUMOConfigMenuCascade = nullptr

FXMenuCascade for SUMOConfig.

Definition at line 153 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsNetwork().

◆ TLSMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::TLSMenuCascade = nullptr

FXMenuCascade for TLS.

Definition at line 156 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsNetwork().


The documentation for this struct was generated from the following files: