![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Public Types | |
| enum | SetOperation { SET_ADD = 1, SET_SUB = 2, SET_RESTRICT = 3, SET_REPLACE = 4, SET_DEFAULT = 5 } |
| FOX-declaration. More... | |
Public Member Functions | |
| SetOperation | getModificationMode () const |
| get current modification mode More... | |
| ModificationMode (GNESelectorFrame *selectorFrameParent) | |
| constructor More... | |
| ~ModificationMode () | |
| destructor More... | |
FOX-callbacks | |
called when user change type of selction operation | |
| long | onCmdSelectModificationMode (FXObject *, FXSelector, void *) |
Protected Member Functions | |
| ModificationMode () | |
| FOX needs this. More... | |
Private Attributes | |
| FXRadioButton * | myAddRadioButton |
| add radio button More... | |
| FXRadioButton * | myKeepRadioButton |
| keep button More... | |
| SetOperation | myModificationModeType |
| how to modify selection More... | |
| FXRadioButton * | myRemoveRadioButton |
| remove radio button More... | |
| FXRadioButton * | myReplaceRadioButton |
| replace radio button More... | |
Definition at line 123 of file GNESelectorFrame.h.
FOX-declaration.
operations of selector
| Enumerator | |
|---|---|
| SET_ADD | |
| SET_SUB | |
| SET_RESTRICT | |
| SET_REPLACE | |
| SET_DEFAULT | |
Definition at line 129 of file GNESelectorFrame.h.
| GNESelectorFrame::ModificationMode::ModificationMode | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 664 of file GNESelectorFrame.cpp.
References GUIDesignRadioButton, MID_CHOOSEN_OPERATION, myAddRadioButton, myKeepRadioButton, myRemoveRadioButton, and myReplaceRadioButton.
| GNESelectorFrame::ModificationMode::~ModificationMode | ( | ) |
destructor
Definition at line 680 of file GNESelectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 155 of file GNESelectorFrame.h.
| GNESelectorFrame::ModificationMode::SetOperation GNESelectorFrame::ModificationMode::getModificationMode | ( | ) | const |
get current modification mode
Definition at line 684 of file GNESelectorFrame.cpp.
References myModificationModeType.
Referenced by GNESelectorFrame::handleIDs(), and GNEViewNetHelper::SelectingArea::processBoundarySelection().
| long GNESelectorFrame::ModificationMode::onCmdSelectModificationMode | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 690 of file GNESelectorFrame.cpp.
References myAddRadioButton, myKeepRadioButton, myModificationModeType, myRemoveRadioButton, myReplaceRadioButton, SET_ADD, SET_REPLACE, SET_RESTRICT, and SET_SUB.
|
private |
add radio button
Definition at line 159 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
keep button
Definition at line 165 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
how to modify selection
Definition at line 171 of file GNESelectorFrame.h.
Referenced by getModificationMode(), and onCmdSelectModificationMode().
|
private |
remove radio button
Definition at line 162 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().
|
private |
replace radio button
Definition at line 168 of file GNESelectorFrame.h.
Referenced by ModificationMode(), and onCmdSelectModificationMode().