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

struct for File menu commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::FileMenuCommands:

Public Member Functions

void buildFileMenuCommands (FXMenuPane *fileMenu, FXMenuPane *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements)
 build menu commands More...
 
 FileMenuCommands (GNEApplicationWindow *GNEApp)
 constructor More...
 

Data Fields

FXMenuCommand * reloadAdditionals
 FXMenuCommand for reload additionals. More...
 
FXMenuCommand * reloadDataElements
 FXMenuCommand for reload data elements. More...
 
FXMenuCommand * reloadDemandElements
 FXMenuCommand for reload demand elements. More...
 
FXMenuCommand * saveAdditionals
 FXMenuCommand for enable or disable save additionals. More...
 
FXMenuCommand * saveAdditionalsAs
 FXMenuCommand for enable or disable save additionals As. More...
 
FXMenuCommand * saveDataElements
 FXMenuCommand for enable or disable save data elements. More...
 
FXMenuCommand * saveDataElementsAs
 FXMenuCommand for enable or disable save data elements as. More...
 
FXMenuCommand * saveDemandElements
 FXMenuCommand for enable or disable save demand elements. More...
 
FXMenuCommand * saveDemandElementsAs
 FXMenuCommand for enable or disable save demand elements as. More...
 
FXMenuCommand * saveEdgeTypes
 FXMenuCommand for enable or disable save edgeTypes. More...
 
FXMenuCommand * saveTLSPrograms
 FXMenuCommand for enable or disable save additionals. 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 141 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ FileMenuCommands() [1/2]

GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands ( GNEApplicationWindow GNEApp)

constructor

Definition at line 166 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 *  fileMenuTLS,
FXMenuPane *  fileMenuEdgeTypes,
FXMenuPane *  fileMenuAdditionals,
FXMenuPane *  fileMenuDemandElements,
FXMenuPane *  fileMenuDataElements 
)

build menu commands

Definition at line 183 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCommandShortcut(), CLOSE, GUIIconSubSys::getIcon(), MID_GNE_SAVEALLELEMENTS, MID_GNE_TOOLBARFILE_OPENFOREIGN, MID_GNE_TOOLBARFILE_RELOAD_ADDITIONALS, MID_GNE_TOOLBARFILE_RELOAD_DATAELEMENTS, MID_GNE_TOOLBARFILE_RELOAD_DEMANDELEMENTS, MID_GNE_TOOLBARFILE_SAVEADDITIONALS_AS, MID_GNE_TOOLBARFILE_SAVEDATA_AS, MID_GNE_TOOLBARFILE_SAVEDEMAND_AS, MID_GNE_TOOLBARFILE_SAVEEDGETYPES_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_J_SAVEJOINEDJUNCTIONS, MID_HOTKEY_CTRL_K_OPENTLSPROGRAMS, MID_HOTKEY_CTRL_L_SAVEASPLAINXML, 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_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_TLSPROGRAMS, RELOAD, SAVE, SAVEADDITIONALELEMENTS, SAVEALLELEMENTS, SAVEDATAELEMENTS, SAVEDEMANDELEMENTS, SUPERMODEDATA, and SUPERMODEDEMAND.

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

◆ myGNEApp

GNEApplicationWindow* GNEApplicationWindowHelper::FileMenuCommands::myGNEApp
private

pointer to current GNEApplicationWindows

Definition at line 185 of file GNEApplicationWindowHelper.h.

◆ reloadAdditionals

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadAdditionals

FXMenuCommand for reload additionals.

Definition at line 157 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadAdditionals().

◆ reloadDataElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadDataElements

FXMenuCommand for reload data elements.

Definition at line 181 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadDataElements().

◆ reloadDemandElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::reloadDemandElements

FXMenuCommand for reload demand elements.

Definition at line 172 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdReloadDemandElements().

◆ saveAdditionals

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals

◆ saveAdditionalsAs

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs

FXMenuCommand for enable or disable save additionals As.

Definition at line 154 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::disableSaveAdditionalsMenu(), and GNEApplicationWindow::enableSaveAdditionalsMenu().

◆ saveDataElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDataElements

◆ saveDataElementsAs

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDataElementsAs

FXMenuCommand for enable or disable save data elements as.

Definition at line 178 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::disableSaveDataElementsMenu(), and GNEApplicationWindow::enableSaveDataElementsMenu().

◆ saveDemandElements

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements

◆ saveDemandElementsAs

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDemandElementsAs

FXMenuCommand for enable or disable save demand elements as.

Definition at line 169 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::disableSaveDemandElementsMenu(), and GNEApplicationWindow::enableSaveDemandElementsMenu().

◆ saveEdgeTypes

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveEdgeTypes

FXMenuCommand for enable or disable save edgeTypes.

Definition at line 163 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onCmdOpenNetwork(), and GNEApplicationWindow::onCmdSaveEdgeTypes().

◆ saveTLSPrograms

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms

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