![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for File menu commands More...
#include <GNEApplicationWindowHelper.h>
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 | |
GNEApplicationWindow * | myGNEApp |
pointer to current GNEApplicationWindows More... | |
struct for File menu commands
Definition at line 129 of file GNEApplicationWindowHelper.h.
GNEApplicationWindowHelper::FileMenuCommands::FileMenuCommands | ( | GNEApplicationWindow * | GNEApp | ) |
constructor
Definition at line 180 of file GNEApplicationWindowHelper.cpp.
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().
|
private |
pointer to current GNEApplicationWindows
Definition at line 164 of file GNEApplicationWindowHelper.h.
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveAdditionals |
FXMenuCommand for enable or disable save additionals.
Definition at line 139 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::continueWithUnsavedAdditionalChanges(), GNEApplicationWindow::disableSaveAdditionalsMenu(), GNEApplicationWindow::enableSaveAdditionalsMenu(), GNEApplicationWindow::onCmdSaveAdditionals(), and GNEApplicationWindow::onCmdSaveAdditionalsAs().
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().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDataElements |
FXMenuCommand for enable or disable save data elements.
Definition at line 157 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::disableSaveDataElementsMenu(), GNEApplicationWindow::enableSaveDataElementsMenu(), GNEApplicationWindow::onCmdSaveDataElements(), and GNEApplicationWindow::onCmdSaveDataElementsAs().
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().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveDemandElements |
FXMenuCommand for enable or disable save demand elements.
Definition at line 151 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::continueWithUnsavedDemandElementChanges(), GNEApplicationWindow::disableSaveDemandElementsMenu(), GNEApplicationWindow::enableSaveDemandElementsMenu(), GNEApplicationWindow::onCmdSaveDemandElements(), and GNEApplicationWindow::onCmdSaveDemandElementsAs().
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().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveEdgeTypes |
FXMenuCommand for enable or disable save edgeTypes.
Definition at line 148 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::onCmdSaveEdgeTypes().
FXMenuCommand* GNEApplicationWindowHelper::FileMenuCommands::saveTLSPrograms |
FXMenuCommand for enable or disable save additionals.
Definition at line 145 of file GNEApplicationWindowHelper.h.
Referenced by GNEApplicationWindow::enableSaveTLSProgramsMenu(), GNEApplicationWindow::onCmdClose(), GNEApplicationWindow::onCmdOpenNetwork(), GNEApplicationWindow::onCmdReload(), and GNEApplicationWindow::onCmdSaveTLSPrograms().