1 #ifndef GUI_CORE___SELECTION_SERVICE_IMPL__HPP
2 #define GUI_CORE___SELECTION_SERVICE_IMPL__HPP
94 void InitStatusBar(wxWindow* parent);
127 void SetAutoBroadcast(
bool pAuto );
CEvent - generic event implementation TODO TODO - Attachments.
vector< CIRef< IProjectView > > TViews
CSelectionBroadcastSlot - a Status Bar slot that displays information about tasks in Application Task...
CSelectionEvent CSelectionEvent is used for broadcasting selection between views.
CIRef< ISelectionClient > GetClient()
CSelectionServiceEvent(EType type, ISelectionClient *client)
CWeakIRef< ISelectionClient > m_Client
vector< ISelectionClient * > TClients
IServiceLocator * m_SrvLocator
CSelectionBroadcastSlot * m_StatusBarSlot
ISelectionClient * m_ActiveClient
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
virtual void SaveSettings() const =0
virtual void LoadSettings()=0
virtual void SetRegistryPath(const string &path)=0
ISelectionClient - represents an object that support a notion of selection.
ISelectionService - an interface.
virtual void OnSelectionChanged(ISelectionClient *source)=0
notifies Service and its observers about changes in selection
virtual void AttachClient(ISelectionClient *client)=0
virtual void OnActiveClientChanged(ISelectionClient *active)=0
this function is called by GUI components to notify server
virtual void GetActiveObjects(TConstScopedObjects &sel)=0
returns objects currently active in the application, this function should be used for obtaining argum...
virtual void DetachClient(ISelectionClient *client)=0
virtual void GetCurrentSelection(TConstScopedObjects &sel)=0
returns objects currently selected in the application, this function should be used for obtaining arg...
virtual bool IsAttached(ISelectionClient *client) const =0
virtual void Broadcast(CSelectionEvent &evt, ISelectionClient *source)=0
request broadcasting of the given event, Broadcast() notifies observers about changes in selection (d...
IServiceLocatorConsumer - classes that need IServiceLocator should implement this interface.
IServiceLocator - an abstract mechanism for locating services.
IService – an abstraction that represents an application component providing specific functional capa...
Include a standard set of the NCBI C++ Toolkit most basic headers.
Workaround for wxWidgets header errors in certain configurations; MUST be included (at least indirect...
virtual void SetServiceLocator(IServiceLocator *locator)=0
virtual void InitService()=0
virtual void ShutDownService()=0
vector< SConstScopedObject > TConstScopedObjects
TRefType Lock(void) const
Lock the object and return reference to it.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUICORE_EXPORT
Defines to provide correct exporting from DLLs in Windows.
const CharType(& source)[N]
static CNamedPipeClient * client