Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEApplicationWindowHelper::EditMenuCommands Struct Reference

struct for edit menu commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::EditMenuCommands:
[legend]

Data Structures

struct  DataViewOptions
 struct used to group all variables related to view options in supermode Data More...
 
struct  DemandViewOptions
 struct used to group all variables related to view options in supermode Demand More...
 
struct  NetworkViewOptions
 struct used to group all variables related to view options in supermode Network More...
 

Public Member Functions

void buildFrontElementMenuCommand (FXMenuPane *editMenu)
 build front element commands
 
void buildOpenSUMOMenuCommands (FXMenuPane *editMenu)
 build open sumo menu commands
 
void buildUndoRedoMenuCommands (FXMenuPane *editMenu)
 build undo-redo menu commands
 
void buildViewMenuCommands (FXMenuPane *editMenu)
 build view menu commands
 
 EditMenuCommands (GNEApplicationWindow *applicationWindow)
 constructor
 

Data Fields

DataViewOptions dataViewOptions
 data view options
 
DemandViewOptions demandViewOptions
 demand view options
 
FXMenuCommand * editViewPort = nullptr
 FXMenuCommand for edit view port.
 
FXMenuCommand * editViewScheme = nullptr
 FXMenuCommand for edit view scheme.
 
FXMenuCheck * loadAdditionalsInSUMOGUI = nullptr
 menu check for load additionals in SUMO GUI
 
FXMenuCheck * loadDemandInSUMOGUI = nullptr
 menu check for load demand in SUMO GUI
 
FXMenuCheck * menuCheckAllowUndoRedo = nullptr
 checkBox for allow undo-redo
 
NetworkViewOptions networkViewOptions
 network view options
 
FXMenuCommand * openInSUMOGUI = nullptr
 FXMenuCommand for open in SUMO GUI.
 
FXMenuCommand * openUndolistDialog = nullptr
 FXMenuCommand for open undolist dialog.
 
FXMenuCommand * redoLastChange = nullptr
 FXMenuCommand for redo last change.
 
FXMenuCommand * toggleFrontElement = nullptr
 FXMenuCommand for toggle front element.
 
FXMenuCommand * undoLastChange = nullptr
 FXMenuCommand for undo last change.
 

Private Member Functions

 EditMenuCommands (const EditMenuCommands &)=delete
 Invalidated copy constructor.
 
EditMenuCommandsoperator= (const EditMenuCommands &)=delete
 Invalidated assignment operator.
 

Private Attributes

GNEApplicationWindowmyApplicationWindow
 pointer to current GNEApplicationWindow
 

Detailed Description

struct for edit menu commands

Definition at line 466 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ EditMenuCommands() [1/2]

GNEApplicationWindowHelper::EditMenuCommands::EditMenuCommands ( GNEApplicationWindow applicationWindow)

constructor

Definition at line 1270 of file GNEApplicationWindowHelper.cpp.

◆ EditMenuCommands() [2/2]

GNEApplicationWindowHelper::EditMenuCommands::EditMenuCommands ( const EditMenuCommands )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildFrontElementMenuCommand()

void GNEApplicationWindowHelper::EditMenuCommands::buildFrontElementMenuCommand ( FXMenuPane *  editMenu)

build front element commands

Definition at line 1311 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCommandShortcut(), FRONTELEMENT, GUIIconSubSys::getIcon(), MID_HOTKEY_F11_FRONTELEMENT, and TL.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ buildOpenSUMOMenuCommands()

void GNEApplicationWindowHelper::EditMenuCommands::buildOpenSUMOMenuCommands ( FXMenuPane *  editMenu)

build open sumo menu commands

Definition at line 1320 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCheckbox(), GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_HOTKEY_CTRL_T_OPENNETEDIT_OPENSUMO, MID_TOOLBAREDIT_LOADADDITIONALS, MID_TOOLBAREDIT_LOADDEMAND, SUMO_MINI, and TL.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ buildUndoRedoMenuCommands()

void GNEApplicationWindowHelper::EditMenuCommands::buildUndoRedoMenuCommands ( FXMenuPane *  editMenu)

build undo-redo menu commands

Definition at line 1279 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCheckbox(), GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_GNE_TOGGLE_UNDOREDO, MID_GNE_UNDOLISTDIALOG, MID_HOTKEY_CTRL_Y_REDO, MID_HOTKEY_CTRL_Z_UNDO, REDO, TL, UNDO, and UNDOLIST.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ buildViewMenuCommands()

void GNEApplicationWindowHelper::EditMenuCommands::buildViewMenuCommands ( FXMenuPane *  editMenu)

build view menu commands

Definition at line 1299 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCommandShortcut(), COLORWHEEL, EDITVIEWPORT, GUIIconSubSys::getIcon(), MID_HOTKEY_CTRL_I_EDITVIEWPORT, MID_HOTKEY_F9_EDIT_VIEWSCHEME, and TL.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

Field Documentation

◆ dataViewOptions

◆ demandViewOptions

◆ editViewPort

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::editViewPort = nullptr

FXMenuCommand for edit view port.

Definition at line 700 of file GNEApplicationWindowHelper.h.

◆ editViewScheme

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::editViewScheme = nullptr

FXMenuCommand for edit view scheme.

Definition at line 697 of file GNEApplicationWindowHelper.h.

◆ loadAdditionalsInSUMOGUI

FXMenuCheck* GNEApplicationWindowHelper::EditMenuCommands::loadAdditionalsInSUMOGUI = nullptr

menu check for load additionals in SUMO GUI

Definition at line 706 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onCmdSaveSumoConfig().

◆ loadDemandInSUMOGUI

FXMenuCheck* GNEApplicationWindowHelper::EditMenuCommands::loadDemandInSUMOGUI = nullptr

menu check for load demand in SUMO GUI

Definition at line 709 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onCmdSaveSumoConfig().

◆ menuCheckAllowUndoRedo

FXMenuCheck* GNEApplicationWindowHelper::EditMenuCommands::menuCheckAllowUndoRedo = nullptr

checkBox for allow undo-redo

Definition at line 685 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onCmdToggleUndoRedo().

◆ myApplicationWindow

◆ networkViewOptions

◆ openInSUMOGUI

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::openInSUMOGUI = nullptr

FXMenuCommand for open in SUMO GUI.

Definition at line 712 of file GNEApplicationWindowHelper.h.

◆ openUndolistDialog

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::openUndolistDialog = nullptr

FXMenuCommand for open undolist dialog.

Definition at line 682 of file GNEApplicationWindowHelper.h.

◆ redoLastChange

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::redoLastChange = nullptr

◆ toggleFrontElement

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::toggleFrontElement = nullptr

FXMenuCommand for toggle front element.

Definition at line 703 of file GNEApplicationWindowHelper.h.

Referenced by GNEApplicationWindow::onUpdNeedsFrontElement().

◆ undoLastChange

FXMenuCommand* GNEApplicationWindowHelper::EditMenuCommands::undoLastChange = nullptr

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