Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEApplicationWindowHelper.h>
Data Structures | |
struct | EditMenuCommands |
struct for edit menu commands More... | |
struct | FileMenuCommands |
struct for File menu commands More... | |
class | GNENeteditConfigHandler |
netedit config handler More... | |
class | GNESumoConfigHandler |
SUMO config handler. More... | |
struct | HelpMenuCommands |
struct for help menu commands More... | |
struct | LocateMenuCommands |
struct for locate menu commands More... | |
struct | LockMenuCommands |
struct for processing menu commands More... | |
struct | MenuBarFile |
struct for menu bar file More... | |
struct | ModesMenuCommands |
struct for modes menu commands More... | |
struct | ProcessingMenuCommands |
struct for processing menu commands More... | |
struct | SupermodeCommands |
struct for supermode commands More... | |
struct | ToolbarsGrip |
struct for griped toolbars More... | |
struct | ToolsMenuCommands |
struct for locate menu commands More... | |
struct | WindowsMenuCommands |
struct for windows menu commands More... | |
Static Public Member Functions | |
static std::string | openAdditionalFileDialog (FXWindow *window, bool save, bool multi=false) |
open additional dialog | |
static std::string | openDataFileDialog (FXWindow *window, bool save, bool multi=false) |
open data file dialog | |
static std::string | openEdgeTypeFileDialog (FXWindow *window, bool save) |
open edgeType file dialog | |
static std::string | openFileDialog (FXWindow *window, bool save, bool multi) |
open general file dialog | |
static std::string | openMeanDataDialog (FXWindow *window, bool save, bool multi=false) |
open meandata filename dialog | |
static std::string | openNetconvertFileDialog (FXWindow *window) |
open netconvert file dialog | |
static std::string | openNeteditConfigFileDialog (FXWindow *window, bool save) |
open netedit config file dialog | |
static std::string | openNetworkFileDialog (FXWindow *window, bool save, bool multi=false) |
open netconvert file dialog | |
static std::string | openOptionFileDialog (FXWindow *window, bool save) |
open option dialog | |
static std::string | openOSMFileDialog (FXWindow *window) |
open OSM file dialog | |
static std::string | openRouteFileDialog (FXWindow *window, bool save, bool multi=false) |
open route file dialog | |
static std::string | openSumoConfigFileDialog (FXWindow *window, bool save, bool multi=false) |
open SUMO config file dialog | |
static std::string | openTLSFileDialog (FXWindow *window, bool save) |
open TLS file dialog | |
static std::string | saveJoinedJunctionsFileDialog (FXWindow *window) |
open joined junctions file dialog | |
static std::string | savePlainXMLFileDialog (FXWindow *window) |
open plain xml file dialog | |
static std::string | saveToolLog (FXWindow *window) |
open tool file dialog | |
static bool | stringEndsWith (const std::string &str, const std::string &suffix) |
check if a string ends with another string | |
static bool | toggleEditOptionsData (GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel) |
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions) | |
static bool | toggleEditOptionsDemand (GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel) |
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions) | |
static bool | toggleEditOptionsNetwork (GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, const int numericalKeyPressed, FXObject *obj, FXSelector sel) |
toggle edit options Network menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions) | |
Private Member Functions | |
GNEApplicationWindowHelper (const GNEApplicationWindowHelper &)=delete | |
Invalidated copy constructor. | |
GNEApplicationWindowHelper & | operator= (const GNEApplicationWindowHelper &)=delete |
Invalidated assignment operator. | |
Static Private Member Functions | |
static std::string | openFileDialog (FXWindow *window, const std::string title, GUIIcon icon, const std::string patternList, bool save, bool multi=false) |
open filename dialog | |
Definition at line 59 of file GNEApplicationWindowHelper.h.
|
privatedelete |
Invalidated copy constructor.
|
static |
open additional dialog
Definition at line 2888 of file GNEApplicationWindowHelper.cpp.
References MODEADDITIONAL, openFileDialog(), SAVE_ADDITIONALELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenAdditionals(), GNEPythonToolDialogElements::AdditionalArgument::onCmdOpenFilename(), GNEApplicationWindow::onCmdSaveAdditionalsAs(), and GNEApplicationWindow::onCmdSaveJuPedSimElementsAs().
|
static |
open data file dialog
Definition at line 2920 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE_DATAELEMENTS, SUPERMODEDATA, and TL.
Referenced by GNEApplicationWindow::onCmdOpenDataElements(), GNEPythonToolDialogElements::DataArgument::onCmdOpenFilename(), and GNEApplicationWindow::onCmdSaveDataElementsAs().
|
static |
open edgeType file dialog
Definition at line 2872 of file GNEApplicationWindowHelper.cpp.
References OPEN_NET, openFileDialog(), SAVE_NETWORKELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenEdgeTypes(), and GNEApplicationWindow::onCmdSaveEdgeTypesAs().
|
static |
open general file dialog
Definition at line 2756 of file GNEApplicationWindowHelper.cpp.
References OPEN_SUMOCONFIG, openFileDialog(), SAVE, and TL.
Referenced by GNEOptionsDialogElements::InputFilename::onCmdOpenDialog(), GNEPythonToolDialogElements::FileNameArgument::onCmdOpenFilename(), openAdditionalFileDialog(), openDataFileDialog(), openEdgeTypeFileDialog(), openFileDialog(), openMeanDataDialog(), openNetconvertFileDialog(), openNeteditConfigFileDialog(), openNetworkFileDialog(), openOptionFileDialog(), openOSMFileDialog(), openRouteFileDialog(), openSumoConfigFileDialog(), openTLSFileDialog(), saveJoinedJunctionsFileDialog(), savePlainXMLFileDialog(), and saveToolLog().
|
staticprivate |
open filename dialog
Definition at line 2966 of file GNEApplicationWindowHelper.cpp.
References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), MFXUtils::userPermitsOverwritingWhenFileExists(), and WRITE_DEBUG.
|
static |
open meandata filename dialog
Definition at line 2936 of file GNEApplicationWindowHelper.cpp.
References MODEMEANDATA, openFileDialog(), SAVE_MEANDATAELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenMeanDatas(), and GNEApplicationWindow::onCmdSaveMeanDatasAs().
|
static |
open netconvert file dialog
Definition at line 2786 of file GNEApplicationWindowHelper.cpp.
References OPEN_NET, openFileDialog(), and TL.
Referenced by GNEApplicationWindow::onCmdOpenNetconvertConfig().
|
static |
open netedit config file dialog
Definition at line 2827 of file GNEApplicationWindowHelper.cpp.
References OPEN_NETEDITCONFIG, openFileDialog(), SAVE_NETEDITCONFIG, and TL.
Referenced by GNEApplicationWindow::onCmdOpenNeteditConfig(), and GNEApplicationWindow::onCmdSaveNeteditConfigAs().
|
static |
open netconvert file dialog
Definition at line 2770 of file GNEApplicationWindowHelper.cpp.
References OPEN_NET, openFileDialog(), SAVE_NETWORKELEMENTS, and TL.
Referenced by GNEPythonToolDialogElements::NetworkArgument::onCmdOpenFilename(), GNEApplicationWindow::onCmdOpenNetwork(), GNENetgenerateDialog::onCmdOpenOutputFile(), and GNEApplicationWindow::onCmdSaveNetworkAs().
|
static |
open option dialog
Definition at line 2952 of file GNEApplicationWindowHelper.cpp.
References OPEN, openFileDialog(), SAVE, and TL.
Referenced by GNEPythonToolDialog::onCmdLoad(), GNEOptionsDialog::onCmdLoadOptions(), GNEPythonToolDialog::onCmdSave(), and GNEOptionsDialog::onCmdSaveOptions().
|
static |
open OSM file dialog
Definition at line 2820 of file GNEApplicationWindowHelper.cpp.
References OPEN_NET, openFileDialog(), and TL.
Referenced by GNEApplicationWindow::onCmdOpenForeign().
|
static |
open route file dialog
Definition at line 2904 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE_DEMANDELEMENTS, SUPERMODEDEMAND, and TL.
Referenced by GNEApplicationWindow::onCmdOpenDemandElements(), GNEPythonToolDialogElements::RouteArgument::onCmdOpenFilename(), and GNEApplicationWindow::onCmdSaveDemandElementsAs().
|
static |
open SUMO config file dialog
Definition at line 2842 of file GNEApplicationWindowHelper.cpp.
References OPEN_SUMOCONFIG, openFileDialog(), SAVE_SUMOCONFIG, and TL.
Referenced by GNEPythonToolDialogElements::SumoConfigArgument::onCmdOpenFilename(), GNEApplicationWindow::onCmdOpenSumoConfig(), and GNEApplicationWindow::onCmdSaveSumoConfigAs().
|
static |
open TLS file dialog
Definition at line 2856 of file GNEApplicationWindowHelper.cpp.
References OPEN_TLSPROGRAMS, openFileDialog(), SAVE_NETWORKELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenTLSPrograms(), and GNEApplicationWindow::onCmdSaveTLSProgramsAs().
|
privatedelete |
Invalidated assignment operator.
|
static |
open joined junctions file dialog
Definition at line 2803 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE, and TL.
Referenced by GNEApplicationWindow::onCmdSaveJoinedJunctionsAs().
|
static |
open plain xml file dialog
Definition at line 2795 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE, and TL.
Referenced by GNEApplicationWindow::onCmdSavePlainXMLAs().
|
static |
open tool file dialog
Definition at line 2812 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE, and TL.
Referenced by GNERunNetgenerateDialog::onCmdSaveLog(), and GNERunPythonToolDialog::onCmdSaveLog().
|
static |
check if a string ends with another string
Definition at line 2746 of file GNEApplicationWindowHelper.cpp.
|
static |
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
Definition at line 2649 of file GNEApplicationWindowHelper.cpp.
References MFXCheckableButton::amChecked(), GNEViewNet::getDataViewOptions(), GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleShowAdditionals(), GNEViewNet::onCmdToggleShowDemandElementsData(), GNEViewNet::onCmdToggleShowShapes(), GNEViewNet::onCmdToggleTAZDrawFill(), GNEViewNet::onCmdToggleTAZRelDrawing(), GNEViewNet::onCmdToggleTAZRelOnlyFrom(), GNEViewNet::onCmdToggleTAZRelOnlyTo(), toString(), and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdToggleEditOptions().
|
static |
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
Definition at line 2518 of file GNEApplicationWindowHelper.cpp.
References MFXCheckableButton::amChecked(), GNEViewNet::getDemandViewOptions(), GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdToggleHideNonInspecteDemandElements(), GNEViewNet::onCmdToggleHideShapes(), GNEViewNet::onCmdToggleLockContainer(), GNEViewNet::onCmdToggleLockPerson(), GNEViewNet::onCmdToggleShowAllContainerPlans(), GNEViewNet::onCmdToggleShowAllPersonPlans(), GNEViewNet::onCmdToggleShowGrid(), GNEViewNet::onCmdToggleShowOverlappedRoutes(), GNEViewNet::onCmdToggleShowTrips(), toString(), and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdToggleEditOptions().
|
static |
toggle edit options Network menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
Definition at line 2331 of file GNEApplicationWindowHelper.cpp.
References MFXCheckableButton::amChecked(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNEViewNet::onCmdToggleAutoOppositeEdge(), GNEViewNet::onCmdToggleChainEdges(), GNEViewNet::onCmdToggleChangeAllPhases(), GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdToggleExtendSelection(), GNEViewNet::onCmdToggleHideConnections(), GNEViewNet::onCmdToggleMoveElevation(), GNEViewNet::onCmdToggleSelectEdges(), GNEViewNet::onCmdToggleShowAdditionalSubElements(), GNEViewNet::onCmdToggleShowConnections(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), GNEViewNet::onCmdToggleShowGrid(), GNEViewNet::onCmdToggleShowJunctionBubbles(), GNEViewNet::onCmdToggleShowTAZElements(), GNEViewNet::onCmdToggleWarnAboutMerge(), toString(), and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdToggleEditOptions().