Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Component::Spotlight::IProvider Class Referenceabstract

Data Provider. More...

#include <spotlight.h>

Inheritance diagram for Antares::Component::Spotlight::IProvider:
Antares::Component::Spotlight::NullProvider Antares::Toolbox::InputSelector::SpotlightProviderArea Antares::Toolbox::InputSelector::SpotlightProviderConstraint Antares::Window::FileListProvider Antares::Window::FileSearchProvider Antares::Window::OutputViewer::Provider::Comparison Antares::Window::OutputViewer::Provider::Outputs Antares::Window::OutputViewer::Provider::Variables Antares::Window::OutputViewer::SpotlightProvider Antares::Window::OutputViewer::SpotlightProviderGlobalSelection Antares::Window::OutputViewer::SpotlightProviderMCAll Antares::Window::SpotlightProviderWindows

Public Types

using Ptr = std::shared_ptr<IProvider>
 ptr
 

Public Member Functions

Constructor & Destructor
 IProvider ()
 Default constructor.
 
virtual ~IProvider ()
 Destructor.
 
Search
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.
 
Selection
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.
 

Component

SpotlightpSpotlightComponent
 The parent component (can be null)
 
class Spotlight
 
Spotlightcomponent () const
 Get the pointer of the attached component (can be null)
 

Detailed Description

Data Provider.


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