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 *fileMenuTLS, FXMenuPane *fileMenuEdgeTypes, FXMenuPane *fileMenuAdditionals, FXMenuPane *fileMenuDemandElements, FXMenuPane *fileMenuDataElements)
 build menu commands More...
 
 FileMenuCommands (GNEApplicationWindow *GNEApp)
 constructor More...
 

Data Fields

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 Attributes

GNEApplicationWindowmyGNEApp
 pointer to current GNEApplicationWindows More...
 

Detailed Description

struct for File menu commands

Definition at line 129 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ FileMenuCommands()

GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands ( GNEApplicationWindow GNEApp)

constructor

Definition at line 180 of file GNEApplicationWindowHelper.cpp.

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 194 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCommandShortcut(), CLOSE, GUIIconSubSys::getIcon(), MID_GNE_TOOLBARFILE_OPENFOREIGN, 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_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, SAVEDATAELEMENTS, SAVEDEMANDELEMENTS, SUPERMODEDATA, and SUPERMODEDEMAND.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

Field Documentation

◆ myGNEApp

GNEApplicationWindow* GNEApplicationWindowHelper::FileMenuCommands::myGNEApp
private

pointer to current GNEApplicationWindows

Definition at line 164 of file GNEApplicationWindowHelper.h.

◆ saveAdditionals

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals

◆ saveAdditionalsAs

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionalsAs

FXMenuCommand for enable or disable save additionals As.

Definition at line 142 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 160 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 154 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 148 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onCmdSaveEdgeTypes().

◆ saveTLSPrograms

FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms

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