60 const auto infoA =
TLF(
"% '%' cannot be updated because",
myElement->getTagStr(),
myElement->getID());
91 disableList(TL(
"No routes in net"));
const std::string DEFAULT_VTYPE_ID
@ SUMO_TAG_VTYPE
description of a vehicle/person/container type
@ SUMO_TAG_ROUTE
description of a route
@ GNE_TAG_CALIBRATOR_FLOW
a flow definition within in Calibrator
@ GNE_ATTR_SAVEFILE
save file
@ SUMO_ATTR_END
weights: time range end
@ GNE_ATTR_DEFAULT_VTYPE_MODIFIED
Flag to check if a default VType was modified.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string & getFilename() const
get filename
FileBucket * getFileBucket() const override
get reference to fileBucket in which save this AC
static const std::string TRUE_STR
true value in string format (used for comparing boolean values in getAttribute(......
static T parse(const std::string &string)
parses a value of type T from string (used for basic types: int, double, bool, etc....
GNENet * getNet() const
get pointer to net
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
virtual std::string getAttribute(SumoXMLAttr key) const =0
long openElementDialog(const size_t rowIndex)
open element dialog
long addNewElement()
add new element
CalibratorFlowsList(GNECalibratorDialog *calibratorDialog, FXVerticalFrame *contentFrame)
constructor
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
long onCmdAccept(FXObject *, FXSelector, void *)
event after press accept button
CalibratorFlowsList * myCalibratorFlows
list with calibrator flows
~GNECalibratorDialog()
destructor
GNECalibratorDialog(GNEAdditional *calibrator)
Constructor.
void runInternalTest(const InternalTestStep::DialogArgument *dialogArgument)
run internal test
void changeFileBucket(FileBucket *fileBucket)
change filebucket manually (used only during calibratorFlows creation)
FXVerticalFrame * myContentFrame
Result getResult() const
get result to indicate if this dialog was closed accepting or rejecting changes
void openDialog(FXWindow *focusableElement=nullptr)
GNEElementList(GNEDialog *parentDialog, FXVerticalFrame *contentFrame, SumoXMLTag tag, GNEElementList::Options options)
constructor
const std::unordered_map< SumoXMLTag, std::unordered_map< const GUIGlObject *, GNEDemandElement * >, std::hash< int > > & getDemandElements() const
get demand elements
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
GNEUndoList * getUndoList() const
get undo list(used for simplify code)
GNEAdditional * myElement
T * getElement() const
get edited element
GNETemplateElementDialog(GNEAdditional *element, DialogType type)
long acceptElementDialog()
long removeElement(const size_t rowIndex)
std::vector< GNEAdditional * > myEditedElements
long insertElement(GNEAdditional *element)
GNETemplateElementDialog< GNEAdditional > * myElementDialogParent
GNETemplateElementList(GNETemplateElementDialog< GNEAdditional > *elementDialogParent, FXVerticalFrame *contentFrame, SumoXMLTag tag, GNEElementList::Options options)
dialog arguments, used for certain modal dialogs that can not be edited using tab