21 #ifndef GNESelectorFrame_h 22 #define GNESelectorFrame_h 88 long onCmdLoad(FXObject*, FXSelector,
void*);
94 long onCmdSave(FXObject*, FXSelector,
void*);
124 long onCmdHelp(FXObject*, FXSelector,
void*);
FXRadioButton * myReplaceRadioButton
replace radio button
SumoXMLTag
Numbers representing SUMO-XML - element names.
void selectionUpdated()
called if currently registered for updates for changes of global selection
long onCmdSelMBString(FXObject *, FXSelector, void *)
Called when the user enters a new selection expression.
FXComboBox * myMatchAttrComboBox
attributes of the match box
SetOperation
FOX-declaration.
long onCmdSave(FXObject *, FXSelector, void *)
Called when the user presses the Save-button.
std::vector< GUIGlID > getMatches(SumoXMLTag tag, SumoXMLAttr attr, char compOp, double val, const std::string &expr)
return objects of the given type with matching attrs
SumoXMLAttr myCurrentAttribute
current SumoXMLTag Attribute
FXTextField * myMatchString
string of the match
FXRealSpinDial * mySelectionScaling
selection scaling
SumoXMLTag myCurrentTag
current SumoXMLTag tag
long onCmdLoad(FXObject *, FXSelector, void *)
Called when the user presses the Load-button.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void handleIDs(std::vector< GUIGlID > ids, bool selectEdgesEnabled, SetOperation setop=SET_DEFAULT)
apply list of ids to the current selection according to SetOperation,
GNESelectorFrame()
FOX needs this.
long onCmdHelp(FXObject *, FXSelector, void *)
Called when the user clicks the help button.
~GNESelectorFrame()
Destructor.
long onCmdScaleSelection(FXObject *, FXSelector, void *)
Called when the user changes visual scaling.
long onCmdClear(FXObject *, FXSelector, void *)
Called when the user presses the Clear-button.
SetOperation mySetOperation
how to modify selection
long onCmdSelMBAttribute(FXObject *, FXSelector, void *)
Called when the user selectes a tag in the match box.
const std::string ALL_VCLASS_NAMES_MATCH_STRING
the string that should be matched against if attr 'allowed' or 'disallowed' are set to "all" ...
FXRadioButton * myKeepRadioButton
keep button
long onCmdSelectOperation(FXObject *, FXSelector, void *)
long onCmdSubset(FXObject *, FXSelector, void *)
Called when the user change the type of element to search (netElement or Additional) ...
FXRadioButton * myRemoveRadioButton
remove radio button
FXComboBox * myMatchTagComboBox
tag of the match box
long onCmdInvert(FXObject *, FXSelector, void *)
Called when the user presses the Invert-button.
std::string getStats() const
get stats
FXRadioButton * myAddRadioButton
add radio button
long onCmdSelMBTag(FXObject *, FXSelector, void *)
Called when the user selectes a tag in the match box.
FXComboBox * mySetComboBox
tag of the sets of elements