Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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 *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.
FileMenuCommandsoperator= (const FileMenuCommands &)=delete
 Invalidated assignment operator.

Private Attributes

FXMenuCascade * myAdditionalMenuCascade = nullptr
 FXMenuCascade for additional.
GNEApplicationWindowmyApplicationWindow = 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.

Detailed Description

struct for File menu commands

Definition at line 157 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ FileMenuCommands() [1/2]

GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands ( GNEApplicationWindow * applicationWindow)

constructor

Definition at line 190 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow.

Referenced by FileMenuCommands(), and operator=().

Here is the caller graph for this function:

◆ FileMenuCommands() [2/2]

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

Invalidated copy constructor.

References FileMenuCommands().

Member Function Documentation

◆ buildAdditionalSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildAdditionalSection ( FXMenuPane * menuPane)
private

◆ buildDataSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildDataSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ buildDemandSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildDemandSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ buildEdgeTypeSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildEdgeTypeSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ buildFileMenuCommands()

void GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands ( FXMenuPane * fileMenu,
FXMenuPane * fileMenuNEEDITConfig,
FXMenuPane * fileMenuSumoConfig,
FXMenuPane * fileMenuTLS,
FXMenuPane * fileMenuEdgeTypes,
FXMenuPane * fileMenuAdditionals,
FXMenuPane * fileMenuDemandElements,
FXMenuPane * fileMenuDataElements,
FXMenuPane * fileMenuMeanDataElements )

◆ buildMeanDataSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildMeanDataSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ buildNeteditConfigSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildNeteditConfigSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ buildSumoConfigSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildSumoConfigSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ buildTrafficLightSection()

void GNEApplicationWindowHelper::FileMenuCommands::buildTrafficLightSection ( FXMenuPane * menuPane)
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().

Here is the caller graph for this function:

◆ disableMenuCascades()

void GNEApplicationWindowHelper::FileMenuCommands::disableMenuCascades ( )

◆ enableMenuCascades()

void GNEApplicationWindowHelper::FileMenuCommands::enableMenuCascades ( )

◆ operator=()

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

Invalidated assignment operator.

References FileMenuCommands().

◆ setDefaultView()

void GNEApplicationWindowHelper::FileMenuCommands::setDefaultView ( )

set default view

Definition at line 345 of file GNEApplicationWindowHelper.cpp.

References myDataMenuCascade, myMeanDataMenuCascade, and myTLSMenuCascade.

◆ setJuPedSimView()

void GNEApplicationWindowHelper::FileMenuCommands::setJuPedSimView ( )

set JuPedSim view

Definition at line 353 of file GNEApplicationWindowHelper.cpp.

References myDataMenuCascade, myMeanDataMenuCascade, and myTLSMenuCascade.

Field Documentation

◆ menuCheckAllowUndoRedoLoading

FXMenuCheck* GNEApplicationWindowHelper::FileMenuCommands::menuCheckAllowUndoRedoLoading = nullptr

checkBox for allow undo-redo loading

Definition at line 181 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands().

◆ myAdditionalMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myAdditionalMenuCascade = nullptr
private

FXMenuCascade for additional.

Definition at line 224 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().

◆ myApplicationWindow

◆ myDataMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myDataMenuCascade = nullptr
private

◆ myDemandMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myDemandMenuCascade = nullptr
private

FXMenuCascade for demand.

Definition at line 227 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().

◆ myEdgeTypesMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myEdgeTypesMenuCascade = nullptr
private

FXMenuCascade for edgeTypes.

Definition at line 221 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().

◆ myMeanDataMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myMeanDataMenuCascade = nullptr
private

FXMenuCascade for mean data.

Definition at line 233 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands(), disableMenuCascades(), enableMenuCascades(), setDefaultView(), and setJuPedSimView().

◆ myNeteditConfigMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myNeteditConfigMenuCascade = nullptr
private

FXMenuCascade for neteditConfig.

Definition at line 212 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().

◆ mySumoConfigMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::mySumoConfigMenuCascade = nullptr
private

FXMenuCascade for SumoConfig.

Definition at line 215 of file GNEApplicationWindowHelper.h.

Referenced by buildFileMenuCommands(), disableMenuCascades(), and enableMenuCascades().

◆ myTLSMenuCascade

FXMenuCascade* GNEApplicationWindowHelper::FileMenuCommands::myTLSMenuCascade = nullptr
private

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