Antares Simulator
Power System Simulator
|
Public Types | |
using | Spotlight = Antares::Component::Spotlight |
The spotlight component (alias) | |
![]() | |
using | Ptr = std::shared_ptr<IProvider> |
ptr | |
Constructor & Destructor | |
Spotlight::IItem::Vector | items |
SpotlightProviderGlobalSelection (Component *com) | |
Default constructor. | |
virtual | ~SpotlightProviderGlobalSelection () |
Destructor. | |
size_t | getSelectedLayerID (const Yuni::String &layerName) |
virtual void | search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, const Yuni::String &text="") |
Perform a new search. | |
virtual void | search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, Spotlight::IItem::Vector &in) |
virtual bool | onSelect (Spotlight::IItem::Ptr &item) |
An item has been selected. | |
void | addEconomy () |
void | addAdequacy () |
void | addNoCommonItem () |
void | addText (const Yuni::String &name) |
void | addAreaName (const Yuni::String &name) |
void | addSetName (const Yuni::String &name) |
void | addLinkName (const Yuni::String &name) |
void | addUncommonAreaName (const Yuni::String &name) |
void | addUncommonLinkName (const Yuni::String &name) |
Additional Inherited Members | |
![]() | |
IProvider () | |
Default constructor. | |
virtual | ~IProvider () |
Destructor. | |
virtual void | search (IItem::Vector &out, const SearchToken::Vector &tokens, const Yuni::String &text="")=0 |
Rebuild the result list from a list of tokens. | |
void | redoResearch () |
Redo the research. | |
virtual bool | onSelect (IItem::Ptr &item) |
Event: an item has been selected. | |
virtual bool | onSelect (const IItem::Vector &items) |
Event: a list of items have been selected (more than one) | |
virtual bool | onDoubleClickSelect (IItem::Ptr &item) |
Event: an item has been selected. | |
Spotlight * | component () const |
Get the pointer of the attached component (can be null) | |
![]() | |
Spotlight * | pSpotlightComponent |
The parent component (can be null) | |
|
virtual |
Perform a new search.
Filtering sets of areas
Building the set of links in the study
Filtering items not belonging to any map
The selected combo option is a layer's name