115 void hideParameter();
121 std::string getValue()
const;
124 const std::string& isAttributeValid()
const;
132 long onCmdSetAttribute(FXObject*, FXSelector,
void*);
135 long onCmdSetBooleanAttribute(FXObject*, FXSelector,
void*);
138 long onCmdSetColorAttribute(FXObject*, FXSelector,
void*);
199 void hideACAttributesModul();
202 std::map<
SumoXMLAttr, std::
string> getAttributesAndValues() const;
205 bool areValuesValid() const;
208 void showWarningMessage(std::
string extra = "") const;
211 int getNumberOfAddedAttributes() const;
216 long onCmdHelp(FXObject*, FXSelector,
void*);
253 void hideACHierarchy();
256 void refreshACHierarchy();
261 long onCmdShowChildMenu(FXObject*, FXSelector,
void* data);
264 long onCmdCenterItem(FXObject*, FXSelector,
void*);
267 long onCmdInspectItem(FXObject*, FXSelector,
void*);
270 long onCmdDeleteItem(FXObject*, FXSelector,
void*);
281 FXTreeItem* showAttributeCarrierParents();
328 void showGenericParametersEditor(std::vector<GNEAttributeCarrier*> ACs);
331 void hideGenericParametersEditor();
334 void refreshGenericParametersEditor();
337 std::string getGenericParametersStr()
const;
342 long onCmdEditGenericParameter(FXObject*, FXSelector,
void*);
345 long onCmdSetGenericParameter(FXObject*, FXSelector,
void*);
360 std::vector<GNEAttributeCarrier*>
myACs;
388 void showDrawingShape();
391 void hideDrawingShape();
403 void addNewPoint(
const Position& P);
406 void removeLastPoint();
412 bool isDrawing()
const;
415 void setDeleteLastCreatedPoint(
bool value);
418 bool getDeleteLastCreatedPoint();
423 long onCmdStartDrawing(FXObject*, FXSelector,
void*);
426 long onCmdStopDrawing(FXObject*, FXSelector,
void*);
429 long onCmdAbortDrawing(FXObject*, FXSelector,
void*);
478 void hideNeteditAttributesModul();
481 bool getNeteditAttributesAndValues(std::map<SumoXMLAttr, std::string> &valuesMap,
GNELane *lane)
const;
486 long onCmdSetNeteditAttribute(FXObject*, FXSelector,
void*);
489 long onCmdHelp(FXObject*, FXSelector,
void*);
502 GNE_ADDITIONALREFERENCEPOINT_INVALID
506 double setStartPosition(
double positionOfTheMouseOverLane,
double lengthOfAdditional)
const;
509 double setEndPosition(
double positionOfTheMouseOverLane,
double lengthOfAdditional)
const;
556 GNEFrame(FXHorizontalFrame* horizontalFrameParent,
GNEViewNet* viewNet,
const std::string& frameLabel);
GNEFrame()
FOX needs this.
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
const RGBColor & getEdgeCandidateColor() const
get edge candidate color
SumoXMLTag
Numbers representing SUMO-XML - element names.
FXTextField * myLengthTextField
textField for length
FXButton * myStartDrawingButton
button for start drawing
virtual void enableModuls(const GNEAttributeCarrier::TagProperties &tagProperties)
enable moduls depending of item selected in ItemSelector (can be reimplemented in frame childs) ...
GNEFrame & operator=(const GNEFrame &)=delete
Invalidated assignment operator.
FXLabel * getFrameHeaderLabel() const
get the label for the frame's header
FXLabel * myBlockShapeLabel
Label for block shape.
FXLabel * myLabel
lael with the name of the parameter
FXFont * myFrameHeaderFont
Font for the Header.
FXHorizontalFrame * myHeaderRightFrame
fame for right header elements
ItemSelector()
FOX needs this.
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the Tree items with their AC
struct with the attribute Properties
GNEFrame * myFrameParent
pointer to inspector frame parent
GNEAttributeCarrier * myRightClickedAC
pointer to current right clicked Attribute Carrier
const RGBColor & getEdgeCandidateSelectedColor() const
get selected color
FXComboBox * myTypeMatchBox
comboBox with the list of elements type
FXCheckButton * myBoolCheckButton
check button to enable/disable the value of boolean parameters
FXScrollWindow * myScrollWindowsContents
scroll windows that holds the content frame
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
GNEFrame * myFrameParent
pointer to Frame Parent
std::vector< ACAttributeRow * > myACAttributeRows
vector with the ACAttribute Rows
FXFont * getFrameHeaderFont() const
get font of the header's frame
FXHorizontalFrame * myHeaderFrame
fame for header elements
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void refreshTagProperties()
due myCurrentTagProperties is a Reference, we need to refresh it when frameParent is show ...
RGBColor myEdgeCandidateSelectedColor
selected edge candidate color (used by some modulds to selected mark edges)
FXCheckButton * myBlockMovementCheckButton
checkBox for block movement
GNEAttributeCarrier::TagProperties myTagProperties
current edited Tag Properties
FXButton * myColorEditor
Button for open color editor.
GNEViewNet * getViewNet() const
get view net
GNEFrame * myFrameParent
Frame Parent.
GNEAttributeCarrier::TagProperties myInvalidTagProperty
dummy tag properties used if user select an invalid tag
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections ...
GNEViewNet * myViewNet
View Net for changes.
std::vector< GNEAttributeCarrier * > myACs
list of edited ACs
FXButton * myAbortDrawingButton
button for abort drawing
const GNEAttributeCarrier::TagProperties & getCurrentTagProperties() const
get current type tag
GNEAttributeCarrier::AttributeProperties myAttrProperties
attribute properties
FXCheckButton * myCloseShapeCheckButton
checkbox to enable/disable closing polygon
FXCheckButton * myBlockShapeCheckButton
checkBox for block shape
GNEAttributeCarrier * myAC
edited Attribute Carrier
FXVerticalFrame * myContentFrame
Vertical frame that holds all widgets of frame.
SumoXMLAttr myXMLAttr
current XML attribute
A point in 2D or 3D with translation and scaling methods.
FXComboBox * myReferencePointMatchBox
match box with the list of reference points
std::vector< SumoXMLTag > myListOfTags
list of tags that will be shown in Match Box
FXLabel * myFrameHeaderLabel
the label for the frame's header
std::vector< std::pair< std::string, std::string > > * myGenericParameters
pointer to current vector of generic parameters
bool myCurrentLengthValid
Flag to check if current length is valid.
FXButton * myStopDrawingButton
button for stop drawing
void setFrameWidth(int newWidth)
set width of GNEFrame
FXLabel * myBlockMovementLabel
Label for block movement.
void focusUpperElement()
focus upper element of frame
GNEAttributeCarrier * myAC
Attribute carrier.
ACHierarchy()
FOX needs this.
RGBColor myEdgeCandidateColor
edge candidate color (used by some modulds to mark edges)
DrawingShape()
FOX needs this.
GenericParametersEditor()
FOX needs this.
GNEFrame * myFrameParent
pointer to frame parent
FXButton * helpReferencePoint
Button for help about the reference point.
~ItemSelector()
destructor
virtual void show()
show Frame
FXTextField * myTextFieldStrings
textField to modify the default value of string parameters
GNEFrame * myFrameParent
pointer to Polygon Frame Parent
struct with the attribute Properties
GNEFrame * myFrameParent
pointer to frame parent
FXLabel * myClosePolygonLabel
Label for open/close polygon.
ACAttributeRow()
FOX needs this.
virtual void hide()
hide Frame
long onCmdSelectItem(FXObject *, FXSelector, void *)
FXTextField * myTextFieldGenericParameter
text field for write generic parameter
FXLabel * myLengthLabel
Label for length.
FXTextField * myTextFieldInt
textField to modify the default value of int/float/string parameters
FXTreeList * myTreelist
tree list to show the childs of the element to erase
virtual bool buildShape()
build a shaped element using the drawed shape (can be reimplemented in frame childs) return true if w...
void openHelpAttributesDialog(const GNEAttributeCarrier::TagProperties &tagProperties) const
Open help attributes dialog.
GNEAttributeCarrier::TagProperties myCurrentTagProperties
current tag properties
virtual void disableModuls()
disable moduls if element selected in itemSelector isn't valid (can be reimplemented in frame childs)...
FXTextField * myTextFieldReal
textField to modify the default value of real/times parameters
AdditionalReferencePoint
list of the reference points
FXLabel * myInformationLabel
Label with information.
void setCurrentTypeTag(SumoXMLTag typeTag)
set current type manually
FXHorizontalFrame * myHeaderLeftFrame
fame for left header elements
NeteditAttributes()
FOX needs this.
FXButton * myEditGenericParameterButton
button for add generic parameter
std::string myInvalidValue
string which indicates the reason due current value is invalid
AdditionalReferencePoint myActualAdditionalReferencePoint
actual additional reference point selected in the match Box
ACAttributes * myACAttributesParent
pointer to ACAttributes
PositionVector myTemporalShapeShape
current drawed shape