50 mySelectorFrameParent(selectorFrameParent),
51 myMatchAttribute(
nullptr),
52 myMatchGenericDataAttribute(
nullptr),
65 myCurrentSet = Type::NETWORK;
70 myCurrentSet = Type::DEMAND;
75 myCurrentSet = Type::GENERICDATA;
80 myMatchAttribute =
new GNEMatchAttribute(
this, defaultTag, defaultAttr, defaultValue);
FXDEFMAP(GNEElementSet) GNEElementSetMap[]
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..)
@ DATA
Data mode (edgeData, LaneData etc..)
@ DEMAND
Demand mode (Routes, Vehicles etc..)
@ MID_CHOOSEN_ELEMENTS
set subset of elements
#define GUIDesignComboBox
#define GUIDesignComboBoxNCol
number of column of every combo box
#define GUIDesignComboBoxVisibleItemsMedium
combo box medium small
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
~GNEElementSet()
destructor
long onCmdSelectElementSet(FXObject *, FXSelector, void *)
Called when the user change the set of element to search (networkElement, Additional or shape)
Type getElementSet() const
get current selected element set
GNEMatchAttribute * myMatchAttribute
modul for match attribute
Type myCurrentSet
current element set selected
MFXComboBoxIcon * mySetComboBox
Combo Box with the element sets.
GNESelectorFrame * mySelectorFrameParent
FOX need this.
GNESelectorFrame * getSelectorFrameParent() const
get Selector Frame Parent
void hideElementSet()
hide element set
GNEMatchGenericDataAttribute * myMatchGenericDataAttribute
Match generic data attribute.
void showElementSet()
show element set
GNEViewNet * getViewNet() const
get view net
void showMatchAttribute(const GNEElementSet::Type type)
show match attributes
void hideMatchAttribute()
hide match attributes
void enableMatchAttribute()
enable match attributes
void disableMatchAttribute()
disable match attributes
void disableMatchGenericDataAttribute()
disable match attributes
void enableMatchGenericDataAttribute()
enable match attributes
void hideMatchGenericDataAttribute()
hide match attributes
void showMatchGenericDataAttribute()
show match attributes
const GNEViewNetHelper::EditModes & getEditModes() const
get edit modes
static FXIcon * getIcon(const GUIIcon which)
returns a icon previously defined in the enum GUIIcon
FXString getText() const
Get the text.
void setTextColor(FXColor clr)
Change text color.
MFXGroupBoxModule (based on FXGroupBox)
bool isCurrentSupermodeDemand() const
@check if current supermode is Demand
bool isCurrentSupermodeData() const
@check if current supermode is Data
bool isCurrentSupermodeNetwork() const
@check if current supermode is Network