18 #ifndef GNEInspectorFrame_h 19 #define GNEInspectorFrame_h 141 void hideAttribute();
144 void refreshAttributeInput(
const std::string& value,
bool forceRefresh);
147 bool isCurrentAttributeValid()
const;
153 long onCmdSetAttribute(FXObject*, FXSelector,
void*);
156 long onCmdOpenAttributeDialog(FXObject*, FXSelector,
void*);
164 std::string stripWhitespaceAfterComma(
const std::string& stringValue);
168 void enableAttributeInputElements();
171 void disableAttributeInputElements();
214 void showAttributeEditorModul();
217 void hideAttributesEditorModul();
220 void refreshAttributeEditor(
bool forceRefreshShape,
bool forceRefreshPosition);
229 long onCmdAttributeHelp(FXObject*, FXSelector,
void*);
263 void showNeteditAttributesEditor();
266 void hideNeteditAttributesEditor();
269 void refreshNeteditAttributesEditor(
bool forceRefresh);
275 long onCmdSetNeteditAttribute(FXObject*, FXSelector,
void*);
278 long onCmdNeteditAttributeHelp(FXObject*, FXSelector,
void*);
345 void showGEOAttributesEditor();
348 void hideGEOAttributesEditor();
351 void refreshGEOAttributesEditor(
bool forceRefresh);
357 long onCmdSetGEOAttribute(FXObject*, FXSelector,
void*);
360 long onCmdGEOAttributeHelp(FXObject*, FXSelector,
void*);
409 void showTemplateEditor();
412 void hideTemplateEditor();
415 GNEEdge* getEdgeTemplate()
const;
418 void setEdgeTemplate(
GNEEdge* tpl);
424 long onCmdCopyTemplate(FXObject*, FXSelector,
void*);
427 long onCmdSetTemplate(FXObject*, FXSelector,
void*);
430 long onUpdCopyTemplate(FXObject*, FXSelector,
void*);
FXLabel * myLabelBlockMovement
Label for Check blocked movement.
bool nextElement(const Position &clickedPosition)
try to go to next element if clicked position is near to saved position
SumoXMLTag
Numbers representing SUMO-XML - element names.
void removeInspectedAC(GNEAttributeCarrier *ac)
remove AC from current inspected ACs
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
FXHorizontalFrame * myHorizontalFrameBlockMovement
horizontal frame for block movement
GNEInspectorFrame * myInspectorFrameParent
pointer to GNEInspectorFrame parent
std::vector< GNEAttributeCarrier * > myInspectedACs
the multi-selection currently being inspected
GNEInspectorFrame()
FOX needs this.
TemplateEditor()
FOX needs this.
FXButton * mySetTemplateButton
set template button
AttributesEditor * myAttributesEditor
Attribute editor.
long onCmdPreviousElement(FXObject *, FXSelector, void *)
Inspect previous element (from top to bot)
void inspectClickedElement(const GNEViewNet::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor.
FXHorizontalFrame * myGEOAttributeFrame
horizontal frame for GEOAttribute
Position mySavedClickedPosition
saved clicked position
void inspectFromDeleteFrame(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
inspect called from DeleteFrame
NeteditAttributesEditor()
FOX needs this.
void inspectSingleElement(GNEAttributeCarrier *AC)
Inspect a single element.
FXTextField * myGEOAttributeTextField
textField for GEOAttribute
bool processClick(const Position &clickedPosition, GNEViewNet::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet
void hideOverlappedInspection()
hide template editor
FXCheckButton * myUseGEOCheckButton
checkBox for use GEO
GEOAttributesEditor()
FOX needs this.
GNEFrame::ACHierarchy * myACHierarchy
Attribute Carrier Hierarchy.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
FXHorizontalFrame * myUseGEOFrame
horizontal frame for use GEO
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
FXTextField * myTextFieldAdditionalParent
pointer for change additional parent
FXLabel * myLabelCloseShape
Label for close shape.
~GNEInspectorFrame()
Destructor.
OverlappedInspection * getOverlappedInspection() const
get OverlappedInspection modul
GenericParametersEditor * myGenericParametersEditor
Generic parameters editor.
const std::vector< GNEAttributeCarrier * > & getInspectedACs() const
get current list of inspected ACs
void hide()
hide inspector frame
FXHorizontalFrame * myHorizontalFrameAdditionalParent
horizontal frame for change additional parent
bool previousElement(const Position &clickedPosition)
try to go to previous element if clicked position is near to saved position
bool myPreviousElementDeleteWasMarked
flag to ckec if myPreviousElementDelete was marked in Delete Frame
FXLabel * myCurrentIndexLabel
label for current index
FXButton * myHelpButton
button for help
size_t myItemIndex
current index item
AttributesEditor()
FOX needs this.
FXHorizontalFrame * myHorizontalFrameBlockShape
horizontal frame for block shape
A point in 2D or 3D with translation and scaling methods.
FXButton * myHelpButton
button for help
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
GNEFrame::ACHierarchy * getACHierarchy() const
get ACHierarchy
FXButton * myCopyTemplateButton
copy template button
FXLabel * myLabelAdditionalParent
Label for additional parent.
FXHorizontalFrame * myHorizontalFrameCloseShape
horizontal frame for close shape
FXButton * myHelpButton
button for help
void clearInspectedAC()
Clear all current inspected ACs.
std::vector< GNEAttributeCarrier * > myOverlappedACs
objects under cursor
GNEAttributeCarrier * myPreviousElementInspect
pointer to previous element called by Inspector Frame
long onCmdGoBack(FXObject *, FXSelector, void *)
called when user toogle the go back button
FXCheckButton * myCheckBoxBlockShape
pointer to check box "Block Shape"
GNEEdge * myEdgeTemplate
the edge template
long onCmdNextElement(FXObject *, FXSelector, void *)
Inspect next Element (from top to bot)
FXCheckButton * myCheckBoxBlockMovement
pointer to check box "Block movement"
bool overlappedInspectionShown() const
check if overlappedInspection modul is shown
void showOverlappedInspection(const GNEViewNet::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
show template editor
A road/street connecting two junctions (netedit-version)
FXButton * myPreviousElement
Previous element button.
bool checkSavedPosition(const Position &clickedPosition) const
check if given position is near to saved position
GNEAttributeCarrier * myPreviousElementDelete
pointer to previous element called by Delete Frame
long onCmdOverlappingHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
FXButton * myNextElement
Next element button.
GEOAttributesEditor * myGEOAttributesEditor
GEO Attributes editor.
~OverlappedInspection()
destructor
FXLabel * myUseGEOLabel
Label for use GEO.
TemplateEditor * getTemplateEditor() const
get template editor
NeteditAttributesEditor * myNeteditAttributesEditor
Netedit Attributes editor.
TemplateEditor * myTemplateEditor
Template editor.
FXLabel * myLabelBlockShape
Label for Check blocked shape.
void show()
show inspector frame
FXCheckButton * myCheckBoxCloseShape
pointer to check box "Block movement"
void inspectChild(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
inspect child of already inspected element
FXButton * myBackButton
back Button
void inspectMultisection(const std::vector< GNEAttributeCarrier *> &ACs)
Inspect the given multi-selection.
FXLabel * myGEOAttributeLabel
Label for GEOAttribute.
FXButton * myHelpButton
button for help
std::vector< GNEInspectorFrame::AttributesEditor::AttributeInput * > myVectorOfAttributeInputs
list of Attribute inputs
GNEInspectorFrame * myInspectorFrameParent
pointer to inspector frame parent
OverlappedInspection()
FOX needs this.
OverlappedInspection * myOverlappedInspection
Overlapped Inspection.