Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Toolbox::InputSelector::SpotlightProviderConstraint Class Referencefinal
Inheritance diagram for Antares::Toolbox::InputSelector::SpotlightProviderConstraint:
Antares::Component::Spotlight::IProvider

Public Types

using Spotlight = Antares::Component::Spotlight
 
- Public Types inherited from Antares::Component::Spotlight::IProvider
using Ptr = std::shared_ptr<IProvider>
 ptr
 

Public Member Functions

 SpotlightProviderConstraint (Toolbox::InputSelector::BindingConstraint *component)
 
virtual void search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, const Yuni::String &text)
 
virtual bool onSelect (Spotlight::IItem::Ptr &item)
 
virtual bool onDoubleClickSelect (Spotlight::IItem::Ptr &item)
 
- Public Member Functions inherited from Antares::Component::Spotlight::IProvider
 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.
 
Spotlightcomponent () const
 Get the pointer of the attached component (can be null)
 

Protected Member Functions

void onStudyEndUpdate ()
 
void onStudyAreasChanged ()
 
void onStudyAreaAdded (Data::Area *)
 
void onStudyAreaDeleted (Data::Area *)
 
void onStudyAreaRename (Data::Area *)
 
void onStudyClusterRename (Data::ThermalCluster *)
 
void onStudyClosed ()
 
void onStudyLinkUpdate (Data::AreaLink *)
 
void onStudyConstraintUpdate (Data::BindingConstraint *)
 

Additional Inherited Members

- Protected Attributes inherited from Antares::Component::Spotlight::IProvider
SpotlightpSpotlightComponent
 The parent component (can be null)
 

The documentation for this class was generated from the following file: