![]() |
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 *) |
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 121 of file GNESelectorFrame.h.
FOX-declaration.
operations of selector
Enumerator | |
---|---|
SET_ADD | |
SET_SUB | |
SET_RESTRICT | |
SET_REPLACE | |
SET_DEFAULT |
Definition at line 127 of file GNESelectorFrame.h.
GNESelectorFrame::ModificationMode::ModificationMode | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 663 of file GNESelectorFrame.cpp.
References GUIDesignRadioButton, MID_CHOOSEN_OPERATION, myAddRadioButton, myKeepRadioButton, myRemoveRadioButton, and myReplaceRadioButton.
GNESelectorFrame::ModificationMode::~ModificationMode | ( | ) |
destructor
Definition at line 679 of file GNESelectorFrame.cpp.
GNESelectorFrame::ModificationMode::SetOperation GNESelectorFrame::ModificationMode::getModificationMode | ( | ) | const |
get current modification mode
Definition at line 683 of file GNESelectorFrame.cpp.
Referenced by GNESelectorFrame::handleIDs().
long GNESelectorFrame::ModificationMode::onCmdSelectModificationMode | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Definition at line 689 of file GNESelectorFrame.cpp.
Referenced by FXDEFMAP().
|
private |
add radio button
Definition at line 156 of file GNESelectorFrame.h.
Referenced by ModificationMode().
|
private |
|
private |
how to modify selection
Definition at line 168 of file GNESelectorFrame.h.
|
private |
remove radio button
Definition at line 159 of file GNESelectorFrame.h.
Referenced by ModificationMode().
|
private |
replace radio button
Definition at line 165 of file GNESelectorFrame.h.
Referenced by ModificationMode().