18 #ifndef GNESelectorFrame_h 19 #define GNESelectorFrame_h 140 long onCmdSelectModificationMode(FXObject*, FXSelector,
void*);
179 ELEMENTSET_NETELEMENT = 1,
180 ELEMENTSET_ADDITIONAL = 2,
181 ELEMENTSET_SHAPE = 3,
182 ELEMENTSET_INVALID = 4,
198 long onCmdSelectElementSet(FXObject*, FXSelector,
void*);
233 void enableMatchAttribute();
236 void disableMatchAttribute();
244 long onCmdSelMBTag(FXObject*, FXSelector,
void*);
249 long onCmdSelMBAttribute(FXObject*, FXSelector,
void*);
254 long onCmdSelMBString(FXObject*, FXSelector,
void*);
259 long onCmdHelp(FXObject*, FXSelector,
void*);
306 long onCmdScaleSelection(FXObject*, FXSelector,
void*);
344 long onCmdLoad(FXObject*, FXSelector,
void*);
350 long onCmdSave(FXObject*, FXSelector,
void*);
355 long onCmdClear(FXObject*, FXSelector,
void*);
360 long onCmdInvert(FXObject*, FXSelector,
void*);
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
std::map< GUIGlObjectType, ObjectTypeEntry * > myTypeEntries
check boxes for type-based selection locking and selected object counts
SumoXMLTag
Numbers representing SUMO-XML - element names.
long onCmdSetCheckBox(FXObject *, FXSelector, void *)
void addedLockedObject(const GUIGlObjectType type)
set object selected
FXRadioButton * myReplaceRadioButton
replace radio button
FXComboBox * mySetComboBox
Combo Box with the element sets.
void handleIDs(const std::vector< GNEAttributeCarrier *> &ACs, ModificationMode::SetOperation setop=ModificationMode::SET_DEFAULT)
apply list of ids to the current selection according to SetOperation,
FXLabel * myLabelCounter
label counter
SetOperation
FOX-declaration.
FXRadioButton * myAddRadioButton
add radio button
FXLabel * myLabelTypeName
label type nane
GNESelectorFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
VisualScaling * myVisualScaling
modul for visual scaling
ElementSetType myCurrentElementSet
current element set selected
FXRealSpinner * mySelectionScaling
Spinner for selection scaling.
~GNESelectorFrame()
Destructor.
FXComboBox * myMatchTagComboBox
tag of the match box
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
FXComboBox * myMatchAttrComboBox
attributes of the match box
SelectionOperation()
FOX needs this.
LockGLObjectTypes * getLockGLObjectTypes() const
get selected items
LockGLObjectTypes(GNESelectorFrame *selectorFrameParent)
constructor
void removeLockedObject(const GUIGlObjectType type)
set object unselected
FXTextField * myMatchString
string of the match
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
ObjectTypeEntry()
FOX needs this.
ElementSet()
FOX needs this.
FXRadioButton * myKeepRadioButton
keep button
SumoXMLAttr myCurrentAttribute
current SumoXMLTag Attribute
ElementSetType
FOX-declaration.
SumoXMLTag myCurrentTag
current SumoXMLTag tag
class for object types entries
ModificationMode * getModificationModeModul() const
get modification mode modul
LockGLObjectTypes * myLockGLObjectTypes
modul for lock selected items
MatchAttribute * myMatchAttribute
modul for matchA ttribute
void clearCurrentSelection() const
clear current selection with possibility of undo/redo
VisualScaling()
FOX needs this.
bool IsObjectTypeLocked(const GUIGlObjectType type) const
check if an object is locked
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
SelectionOperation * mySelectionOperation
modul for selection operations
FXMenuCheck * myCheckBoxLocked
check box to check if GLObject type is blocked
ModificationMode * myModificationMode
modul for change modification mode
FXRadioButton * myRemoveRadioButton
remove radio button
void counterDown()
down count
std::vector< GNEAttributeCarrier * > getMatches(SumoXMLTag ACTag, SumoXMLAttr ACAttr, char compOp, double val, const std::string &expr)
return ACs of the given type with matching attrs
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
ElementSet * myElementSet
modul for select element set
MatchAttribute()
FOX needs this.
ModificationMode()
FOX needs this.
bool isGLTypeLocked() const
check if current GLType is blocked
~LockGLObjectTypes()
destructor
SetOperation myModificationModeType
how to modify selection