![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameAttributesModuls.h>
Public Member Functions | |
AttributesEditor (GNEFrame *inspectorFrameParent) | |
FOX-declaration. More... | |
const std::vector< GNEAttributeCarrier * > & | getEditedACs () const |
get current edited ACs More... | |
GNEFrame * | getFrameParent () const |
pointer to GNEFrame parent More... | |
void | hideAttributesEditorModul () |
hide attribute editor More... | |
void | refreshAttributeEditor (bool forceRefreshShape, bool forceRefreshPosition) |
refresh attribute editor (only the valid values will be refresh) More... | |
void | removeEditedAC (GNEAttributeCarrier *AC) |
remove edited ACs More... | |
void | showAttributeEditorModul (const std::vector< GNEAttributeCarrier * > &ACs, bool includeExtended) |
show attributes of multiple ACs More... | |
FOX-callbacks | |
Called when user press the help button | |
long | onCmdAttributesEditorHelp (FXObject *, FXSelector, void *) |
Protected Member Functions | |
AttributesEditor () | |
FOX needs this. More... | |
Private Attributes | |
std::vector< AttributesEditorRow * > | myAttributesEditorRows |
list of Attribute editor rows More... | |
std::vector< GNEAttributeCarrier * > | myEditedACs |
the multi-selection currently being inspected More... | |
GNEFrame * | myFrameParent |
pointer to GNEFrame parent More... | |
FXButton * | myHelpButton |
button for help More... | |
bool | myIncludeExtended |
flag used to mark if current edited ACs are bein edited including extended attribute More... | |
Definition at line 305 of file GNEFrameAttributesModuls.h.
GNEFrameAttributesModuls::AttributesEditor::AttributesEditor | ( | GNEFrame * | inspectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1417 of file GNEFrameAttributesModuls.cpp.
References GUIDesignButtonRectangular, GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES, MID_HELP, myAttributesEditorRows, and myHelpButton.
|
inlineprotected |
FOX needs this.
Definition at line 339 of file GNEFrameAttributesModuls.h.
const std::vector< GNEAttributeCarrier * > & GNEFrameAttributesModuls::AttributesEditor::getEditedACs | ( | ) | const |
get current edited ACs
Definition at line 1546 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEInspectorFrame::clearInspectedAC(), and GNEViewNet::openObjectDialog().
GNEFrame * GNEFrameAttributesModuls::AttributesEditor::getFrameParent | ( | ) | const |
pointer to GNEFrame parent
Definition at line 1540 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow().
void GNEFrameAttributesModuls::AttributesEditor::hideAttributesEditorModul | ( | ) |
hide attribute editor
Definition at line 1492 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEInspectorFrame::inspectMultisection().
long GNEFrameAttributesModuls::AttributesEditor::onCmdAttributesEditorHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1571 of file GNEFrameAttributesModuls.cpp.
void GNEFrameAttributesModuls::AttributesEditor::refreshAttributeEditor | ( | bool | forceRefreshShape, |
bool | forceRefreshPosition | ||
) |
refresh attribute editor (only the valid values will be refresh)
Definition at line 1501 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_POSITION, and SUMO_ATTR_SHAPE.
Referenced by GNEInspectorFrame::attributeUpdated(), and GNEInspectorFrame::updateFrameAfterUndoRedo().
void GNEFrameAttributesModuls::AttributesEditor::removeEditedAC | ( | GNEAttributeCarrier * | AC | ) |
remove edited ACs
Definition at line 1552 of file GNEFrameAttributesModuls.cpp.
References toString(), and WRITE_DEBUG.
Referenced by GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNENet::removePolygonForEditShapes(), and GNENet::removeShape().
void GNEFrameAttributesModuls::AttributesEditor::showAttributeEditorModul | ( | const std::vector< GNEAttributeCarrier * > & | ACs, |
bool | includeExtended | ||
) |
show attributes of multiple ACs
Definition at line 1429 of file GNEFrameAttributesModuls.cpp.
References NBConnection::InvalidTlIndex, SUMO_ATTR_TLLINKINDEX, SUMO_TAG_CONNECTION, and toString().
Referenced by GNEVehicleTypeFrame::attributesEditorExtendedDialogOpened(), GNEInspectorFrame::inspectMultisection(), GNEPersonTypeFrame::show(), and GNEVehicleTypeFrame::show().
|
private |
list of Attribute editor rows
Definition at line 346 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditor().
|
private |
the multi-selection currently being inspected
Definition at line 352 of file GNEFrameAttributesModuls.h.
|
private |
pointer to GNEFrame parent
Definition at line 343 of file GNEFrameAttributesModuls.h.
|
private |
button for help
Definition at line 349 of file GNEFrameAttributesModuls.h.
Referenced by AttributesEditor().
|
private |
flag used to mark if current edited ACs are bein edited including extended attribute
Definition at line 355 of file GNEFrameAttributesModuls.h.