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

struct for supermode commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::SupermodeCommands:
[legend]

Public Member Functions

void buildSupermodeCommands (FXMenuPane *editMenu)
 build menu commands More...
 
void hideSupermodeCommands ()
 hide all menu commands More...
 
void showSupermodeCommands ()
 show all menu commands More...
 
 SupermodeCommands (GNEApplicationWindow *GNEApp)
 constructor More...
 

Data Fields

FXMenuCommand * dataMode
 FXMenuCommand for data supermode. More...
 
FXMenuCommand * demandMode
 FXMenuCommand for demand supermode. More...
 
FXMenuCommand * networkMode
 FXMenuCommand for network supermode. More...
 

Private Attributes

GNEApplicationWindowmyGNEApp
 pointer to current GNEApplicationWindows More...
 
FXMenuSeparator * myHorizontalSeparator
 separator between sets of FXMenuCommand More...
 

Detailed Description

struct for supermode commands

Definition at line 456 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ SupermodeCommands()

GNEApplicationWindowHelper::SupermodeCommands::SupermodeCommands ( GNEApplicationWindow GNEApp)

constructor

Definition at line 794 of file GNEApplicationWindowHelper.cpp.

Member Function Documentation

◆ buildSupermodeCommands()

void GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands ( FXMenuPane *  editMenu)

build menu commands

Definition at line 824 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, SUPERMODEDATA, SUPERMODEDEMAND, and SUPERMODENETWORK.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ hideSupermodeCommands()

void GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands ( )

hide all menu commands

Definition at line 814 of file GNEApplicationWindowHelper.cpp.

Referenced by GNEApplicationWindow::fillMenuBar(), GNEApplicationWindow::onCmdClose(), and GNEApplicationWindow::onCmdReload().

Here is the caller graph for this function:

◆ showSupermodeCommands()

void GNEApplicationWindowHelper::SupermodeCommands::showSupermodeCommands ( )

show all menu commands

Definition at line 804 of file GNEApplicationWindowHelper.cpp.

Referenced by GNEApplicationWindow::loadConfigOrNet().

Here is the caller graph for this function:

Field Documentation

◆ dataMode

FXMenuCommand* GNEApplicationWindowHelper::SupermodeCommands::dataMode

FXMenuCommand for data supermode.

Definition at line 477 of file GNEApplicationWindowHelper.h.

◆ demandMode

FXMenuCommand* GNEApplicationWindowHelper::SupermodeCommands::demandMode

FXMenuCommand for demand supermode.

Definition at line 474 of file GNEApplicationWindowHelper.h.

◆ myGNEApp

GNEApplicationWindow* GNEApplicationWindowHelper::SupermodeCommands::myGNEApp
private

pointer to current GNEApplicationWindows

Definition at line 481 of file GNEApplicationWindowHelper.h.

◆ myHorizontalSeparator

FXMenuSeparator* GNEApplicationWindowHelper::SupermodeCommands::myHorizontalSeparator
private

separator between sets of FXMenuCommand

Definition at line 484 of file GNEApplicationWindowHelper.h.

◆ networkMode

FXMenuCommand* GNEApplicationWindowHelper::SupermodeCommands::networkMode

FXMenuCommand for network supermode.

Definition at line 471 of file GNEApplicationWindowHelper.h.


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