Eclipse SUMO - Simulation of Urban MObility
GNEVTypeDistributionsDialog::ParametersOperations Class Reference

#include <GNEVTypeDistributionsDialog.h>

Inheritance diagram for GNEVTypeDistributionsDialog::ParametersOperations:
[legend]
Collaboration diagram for GNEVTypeDistributionsDialog::ParametersOperations:
[legend]

Data Structures

class  GNEParameterHandler
 FOX need this. More...
 

Public Member Functions

 ParametersOperations (FXHorizontalFrame *frame, GNEVTypeDistributionsDialog *ParameterDialogParent)
 FOX-declaration. More...
 
 ~ParametersOperations ()
 destructor More...
 
FOX-callbacks

event when user press load parameters button

long onCmdLoadParameters (FXObject *, FXSelector, void *)
 
long onCmdSaveParameters (FXObject *, FXSelector, void *)
 event when user press save parameters button More...
 
long onCmdClearParameters (FXObject *, FXSelector, void *)
 event when user press clear parameters button More...
 
long onCmdSortParameters (FXObject *, FXSelector, void *)
 event when user press sort parameters button More...
 
long onCmdHelpParameter (FXObject *, FXSelector, void *)
 event when user press help parameters button More...
 

Private Attributes

FXButton * myClearButton
 clear button More...
 
FXButton * myHelpButton
 help button More...
 
FXButton * myLoadButton
 load button More...
 
GNEVTypeDistributionsDialogmyParameterDialogParent
 pointer to Shape Frame Parent More...
 
FXButton * mySaveButton
 save button More...
 
FXButton * mySortButton
 sort button More...
 

Detailed Description

Definition at line 153 of file GNEVTypeDistributionsDialog.h.

Constructor & Destructor Documentation

◆ ParametersOperations()

GNEVTypeDistributionsDialog::ParametersOperations::ParametersOperations ( FXHorizontalFrame *  frame,
GNEVTypeDistributionsDialog ParameterDialogParent 
)

◆ ~ParametersOperations()

GNEVTypeDistributionsDialog::ParametersOperations::~ParametersOperations ( )

destructor

Definition at line 286 of file GNEVTypeDistributionsDialog.cpp.

Member Function Documentation

◆ onCmdClearParameters()

long GNEVTypeDistributionsDialog::ParametersOperations::onCmdClearParameters ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press clear parameters button

Definition at line 353 of file GNEVTypeDistributionsDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdHelpParameter()

long GNEVTypeDistributionsDialog::ParametersOperations::onCmdHelpParameter ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press help parameters button

Definition at line 389 of file GNEVTypeDistributionsDialog.cpp.

References ACCEPT, APP_TABLE, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, TL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadParameters()

long GNEVTypeDistributionsDialog::ParametersOperations::onCmdLoadParameters ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 290 of file GNEVTypeDistributionsDialog.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), GREENVEHICLE, XMLSubSys::runParser(), TL, toString(), and WRITE_MESSAGEF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveParameters()

long GNEVTypeDistributionsDialog::ParametersOperations::onCmdSaveParameters ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press save parameters button

Definition at line 317 of file GNEVTypeDistributionsDialog.cpp.

References OutputDevice::close(), OutputDevice::closeTag(), gCurrentFolder, OutputDevice::getDevice(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), GREENVEHICLE, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, TL, OutputDevice::writeAttr(), and OutputDevice::writeXMLHeader().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSortParameters()

long GNEVTypeDistributionsDialog::ParametersOperations::onCmdSortParameters ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press sort parameters button

Definition at line 361 of file GNEVTypeDistributionsDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

Field Documentation

◆ myClearButton

FXButton* GNEVTypeDistributionsDialog::ParametersOperations::myClearButton
private

clear button

Definition at line 220 of file GNEVTypeDistributionsDialog.h.

Referenced by ParametersOperations().

◆ myHelpButton

FXButton* GNEVTypeDistributionsDialog::ParametersOperations::myHelpButton
private

help button

Definition at line 229 of file GNEVTypeDistributionsDialog.h.

Referenced by ParametersOperations().

◆ myLoadButton

FXButton* GNEVTypeDistributionsDialog::ParametersOperations::myLoadButton
private

load button

Definition at line 223 of file GNEVTypeDistributionsDialog.h.

Referenced by ParametersOperations().

◆ myParameterDialogParent

GNEVTypeDistributionsDialog* GNEVTypeDistributionsDialog::ParametersOperations::myParameterDialogParent
private

pointer to Shape Frame Parent

Definition at line 214 of file GNEVTypeDistributionsDialog.h.

◆ mySaveButton

FXButton* GNEVTypeDistributionsDialog::ParametersOperations::mySaveButton
private

save button

Definition at line 226 of file GNEVTypeDistributionsDialog.h.

Referenced by ParametersOperations().

◆ mySortButton

FXButton* GNEVTypeDistributionsDialog::ParametersOperations::mySortButton
private

sort button

Definition at line 217 of file GNEVTypeDistributionsDialog.h.

Referenced by ParametersOperations().


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