19 #ifndef GNEInspectorFrame_h 20 #define GNEInspectorFrame_h 159 long onCmdChangeAdditionalParent(FXObject*, FXSelector,
void*);
162 long onCmdSetBlockingMovement(FXObject*, FXSelector,
void*);
165 long onCmdSetBlockingShape(FXObject*, FXSelector,
void*);
168 long onCmdSetClosingShape(FXObject*, FXSelector,
void*);
244 const std::vector<GNEAttributeCarrier*>&
getACs()
const;
327 std::vector<GNEAttributeCarrier*>
myACs;
SumoXMLTag
Numbers representing SUMO-XML - element names.
FXCheckButton * myCheckBoxBlockMovement
pointer to check box "Block movement"
GNEEdge * getEdgeTemplate() const
get the template edge (to copy attributes from)
void inspectElement(GNEAttributeCarrier *AC)
Inspect a single element.
FXHorizontalFrame * myHorizontalFrameAdditionalParent
horizontal frame for change additional parent
FXHorizontalFrame * myHorizontalFrameBlockMovement
horizontal frame for block movement
GNEInspectorFrame()
FOX needs this.
GNEInspectorFrame * myInspectorFrameParent
pointer to inspector frame parent
FXGroupBox * myGroupBoxForTemplates
groupBox for templates
void refreshValues()
Refresh inspected values (used when values can be changed externally by other modul) ...
FXButton * myCopyTemplateButton
copy template button
FXLabel * myLabelAdditionalParent
Label for additional parent.
void inspectFromDeleteFrame(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
inspect called from DeleteFrame
const std::vector< GNEAttributeCarrier * > & getACs() const
get current list of ACs
NeteditParameters * myNeteditParameters
Netedit Parameters.
long onCmdCopyTemplate(FXObject *, FXSelector, void *)
long onCmdShowChildMenu(FXObject *, FXSelector, void *data)
called when user press right click over an item of list of childs
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
FXLabel * myLabelBlockMovement
Label for Check blocked movement.
FXLabel * myLabelCloseShape
Label for close shape.
FXButton * mySetTemplateButton
set template button
~GNEInspectorFrame()
Destructor.
const std::vector< GNEAttributeCarrier * > & getInspectedACs() const
get reference to current inspected Attribute carriers
bool myPreviousElementDeleteWasMarked
flag to ckec if myPreviousElementDelete was marked in Delete Frame
void showAttributeCarrierChilds()
show child of current attributeCarrier
GNEEdge * myEdgeTemplate
the edge template
std::set< FXTreeItem * > myTreeItemsWithoutAC
set used to save tree items without AC assigned (for example, Incoming/Outcoming connections) ...
GNEAttributeCarrier * myRightClickedAC
pointer to current right clicked Attribute Carrier
void setEdgeTemplate(GNEEdge *tpl)
seh the template edge (we assume shared responsibility via reference counting)
FXLabel * myLabelBlockShape
Label for Check blocked shape.
NeteditParameters()
FOX needs this.
FXCheckButton * myCheckBoxCloseShape
pointer to check box "Block movement"
GNEAttributeCarrier * myPreviousElementInspect
pointer to previous element called by Inspector Frame
long onCmdGoBack(FXObject *, FXSelector, void *)
called when user toogle the go back button
long onCmdInspectItem(FXObject *, FXSelector, void *)
called when user select option "inspect item" of child menu
FXCheckButton * myCheckBoxBlockShape
pointer to check box "Block Shape"
A road/street connecting two junctions (netedit-version)
long onUpdCopyTemplate(FXObject *, FXSelector, void *)
update the copy button with the name of the template
FXGroupBox * myGroupBoxForTreeList
groupBox for AttrConnection
FXTreeList * myTreelist
tree list to show the childs of the element to erase
void createPopUpMenu(int X, int Y, GNEAttributeCarrier *ac)
GNEAttributeCarrier * myPreviousElementDelete
pointer to previous element called by Delete Frame
An Element which don't belongs to GNENet but has influency in the simulation.
long onCmdDeleteItem(FXObject *, FXSelector, void *)
called when user select option "delte item" of child menu
long onCmdCenterItem(FXObject *, FXSelector, void *)
called when user select option "center item" of child Menu
std::vector< GNEInspectorFrame::AttributeInput * > myVectorOfAttributeInputs
list of Attribute inputs
FXHorizontalFrame * myHorizontalFrameBlockShape
horizontal frame for block shape
void inspectChild(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
inspect child of already inspected element
FXTextField * myTextFieldAdditionalParent
pointer for change additional parent
std::vector< GNEAttributeCarrier * > myACs
the multi-selection currently being inspected
FXHorizontalFrame * myHorizontalFrameCloseShape
horizontal frame for close shape
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the Tree items with their AC
FXButton * myBackButton
back Button
long onCmdSetTemplate(FXObject *, FXSelector, void *)
set current edge as new template
void inspectMultisection(const std::vector< GNEAttributeCarrier *> &ACs)
Inspect the given multi-selection.
FXGroupBox * myGroupBoxForAttributes
groupBox for attributes