1 #ifndef GUI_FRAMEWORK___WORKBENCH__HPP
2 #define GUI_FRAMEWORK___WORKBENCH__HPP
CAppTaskService - Application Task Service.
CUICommandRegistry is a centralized registry where all application commands should be registered.
IEventLogService - records application events.
IServiceLocator - an abstract mechanism for locating services.
IService – an abstraction that represents an application component providing specific functional capa...
IViewManagerService IViewManagerService manages views in Workbench.
IWClient - abstract Window Manager client.
IWindowManagerService Window Manager Service provides access to Window Manager functionality.
IWorkbenchAdvisor This is an interface that assists IWorkbench in carrying out its functions.
IWorkbench is the central interface in the application framework.
Include a standard set of the NCBI C++ Toolkit most basic headers.
virtual wxFrame * GetMainWindow()=0
returns a pointer to the main application frame window
virtual IServiceLocator * GetServiceLocator()=0
get a Service Locator associated with the Workspace
virtual IToolBarService * GetToolBarService()=0
virtual IMenuService * GetMenuService()=0
virtual CUICommandRegistry & GetUICommandRegistry()=0
returns an instance of Command Registry associated with the Workbench
virtual bool CanShutDown()=0
virtual IStatusBarService * GetStatusBarService()=0
virtual void PreShutDown()=0
called by Workbench before starting ShutDown
virtual wxFileArtProvider & GetFileArtProvider()=0
virtual string GetRegistrySectionPath(ERegistrySection section)=0
returns a path to CGuiRegistry section where resources of the specified type shall be located
virtual void ShutDown()=0
virtual void UnRegisterService(const string &class_name)=0
remove application-specific service
virtual IEventLogService * GetEventLogService()=0
virtual IViewManagerService * GetViewManagerService()=0
virtual void PreDestroyWindow()=0
called by Workbench before destroying main app window
virtual IWindowManagerService * GetWindowManagerService()=0
virtual void RegisterService(const string &class_name, IService *service)=0
register an application-specific service; Workbench assumes ownership of the service
virtual void PostInit()=0
called after Workbench initialization has been completed
virtual void PostCreateWindow()=0
called by Workbench after creating main app window
virtual bool CanShutDown()=0
virtual ~IWorkbenchAdvisor()
virtual CAppTaskService * GetAppTaskService()=0
ERegistrySection
enumerates major Registry sections
virtual string GetAppTitle()=0
get application title
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.