 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEInspectorFrame_h
18 #define GNEInspectorFrame_h
long onCmdCopyTemplate(FXObject *, FXSelector, void *)
copy edge attributes from edge template
void inspectMultisection(const std::vector< GNEAttributeCarrier * > &ACs)
Inspect the given multi-selection.
FXHorizontalFrame * myHorizontalFrameCloseShape
@frame horizontal frame for close shape
FXLabel * myGEOAttributeLabel
Label for GEOAttribute.
void hideNeteditAttributesEditor()
hide netedit attributes editor
void clearInspectedAC()
Clear all current inspected ACs.
GNEInspectorFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
~GEOAttributesEditor()
destructor
FXButton * myBackButton
back Button
GNEEdge * myEdgeTemplate
pointer to edge template
void inspectSingleElement(GNEAttributeCarrier *AC)
Inspect a single element.
long onCmdGoBack(FXObject *, FXSelector, void *)
called when user toogle the go back button
FXHorizontalFrame * myHorizontalFrameBlockMovement
@frame horizontal frame for block movement
FXLabel * myLabelParentAdditional
Label for parent additional.
void updateButtons()
update buttons
GNEFrameModuls::AttributeCarrierHierarchy * myAttributeCarrierHierarchy
Attribute Carrier Hierarchy.
GNEAttributeCarrier * myPreviousElementInspect
pointer to previous element called by Inspector Frame
void refreshNeteditAttributesEditor(bool forceRefresh)
refresh netedit attributes
void inspectClickedElement(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor.
GNEAttributeCarrier * myPreviousElementDelete
pointer to previous element called by Delete Frame
FXLabel * myUseGEOLabel
Label for use GEO.
void copyTemplate()
copy template (used by shortcut)
GEOAttributesEditor * myGEOAttributesEditor
GEO Attributes editor.
void refreshGEOAttributesEditor(bool forceRefresh)
refresh GEO attributes editor
FXCheckButton * myCheckBoxCloseShape
pointer to check box "Block movement"
FXLabel * myLabelCloseShape
Label for close shape.
~TemplateEditor()
destructor
void attributeUpdated()
function called after set a valid attribute in AttributeEditor
void inspectFromDeleteFrame(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
inspect called from DeleteFrame
void showGEOAttributesEditor()
show GEO attributes editor
long onCmdSetNeteditAttribute(FXObject *, FXSelector, void *)
A road/street connecting two junctions (netedit-version)
FXTextField * myGEOAttributeTextField
textField for GEOAttribute
FXButton * mySetTemplateButton
set template button
GEOAttributesEditor(GNEInspectorFrame *inspectorFrameParent)
FOX-declaration.
FXLabel * myLabelBlockMovement
Label for Check blocked movement.
void showNeteditAttributesEditor()
show netedit attributes editor
~GNEInspectorFrame()
Destructor.
GNEEdge * getEdgeTemplate() const
get the template edge (to copy attributes from)
FXHorizontalFrame * myHorizontalFrameBlockShape
@frame horizontal frame for block shape
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
void selectedOverlappedElement(GNEAttributeCarrier *AC)
open AttributesCreator extended dialog (can be reimplemented in frame children)
FXLabel * myLabelBlockShape
Label for Check blocked shape.
long onCmdNeteditAttributeHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
class used to group all variables related with objects under cursor after a click over view
FXCheckButton * myCheckBoxBlockMovement
pointer to check box "Block movement"
long onCmdGEOAttributeHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
void showTemplateEditor()
show template editor
#define FOX_CONSTRUCTOR(classname)
void updateFrameAfterUndoRedo()
function called after undo/redo in the current frame (can be reimplemented in frame children)
TemplateEditor * getTemplateEditor() const
get template editor
TemplateEditor * myTemplateEditor
Template editor.
A point in 2D or 3D with translation and scaling methods.
GNEFrameAttributesModuls::AttributesEditor * myAttributesEditor
Attribute editor.
GNEFrameModuls::OverlappedInspection * getOverlappedInspection() const
get OverlappedInspection modul
~NeteditAttributesEditor()
destructor
FXButton * myHelpButton
button for help
GNEFrameAttributesModuls::ParametersEditor * myParametersEditor
parameters editor
FXHorizontalFrame * myUseGEOFrame
horizontal frame for use GEO
GNEFrameModuls::OverlappedInspection * myOverlappedInspection
Overlapped Inspection.
long onCmdSetGEOAttribute(FXObject *, FXSelector, void *)
Called when user change the current GEO Attribute.
void clearTemplate()
clear template (used by shortcut)
GNEFrameAttributesModuls::AttributesEditor * getAttributesEditor() const
get AttributesEditor
NeteditAttributesEditor * myNeteditAttributesEditor
Netedit Attributes editor.
GNEInspectorFrame * myInspectorFrameParent
pointer to inspector frame parent
FXButton * myHelpButton
button for help
void setEdgeTemplate(GNEEdge *tpl)
seh the template edge (we assume shared responsibility via reference counting)
FXCheckButton * myCheckBoxBlockShape
pointer to check box "Block Shape"
long onCmdClearTemplate(FXObject *, FXSelector, void *)
clear current edge template
void inspectChild(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
inspect child of already inspected element
void hide()
hide inspector frame
void hideTemplateEditor()
hide template editor
FXButton * myClearTemplateButton
clear template button
bool myPreviousElementDeleteWasMarked
flag to ckec if myPreviousElementDelete was marked in Delete Frame
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
bool processDemandSupermodeClick(const Position &clickedPosition, GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet in Supermode Demand
FXCheckButton * myUseGEOCheckButton
checkBox for use GEO
long onCmdSetTemplate(FXObject *, FXSelector, void *)
set current edge as new template
void hideGEOAttributesEditor()
hide GEO attributes editor
FXButton * myCopyTemplateButton
copy template button
TemplateEditor(GNEInspectorFrame *inspectorFrameParent)
FOX-declaration.
FXHorizontalFrame * myHorizontalFrameParentAdditional
@frame horizontal frame for replace the parent additional
FXHorizontalFrame * myGEOAttributeFrame
horizontal frame for GEOAttribute
FXTextField * myTextFieldParentAdditional
pointer for replace the parent additional
bool processNetworkSupermodeClick(const Position &clickedPosition, GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet in Supermode Network
void setTemplate()
set template (used by shortcut)
void show()
show inspector frame
NeteditAttributesEditor(GNEInspectorFrame *inspectorFrameParent)
FOX-declaration.