288 long onCmdHelp(FXObject*, FXSelector,
void*);
367 long onCmdHelp(FXObject*, FXSelector,
void*);
462 long onCmdLoad(FXObject*, FXSelector,
void*);
468 long onCmdSave(FXObject*, FXSelector,
void*);
473 long onCmdClear(FXObject*, FXSelector,
void*);
549 std::vector<GNEAttributeCarrier*>
getMatches(
const SumoXMLTag ACTag,
const SumoXMLAttr ACAttr,
const char compOp,
const double val,
const std::string& expr);
556 std::vector<GNEAttributeCarrier*>
getGenericMatches(
const std::vector<GNEGenericData*>& genericDatas,
const std::string& attr,
const char compOp,
const double val,
const std::string& expr);
Supermode
@brie enum for supermodes
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
Type getElementSet() const
get current selected element set
Type myCurrentElementSet
current element set selected
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
void refreshElementSet()
refresh element set
ElementSet(GNESelectorFrame *selectorFrameParent)
constructor
FXComboBox * mySetComboBox
Combo Box with the element sets.
long onCmdSelectElementSet(FXObject *, FXSelector, void *)
Called when the user change the set of element to search (networkElement, Additional or shape)
class for object types entries
Supermode getSupermode() const
get supermode associated to this ObjectTypeEntry
void showObjectTypeEntry()
show ObjectTypeEntry
void counterDown()
down count
bool isGLTypeLocked() const
check if current GLType is blocked
FXCheckButton * myCheckBoxLocked
check box to check if GLObject type is blocked
FXLabel * myLabelTypeName
label type nane
ObjectTypeEntry & operator=(const ObjectTypeEntry &)=delete
Invalidated assignment operator.
const Supermode mySupermode
supermode associated to this ObjectTypeEntry
FXLabel * myLabelCounter
label counter
long onCmdSetCheckBox(FXObject *, FXSelector, void *)
called when user change the CheckBox
void hideObjectTypeEntry()
hide ObjectTypeEntry
void addedLockedObject(const GUIGlObjectType type)
set object selected
std::map< GUIGlObjectType, ObjectTypeEntry * > myTypeEntries
check boxes for type-based selection locking and selected object counts
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
void showTypeEntries()
show type Entries (depending if we're in Network or demand supermode)
bool IsObjectTypeLocked(const GUIGlObjectType type) const
check if an object is locked
void removeLockedObject(const GUIGlObjectType type)
set object unselected
~LockGLObjectTypes()
destructor
LockGLObjectTypes(GNESelectorFrame *selectorFrameParent)
constructor
void disableMatchAttribute()
disable match attributes
void hideMatchAttribute()
hide match attributes
FXTextField * myMatchString
string of the match
MatchAttribute(GNESelectorFrame *selectorFrameParent)
FOX-declaration.
FXButton * myMatchStringButton
match string button
FXComboBox * myMatchAttrComboBox
attributes of the match box
void showMatchAttribute()
show match attributes
long onCmdSelMBString(FXObject *, FXSelector, void *)
Called when the user enters a new selection expression.
SumoXMLTag myCurrentTag
current SumoXMLTag tag
long onCmdHelp(FXObject *, FXSelector, void *)
Called when the user clicks the help button.
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
~MatchAttribute()
destructor
long onCmdSelMBAttribute(FXObject *, FXSelector, void *)
Called when the user selectes a tag in the match box.
void enableMatchAttribute()
enable match attributes
long onCmdSelMBTag(FXObject *, FXSelector, void *)
Called when the user selectes a tag in the match box.
FXComboBox * myMatchTagComboBox
tag of the match box
SumoXMLAttr myCurrentAttribute
current SumoXMLTag Attribute
long onCmdProcessString(FXObject *, FXSelector, void *)
Called when the user enters a new selection expression.
std::map< std::pair< double, double >, int > myIntervals
MatchGenericDataAttribute(GNESelectorFrame *selectorFrameParent)
FOX-declaration.
~MatchGenericDataAttribute()
destructor
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
long onCmdSelectTag(FXObject *, FXSelector, void *)
Called when the user selects a tag in the match box.
void enableMatchGenericDataAttribute()
enable match attributes
void showMatchGenericDataAttribute()
show match attributes
FXTextField * myEnd
TextField for end.
long onCmdHelp(FXObject *, FXSelector, void *)
Called when the user clicks the help button.
FXComboBox * myIntervalSelector
tag of the match box
long onCmdSetBegin(FXObject *, FXSelector, void *)
Called when the user change begin text field.
long onCmdSetInterval(FXObject *, FXSelector, void *)
Called when the user selects an interval.
long onCmdSelectAttribute(FXObject *, FXSelector, void *)
Called when the user selects an attribute in the match box.
FXComboBox * myMatchGenericDataTagComboBox
tag of the match box
void disableMatchGenericDataAttribute()
disable match attributes
SumoXMLTag myCurrentTag
current SumoXMLTag tag
long onCmdSetEnd(FXObject *, FXSelector, void *)
Called when the user change end text field.
FXTextField * myBegin
TextField for begin.
FXComboBox * myMatchGenericDataAttrComboBox
attributes of the match box
FXTextField * myMatchGenericDataString
string of the match
std::string myCurrentAttribute
current string Attribute
void hideMatchGenericDataAttribute()
hide match attributes
FXRadioButton * myReplaceRadioButton
replace radio button
Operation
FOX-declaration.
ModificationMode(GNESelectorFrame *selectorFrameParent)
constructor
Operation myModificationModeType
how to modify selection
long onCmdSelectModificationMode(FXObject *, FXSelector, void *)
FXRadioButton * myAddRadioButton
add radio button
~ModificationMode()
destructor
Operation getModificationMode() const
get current modification mode
FXRadioButton * myRemoveRadioButton
remove radio button
FXRadioButton * myKeepRadioButton
keep button
SelectionOperation(GNESelectorFrame *selectorFrameParent)
FOX-declaration.
long onCmdSave(FXObject *, FXSelector, void *)
Called when the user presses the Save-button.
~SelectionOperation()
destructor
long onCmdInvert(FXObject *, FXSelector, void *)
Called when the user presses the Invert-button.
long onCmdClear(FXObject *, FXSelector, void *)
Called when the user presses the Clear-button.
long onCmdLoad(FXObject *, FXSelector, void *)
Called when the user presses the Load-button.
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
~VisualScaling()
destructor
long onCmdScaleSelection(FXObject *, FXSelector, void *)
Called when the user changes visual scaling.
VisualScaling(GNESelectorFrame *selectorFrameParent)
FOX-declaration.
FXRealSpinner * mySelectionScaling
Spinner for selection scaling.
std::vector< GNEAttributeCarrier * > getMatches(const SumoXMLTag ACTag, const SumoXMLAttr ACAttr, const char compOp, const double val, const std::string &expr)
return ACs of the given type with matching attrs
MatchGenericDataAttribute * myMatchGenericDataAttribute
modul for match generic data attribute
ModificationMode * getModificationModeModul() const
get modification mode modul
MatchAttribute * myMatchAttribute
modul for match attribute
std::vector< GNEAttributeCarrier * > getGenericMatches(const std::vector< GNEGenericData * > &genericDatas, const std::string &attr, const char compOp, const double val, const std::string &expr)
return GenericDatas of the given type with matching attrs
SelectionOperation * mySelectionOperation
modul for selection operations
GNESelectorFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
LockGLObjectTypes * getLockGLObjectTypes() const
get selected items Modul
bool ACsToSelected() const
check if there is ACs to select/unselect
~GNESelectorFrame()
Destructor.
ModificationMode * myModificationMode
modul for change modification mode
VisualScaling * myVisualScaling
modul for visual scaling
void clearCurrentSelection() const
clear current selection with possibility of undo/redo
LockGLObjectTypes * myLockGLObjectTypes
modul for lock selected items
void handleIDs(const std::vector< GNEAttributeCarrier * > &ACs, const ModificationMode::Operation setop=ModificationMode::Operation::DEFAULT)
apply list of ids to the current selection according to Operation,
ElementSet * myElementSet
modul for select element set