54 class AttributesEditorFlow;
158 void refreshValueElements(
const std::string& value,
const bool attributeEnabled,
const bool computed,
const bool forceRefreshAttribute);
290 std::vector<std::pair<std::string, std::string> >
getParameters()
const;
293 void setParameters(
const std::vector<std::pair<std::string, std::string> >& parameters);
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void hideAttributesEditorExtendedModule()
hide group box
void showAttributesEditorExtendedModule()
show AttributesEditorExtended modul
~AttributesEditorExtended()
destructor
long onCmdOpenDialog(FXObject *, FXSelector, void *)
GNEFrame * myFrameParent
pointer to Frame Parent
void refreshAttributeEditor(bool forceRefreshShape, bool forceRefreshPosition)
refresh attribute editor (only the valid values will be refresh)
FXButton * myHelpButton
button for help
bool myIncludeExtended
flag used to mark if current edited ACs are bein edited including extended attribute
GNEFlowEditor * myAttributesEditorFlow
GNEFlowEditor modul.
GNEFrame * myFrameParent
fox need this
GNEFrame * getFrameParent() const
pointer to GNEFrame parent
long onCmdAttributesEditorHelp(FXObject *, FXSelector, void *)
void showAttributeEditorModule(bool includeExtended)
show attributes of multiple ACs
std::vector< AttributesEditorRow * > myAttributesEditorRows
list of Attribute editor rows
void hideAttributesEditorModule()
hide attribute editor
MFXButtonTooltip * myValueLaneDownButton
Button for move lane down.
long onCmdSetAttribute(FXObject *, FXSelector, void *)
try to set new attribute value
GNEAttributeCarrier * myACParent
pointer to AC Parent
const GNEAttributeProperties myACAttr
current AC Attribute
long onCmdMoveElementLaneDown(FXObject *, FXSelector, void *)
inspect vType/VTypeDistribution parent
MFXButtonTooltip * myAttributeButton
pointer to attributeAllowButton
std::string stripWhitespaceAfterComma(const std::string &stringValue)
removed invalid spaces of Positions and shapes
long onCmdOpenAllowDialog(FXObject *, FXSelector, void *)
open model dialog for edit allow
AttributesEditorRow & operator=(AttributesEditorRow *)=delete
Invalidated assignment operator.
void refreshValueElements(const std::string &value, const bool attributeEnabled, const bool computed, const bool forceRefreshAttribute)
build value elements();
bool isAttributesEditorRowValid() const
check if current attribute of TextField/ComboBox is valid
bool mergeJunction(SumoXMLAttr attr, const std::string &newVal) const
check junction merging
AttributesEditorRow()
default constructor
void destroy()
destroy GNEAttributesCreatorRow (but don't delete)
FXCheckButton * myValueCheckButton
pointer to menu check
long onCmdInspectParent(FXObject *, FXSelector, void *)
inspect parent
MFXLabelTooltip * myAttributeLabel
pointer to attribute label
MFXButtonTooltip * myValueLaneUpButton
Button for move lane up.
void fillComboBox(const std::string &value)
fill comboBox with discrete values
long onCmdSelectCheckButton(FXObject *, FXSelector, void *)
called when user press a check button
AttributesEditor * myAttributesEditorParent
pointer to AttributesEditor parent
MFXTextFieldTooltip * myValueTextField
textField to modify the value of string attributes
AttributesEditorRow(AttributesEditorRow *)=delete
Invalidated copy constructor.
FXCheckButton * myAttributeCheckButton
pointer to attribute menu check
long onCmdMoveElementLaneUp(FXObject *, FXSelector, void *)
inspect vType/VTypeDistribution parent
void buildAttributeElements(const bool attributeEnabled, const bool computed)
build Attribute elements
void refreshAttributeElements(const std::string &value, const bool attributeEnabled, const bool computed)
refresh Attribute elements
long onCmdOpenColorDialog(FXObject *, FXSelector, void *)
open model dialog for edit color
MFXComboBoxIcon * myValueComboBox
pointer to combo box choices
void updateMoveLaneButtons(const std::string &value)
update move lane buttons
void buildValueElements(const bool attributeEnabled, const bool computed)
build value elements();
void refreshAttributesEditorRow(const std::string &value, const bool forceRefreshAttribute, const bool attributeEnabled, const bool computed, GNEAttributeCarrier *ACParent)
refresh current row
~GenericDataAttributes()
destructor
long onCmdSetParameters(FXObject *, FXSelector, void *)
Called when user udpate the parameter text field.
bool areAttributesValid() const
check if current attributes are valid
const Parameterised::Map & getParametersMap() const
get parameters as map
FXButton * myButtonEditParameters
button for edit parameters using specific dialog
void refreshGenericDataAttributes()
refresh netedit attributes
FXTextField * myTextFieldParameters
text field for write parameters
void showGenericDataAttributes()
show netedit attributes EditorCreator
long onCmdEditParameters(FXObject *, FXSelector, void *)
GNEFrame * getFrameParent() const
pointer to frame parent
std::vector< std::pair< std::string, std::string > > getParameters() const
get parameters as vector of strings
std::string getParametersStr() const
get parameters as string
Parameterised::Map myParameters
pointer to current map of parameters
GNEFrame * myFrameParent
pointer to frame parent
void hideGenericDataAttributes()
hide netedit attributes EditorCreator
void setParameters(const std::vector< std::pair< std::string, std::string > > ¶meters)
set parameters
GNEViewNet * getViewNet() const
@get viewNet
~ParametersEditor()
destructor
GNETypeFrame * myTypeFrameParent
type frame parent
void refreshParametersEditor()
refresh netedit attributes
long onCmdSetParameters(FXObject *, FXSelector, void *)
Called when user udpate the parameter text field.
GNEInspectorFrame * myInspectorFrameParent
FOX need this.
long onCmdEditParameters(FXObject *, FXSelector, void *)
void hideParametersEditor()
hide netedit attributes EditorInspector
GNEInspectorFrame * getInspectorFrameParent() const
get inspector frame parent
FXButton * myButtonEditParameters
button for edit parameters using specific dialog
FXTextField * myTextFieldParameters
text field for write parameters
GNETypeFrame * getTypeFrameParent() const
get type frame parent
void showParametersEditor()
show netedit attributes EditorInspector
static bool isSupermodeValid(const GNEViewNet *viewNet, const GNEAttributeCarrier *AC)
return true if AC can be edited in the current supermode
A single child window which contains a view of the simulation area.
MFXGroupBoxModule (based on FXGroupBox)
std::map< std::string, std::string > Map
parameters map