![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEDeleteFrame.h>


Data Structures | |
| class | DeleteOptions |
Public Member Functions | |
| void | focusUpperElement () |
| focus upper element of frame More... | |
| DeleteOptions * | getDeleteOptions () const |
| get delete options More... | |
| FXFont * | getFrameHeaderFont () const |
| get font of the header's frame More... | |
| FXLabel * | getFrameHeaderLabel () const |
| get the label for the frame's header More... | |
| GNEViewNet * | getViewNet () const |
| get view net More... | |
| GNEDeleteFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet) | |
| Constructor. More... | |
| void | hide () |
| hide delete frame More... | |
| void | removeAttributeCarrier (GNEAttributeCarrier *ac, bool ignoreOptions=false) |
| remove attribute carrier (element) More... | |
| void | removeSelectedAttributeCarriers () |
| remove selected attribute carriers (element) More... | |
| void | setFrameWidth (int newWidth) |
| set width of GNEFrame More... | |
| void | show () |
| show delete frame More... | |
| ~GNEDeleteFrame () | |
| Destructor. More... | |
Protected Member Functions | |
| void | openHelpAttributesDialog (SumoXMLTag tag) const |
| Open help attributes dialog. More... | |
Protected Attributes | |
| FXVerticalFrame * | myContentFrame |
| Vertical frame that holds all widgets of frame. More... | |
| FXHorizontalFrame * | myHeaderFrame |
| fame for header elements More... | |
| FXHorizontalFrame * | myHeaderLeftFrame |
| fame for left header elements More... | |
| FXHorizontalFrame * | myHeaderRightFrame |
| fame for right header elements More... | |
| GNEViewNet * | myViewNet |
| View Net for changes. More... | |
Private Attributes | |
| ACHierarchy * | myACHierarchy |
| modul for hierarchy More... | |
| GNEAttributeCarrier * | myClickedAC |
| current attribute carrier selected in three More... | |
| DeleteOptions * | myDeleteOptions |
| modul for delete options More... | |
| GNEAttributeCarrier * | myMarkedAC |
| pointer to marked attributeCarrier (element) More... | |
The Widget for deleting elements
Definition at line 39 of file GNEDeleteFrame.h.
| GNEDeleteFrame::GNEDeleteFrame | ( | FXHorizontalFrame * | horizontalFrameParent, |
| GNEViewNet * | viewNet | ||
| ) |
Constructor.
parent FXHorizontalFrame in which this GNEFrame is placed viewNet viewNet that uses this GNEFrame
Definition at line 90 of file GNEDeleteFrame.cpp.
References myACHierarchy, and myDeleteOptions.
| GNEDeleteFrame::~GNEDeleteFrame | ( | ) |
Destructor.
Definition at line 100 of file GNEDeleteFrame.cpp.
|
inherited |
focus upper element of frame
Definition at line 735 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEViewNet::onLeftBtnPress(), GNEViewNet::setEditMode(), and GNEViewNet::updateModeSpecificControls().
| GNEDeleteFrame::DeleteOptions * GNEDeleteFrame::getDeleteOptions | ( | ) | const |
get delete options
Definition at line 297 of file GNEDeleteFrame.cpp.
References myDeleteOptions.
Referenced by GNEViewNet::onLeftBtnPress().
|
inherited |
get font of the header's frame
Definition at line 778 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 772 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().
|
inherited |
get view net
Definition at line 766 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEPolygonFrame::DrawingMode::abortDrawing(), GNETLSEditorFrame::TLSFile::checkTLSValids(), GNEFrame::ACHierarchy::createPopUpMenu(), GNECrossingFrame::edgesSelector::enableEdgeSelector(), GNETLSEditorFrame::TLSFile::myStartElement(), GNEFrame::ACHierarchy::onCmdCenterItem(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEFrame::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrame::ACHierarchy::onCmdInspectItem(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::VisualScaling::onCmdScaleSelection(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNECrossingFrame::crossingParameters::onCmdSetAttribute(), GNEFrame::GenericParametersEditor::onCmdSetGenericParameter(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute(), GNEAdditionalFrame::SelectorParentAdditional::refreshListOfAdditionalParents(), removeAttributeCarrier(), GNECrossingFrame::edgesSelector::restoreEdgeColors(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEAdditionalFrame::SelectorParentEdges::showList(), GNEAdditionalFrame::SelectorParentLanes::showList(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEPolygonFrame::DrawingMode::stopDrawing(), GNESelectorFrame::LockGLObjectTypes::updateLockGLObjectTypes(), GNEAdditionalFrame::SelectorParentEdges::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorParentLanes::updateUseSelectedLanes().
|
virtual |
hide delete frame
Reimplemented from GNEFrame.
Definition at line 114 of file GNEDeleteFrame.cpp.
References GNEFrame::hide().
Referenced by GNEFrame::ACHierarchy::onCmdDeleteItem().
|
protectedinherited |
Open help attributes dialog.
Definition at line 784 of file GNEFrame.cpp.
References GUIIconSubSys::getIcon(), GNEAttributeCarrier::getTagProperties(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, ICON_ACCEPT, ICON_MODEINSPECT, MAX2(), MID_TABLE, GNEFrame::myScrollWindowsContents, toString(), and WRITE_DEBUG.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::AttributesEditor::onCmdAttributeHelp(), GNECrossingFrame::crossingParameters::onCmdHelp(), GNEAdditionalFrame::AdditionalAttributes::onCmdHelp(), and GNEPolygonFrame::ShapeAttributes::onCmdHelp().
| void GNEDeleteFrame::removeAttributeCarrier | ( | GNEAttributeCarrier * | ac, |
| bool | ignoreOptions = false |
||
| ) |
remove attribute carrier (element)
| ac | Attribute Carrier to remove |
| ignoreOptions | ignore delete options and ALWAYS remove AC |
Definition at line 132 of file GNEDeleteFrame.cpp.
References GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteEdge(), GNEEdge::deleteGeometryPoint(), GNEPoly::deleteGeometryPoint(), GNENet::deleteJunction(), GNENet::deleteLane(), GNEDeleteFrame::DeleteOptions::deleteOnlyGeometryPoints(), GNENet::deleteShape(), GNEDeleteFrame::DeleteOptions::forceDeleteAdditionals(), GNENetElement::getAdditionalChilds(), GNEViewParent::getAdditionalFrame(), GNENetElement::getAdditionalParents(), GNEJunction::getGNEEdges(), GNEAttributeCarrier::getID(), GNEEdge::getLanes(), GNEViewNet::getNet(), GUISUMOAbstractView::getPositionInformation(), GNEAttributeCarrier::getTag(), GNEAttributeCarrier::getTagProperties(), GNEViewNet::getUndoList(), GNEEdge::getVertexIndex(), GNEPoly::getVertexIndex(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), myDeleteOptions, GNEFrame::myViewNet, GNEAdditionalFrame::removeAdditional(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_POLY, toString(), UNUSED_PARAMETER, and WRITE_DEBUG.
Referenced by GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEViewNet::onLeftBtnPress(), and removeSelectedAttributeCarriers().
| void GNEDeleteFrame::removeSelectedAttributeCarriers | ( | ) |
remove selected attribute carriers (element)
Definition at line 121 of file GNEDeleteFrame.cpp.
References GNEViewNet::getNet(), GNENet::getSelectedAttributeCarriers(), GNEViewNet::getUndoList(), GNEFrame::myViewNet, GNEUndoList::p_begin(), GNEUndoList::p_end(), and removeAttributeCarrier().
Referenced by GNEViewNet::onLeftBtnPress().
|
inherited |
set width of GNEFrame
Definition at line 759 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
|
virtual |
show delete frame
Reimplemented from GNEFrame.
Definition at line 103 of file GNEDeleteFrame.cpp.
References GNEViewNet::getNet(), GNENet::getSelectedAttributeCarriers(), GNEFrame::ACHierarchy::hideACHierarchy(), myACHierarchy, GNEFrame::myViewNet, GNEFrame::show(), and GNEFrame::ACHierarchy::showACHierarchy().
Referenced by GNEInspectorFrame::onCmdGoBack(), and GNEViewNet::updateModeSpecificControls().
|
private |
modul for hierarchy
Definition at line 105 of file GNEDeleteFrame.h.
Referenced by GNEDeleteFrame(), and show().
|
private |
current attribute carrier selected in three
Definition at line 111 of file GNEDeleteFrame.h.
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 235 of file GNEFrame.h.
Referenced by GNEConnectorFrame::GNEConnectorFrame(), GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().
|
private |
modul for delete options
Definition at line 102 of file GNEDeleteFrame.h.
Referenced by getDeleteOptions(), GNEDeleteFrame(), and removeAttributeCarrier().
|
protectedinherited |
fame for header elements
Definition at line 238 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 241 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::inspectMultisection().
|
protectedinherited |
fame for right header elements
Definition at line 244 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
pointer to marked attributeCarrier (element)
Definition at line 108 of file GNEDeleteFrame.h.
|
protectedinherited |
View Net for changes.
Definition at line 232 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNETLSEditorFrame::buildIinternalLanes(), GNEPolygonFrame::buildPoly(), GNESelectorFrame::clearCurrentSelection(), GNEInspectorFrame::clearInspectedAC(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEFrame::hide(), GNEInspectorFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectElement(), GNEConnectorFrame::onCmdCancel(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNECrossingFrame::onCmdCreateCrossing(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdGoBack(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEConnectorFrame::onCmdResetSelectedConnections(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNETLSEditorFrame::parseTLSPrograms(), GNEPolygonFrame::processClick(), GNEAdditionalFrame::removeAdditional(), removeAttributeCarrier(), removeSelectedAttributeCarriers(), show(), and GNEFrame::show().