![]() |
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, const std::string title, GUIIcon icon, const std::string &extensions, bool save, bool multi=false) |
| open filename dialog (general) | |
| 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 | openXMLFileDialog (FXWindow *window, bool save, bool multi) |
| open xml 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, FXObject *obj, FXSelector sel) |
| toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions) | |
| static bool | toggleEditOptionsDemand (GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, FXObject *obj, FXSelector sel) |
| toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions) | |
| static bool | toggleEditOptionsNetwork (GNEViewNet *viewNet, const MFXCheckableButton *menuCheck, 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. | |
Definition at line 56 of file GNEApplicationWindowHelper.h.
|
privatedelete |
Invalidated copy constructor.
|
static |
open additional dialog
Definition at line 2607 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::AdditionalFileExtensions, MODEADDITIONAL, openFileDialog(), SAVE_ADDITIONALELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenAdditionalElements(), GNEPythonToolDialogElements::AdditionalArgument::onCmdOpenFilename(), GNEApplicationWindow::onCmdSaveAdditionalElementsUnified(), and GNEApplicationWindow::onCmdSaveJuPedSimElementsAs().
|
static |
open data file dialog
Definition at line 2631 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::EdgeDataFileExtensions, openFileDialog(), SAVE_DATAELEMENTS, SUPERMODEDATA, and TL.
Referenced by GNEApplicationWindow::onCmdOpenDataElements(), GNEPythonToolDialogElements::DataArgument::onCmdOpenFilename(), and GNEApplicationWindow::onCmdSaveDataElementsUnified().
|
static |
open edgeType file dialog
Definition at line 2595 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::EdgeTypeFileExtensions, OPEN_NET, openFileDialog(), SAVE_NETWORKELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenEdgeTypes(), and GNEApplicationWindow::onCmdSaveEdgeTypesAs().
|
static |
open filename dialog (general)
Definition at line 2667 of file GNEApplicationWindowHelper.cpp.
References MFXUtils::assureExtension(), gCurrentFolder, GUIIconSubSys::getIcon(), and MFXUtils::userPermitsOverwritingWhenFileExists().
Referenced by GNEAttributesEditorRow::onCmdOpenFileDialog(), openAdditionalFileDialog(), openDataFileDialog(), openEdgeTypeFileDialog(), openMeanDataDialog(), openNetconvertFileDialog(), openNeteditConfigFileDialog(), openNetworkFileDialog(), openOptionFileDialog(), openOSMFileDialog(), openRouteFileDialog(), openSumoConfigFileDialog(), openTLSFileDialog(), openXMLFileDialog(), saveJoinedJunctionsFileDialog(), savePlainXMLFileDialog(), and saveToolLog().
|
static |
open meandata filename dialog
Definition at line 2643 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::MeanDataFileExtensions, MODEMEANDATA, openFileDialog(), SAVE_MEANDATAELEMENTS, and TL.
Referenced by GNEApplicationWindow::onCmdOpenMeanDataElements(), and GNEApplicationWindow::onCmdSaveMeanDataElementsUnified().
|
static |
open netconvert file dialog
Definition at line 2524 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::NetconvertConfigFileExtensions, OPEN_NET, openFileDialog(), and TL.
Referenced by GNEApplicationWindow::onCmdOpenNetconvertConfig().
|
static |
open netedit config file dialog
Definition at line 2559 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::NeteditConfigFileExtensions, OPEN_NETEDITCONFIG, openFileDialog(), SAVE_NETEDITCONFIG, and TL.
Referenced by GNEApplicationWindow::onCmdOpenNeteditConfig(), and GNEApplicationWindow::onCmdSaveNeteditConfigAs().
|
static |
open netconvert file dialog
Definition at line 2512 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::NetFileExtensions, 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 2655 of file GNEApplicationWindowHelper.cpp.
References OPEN, openFileDialog(), SAVE, TL, and SUMOXMLDefinitions::XMLFileExtensions.
Referenced by GNEPythonToolDialog::onCmdLoad(), GNEOptionsDialog::onCmdLoadOptions(), GNEPythonToolDialog::onCmdSave(), and GNEOptionsDialog::onCmdSaveOptions().
|
static |
open OSM file dialog
Definition at line 2552 of file GNEApplicationWindowHelper.cpp.
References OPEN_NET, openFileDialog(), SUMOXMLDefinitions::OSMFileExtensions, and TL.
Referenced by GNEApplicationWindow::onCmdOpenForeign().
|
static |
open route file dialog
Definition at line 2619 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SUMOXMLDefinitions::RouteFileExtensions, SAVE_DEMANDELEMENTS, SUPERMODEDEMAND, and TL.
Referenced by GNEApplicationWindow::onCmdOpenDemandElements(), GNEPythonToolDialogElements::RouteArgument::onCmdOpenFilename(), and GNEApplicationWindow::onCmdSaveDemandElementsUnified().
|
static |
open SUMO config file dialog
Definition at line 2571 of file GNEApplicationWindowHelper.cpp.
References OPEN_SUMOCONFIG, openFileDialog(), SAVE_SUMOCONFIG, SUMOXMLDefinitions::SumoConfigFileExtensions, and TL.
Referenced by GNEPythonToolDialogElements::SumoConfigArgument::onCmdOpenFilename(), GNEApplicationWindow::onCmdOpenSumoConfig(), and GNEApplicationWindow::onCmdSaveSumoConfigAs().
|
static |
open TLS file dialog
Definition at line 2583 of file GNEApplicationWindowHelper.cpp.
References OPEN_TLSPROGRAMS, openFileDialog(), SAVE_NETWORKELEMENTS, TL, and SUMOXMLDefinitions::TLSFileExtensions.
Referenced by GNEApplicationWindow::onCmdOpenTLSPrograms(), and GNEApplicationWindow::onCmdSaveTLSProgramsAs().
|
static |
open xml file dialog
Definition at line 2500 of file GNEApplicationWindowHelper.cpp.
References OPEN_SUMOCONFIG, openFileDialog(), SAVE, TL, and SUMOXMLDefinitions::XMLFileExtensions.
Referenced by GNEOptionsDialogElements::InputFilename::onCmdOpenDialog(), and GNEPythonToolDialogElements::FileNameArgument::onCmdOpenFilename().
|
privatedelete |
Invalidated assignment operator.
|
static |
open joined junctions file dialog
Definition at line 2538 of file GNEApplicationWindowHelper.cpp.
References SUMOXMLDefinitions::JunctionFileExtensions, openFileDialog(), SAVE, and TL.
Referenced by GNEApplicationWindow::onCmdSaveJoinedJunctionsAs().
|
static |
open plain xml file dialog
Definition at line 2531 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE, TL, and SUMOXMLDefinitions::XMLFileExtensions.
Referenced by GNEApplicationWindow::onCmdSavePlainXMLAs().
|
static |
open tool file dialog
Definition at line 2545 of file GNEApplicationWindowHelper.cpp.
References openFileDialog(), SAVE, TL, and SUMOXMLDefinitions::TXTFileExtensions.
Referenced by GNERunNetgenerateDialog::onCmdSaveLog(), and GNERunPythonToolDialog::onCmdSaveLog().
|
static |
check if a string ends with another string
Definition at line 2490 of file GNEApplicationWindowHelper.cpp.
|
static |
toggle edit options Data menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
Definition at line 2457 of file GNEApplicationWindowHelper.cpp.
References 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(), and GNEViewNet::onCmdToggleTAZRelOnlyTo().
Referenced by GNEApplicationWindow::onCmdToggleEditOptions().
|
static |
toggle edit options Demand menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
Definition at line 2415 of file GNEApplicationWindowHelper.cpp.
References 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(), and GNEViewNet::onCmdToggleShowTrips().
Referenced by GNEApplicationWindow::onCmdToggleEditOptions().
|
static |
toggle edit options Network menu commands (called in GNEApplicationWindow::onCmdToggleEditOptions)
Definition at line 2357 of file GNEApplicationWindowHelper.cpp.
References GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckMergeAutomatically, 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, GNEViewNet::onCmdToggleAutoOppositeEdge(), GNEViewNet::onCmdToggleChainEdges(), GNEViewNet::onCmdToggleChangeAllPhases(), GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdToggleExtendSelection(), GNEViewNet::onCmdToggleHideConnections(), GNEViewNet::onCmdToggleMergeAutomatically(), GNEViewNet::onCmdToggleMoveElevation(), GNEViewNet::onCmdToggleSelectEdges(), GNEViewNet::onCmdToggleShowAdditionalSubElements(), GNEViewNet::onCmdToggleShowConnections(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), GNEViewNet::onCmdToggleShowGrid(), GNEViewNet::onCmdToggleShowJunctionBubbles(), and GNEViewNet::onCmdToggleShowTAZElements().
Referenced by GNEApplicationWindow::onCmdToggleEditOptions().