NCBI C++ ToolKit
|
Macros | |
#define | SYMBOL_CAPPOPTIONSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
#define | SYMBOL_CAPPOPTIONSDLG_TITLE wxT("App Options") |
#define | SYMBOL_CAPPOPTIONSDLG_IDNAME ID_CAPPOPTIONSDLG |
#define | SYMBOL_CAPPOPTIONSDLG_SIZE wxSize(400, 300) |
#define | SYMBOL_CAPPOPTIONSDLG_POSITION wxDefaultPosition |
#define | SYMBOL_CAPPPACKAGESDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
#define | SYMBOL_CAPPPACKAGESDLG_TITLE _("Configure Packages") |
#define | SYMBOL_CAPPPACKAGESDLG_IDNAME ID_CAPPPACKAGESDLG |
#define | SYMBOL_CAPPPACKAGESDLG_SIZE wxSize(400, 300) |
#define | SYMBOL_CAPPPACKAGESDLG_POSITION wxDefaultPosition |
#define | ID_CWXDIAGPANEL 10030 |
#define | ID_TOOLBAR2 10039 |
#define | ID_TOOL_ERRORS 10040 |
#define | ID_TOOL_WARNINGS 10041 |
#define | ID_TOOL_INFO 10042 |
#define | ID_TOOL_OTHER 10043 |
#define | ID_CHOICE3 10044 |
#define | ID_LISTCTRL1 10037 |
#define | SYMBOL_CWXDIAGPANEL_STYLE 0 |
#define | SYMBOL_CWXDIAGPANEL_TITLE wxT("Diagnostics Console") |
#define | SYMBOL_CWXDIAGPANEL_IDNAME ID_CWXDIAGPANEL |
#define | SYMBOL_CWXDIAGPANEL_SIZE wxSize(400, 300) |
#define | SYMBOL_CWXDIAGPANEL_POSITION wxDefaultPosition |
#define | SYMBOL_CEVENTRECORDDETAILSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
#define | SYMBOL_CEVENTRECORDDETAILSDLG_TITLE wxT("Event Details") |
#define | SYMBOL_CEVENTRECORDDETAILSDLG_IDNAME ID_CEVENTRECORDDETAILS |
#define | SYMBOL_CEVENTRECORDDETAILSDLG_SIZE wxSize(400, 300) |
#define | SYMBOL_CEVENTRECORDDETAILSDLG_POSITION wxDefaultPosition |
#define | NCBI_PACKAGEENTRYPOINT_EXPORT __declspec(dllexport) |
#define | SYMBOL_CITEMSELECTIONPANEL_STYLE wxNO_BORDER|wxCLIP_CHILDREN|wxTAB_TRAVERSAL |
#define | SYMBOL_CITEMSELECTIONPANEL_TITLE _("ItemSelectionPanel") |
#define | SYMBOL_CITEMSELECTIONPANEL_IDNAME ID_CITEMSELECTIONPANEL |
#define | SYMBOL_CITEMSELECTIONPANEL_SIZE wxDefaultSize |
#define | SYMBOL_CITEMSELECTIONPANEL_POSITION wxDefaultPosition |
#define | EXT_POINT__OPTIONS_DLG_EXTENSION "options_dlg_extension" |
An extension point for dialog panels that are shown in the "Options" dialog. More... | |
#define | NCBI_PACKAGEENTRYPOINT_EXPORT __declspec(dllexport) |
#define | SYMBOL_CSTATUSMESSAGESLOTPANEL_STYLE 0 |
#define | SYMBOL_CSTATUSMESSAGESLOTPANEL_TITLE _("Status Message Slot Panel") |
#define | SYMBOL_CSTATUSMESSAGESLOTPANEL_IDNAME ID_CSTATUSMESSAGESLOTPANEL |
#define | SYMBOL_CSTATUSMESSAGESLOTPANEL_SIZE wxSize(300, 100) |
#define | SYMBOL_CSTATUSMESSAGESLOTPANEL_POSITION wxDefaultPosition |
#define | SYMBOL_CTASKDETAILSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
#define | SYMBOL_CTASKDETAILSDLG_TITLE _("Task Details") |
#define | SYMBOL_CTASKDETAILSDLG_IDNAME ID_CTASKDETAILSDLG |
#define | SYMBOL_CTASKDETAILSDLG_SIZE wxSize(400, 300) |
#define | SYMBOL_CTASKDETAILSDLG_POSITION wxDefaultPosition |
#define | EXT_POINT__VIEW_MANAGER_SERVICE__VIEW_FACTORY "view_manager_service::view_factory" |
IViewManagerService uses the following extension point to obtain registered view factories (instances of IViewFactory) More... | |
Friends | |
class | CDiagConsoleView::CDiagConsoleViewFactory |
class | CEventView::CEventViewFactory |
class | CStatusBarService::CStatusBarServiceEvtHandler |
class | CTaskView::CTaskViewFactory |
IAppTask interface implementation | |
virtual ETaskState | CAppJobTask::Run () |
execute the task, this function is called on the main UI thread if a task needs to execute in background it should launch a job that will execute asynchronously; then the function shall return eBackgrounded More... | |
virtual void | CAppJobTask::CancelBackgrounded () |
make a request to cancel backgrounded task (not called for foreground tasks) More... | |
virtual string | CAppJobTask::GetStatusText () const |
returns human-readable text describing the current task state More... | |
IService implementation | |
virtual void | CAppTaskService::InitService () |
virtual void | CAppTaskService::ShutDownService () |
Cancels all backgrounded tasks, removes pending tasks and blocks processing of incoming requests and events. More... | |
void | CAppTaskService::PreShutDownService () |
IServiceLocatorConsumer interface implementation | |
virtual void | CAppTaskService::SetServiceLocator (IServiceLocator *srv_locator) |
IRegSettings interface implementation | |
virtual void | CDiagConsoleList::SetRegistryPath (const string &path) |
virtual void | CDiagConsoleList::LoadSettings () |
virtual void | CDiagConsoleList::SaveSettings () const |
IRegSettings interface implementation | |
virtual void | CDiagConsolePanel::SetRegistryPath (const string &path) |
virtual void | CDiagConsolePanel::LoadSettings () |
virtual void | CDiagConsolePanel::SaveSettings () const |
IView | |
virtual const CViewTypeDescriptor & | CDiagConsoleView::GetTypeDescriptor () const |
return an object providing meta information about thei view type More... | |
virtual void | CDiagConsoleView::SetWorkbench (IWorkbench *workbench) |
connect / disconnect this view with / from Workbench More... | |
virtual void | CDiagConsoleView::CreateViewWindow (wxWindow *parent) |
create Window corresponding to the view More... | |
virtual void | CDiagConsoleView::DestroyViewWindow () |
destroy Window corresponding to the view More... | |
IWMClient interface implementation | |
virtual wxWindow * | CDiagConsoleView::GetWindow () |
returns a pointer to the wxWindow representing the client More... | |
virtual wxEvtHandler * | CDiagConsoleView::GetCommandHandler () |
returns a pointer to the command handler (for menu commands and updates) More... | |
virtual string | CDiagConsoleView::GetClientLabel (IWMClient::ELabel ltype=IWMClient::eDefault) const |
returns the client label (name) to be displayed in UI More... | |
virtual string | CDiagConsoleView::GetIconAlias () const |
returns an icon alias that can be used to retrieve the client's icon More... | |
virtual const CRgbaColor * | CDiagConsoleView::GetColor () const |
returns a color associated with the client, n/a if NULL More... | |
virtual void | CDiagConsoleView::SetColor (const CRgbaColor &color) |
returns a color associated with the client More... | |
virtual const wxMenu * | CDiagConsoleView::GetMenu () |
returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contribs" More... | |
virtual void | CDiagConsoleView::UpdateMenu (wxMenu &root_menu) |
virtual CFingerprint | CDiagConsoleView::GetFingerprint () const |
returns a fingerprint identifying the client More... | |
IRegSettings interface implementation | |
virtual void | CDiagConsoleView::SetRegistryPath (const string &path) |
virtual void | CDiagConsoleView::LoadSettings () |
virtual void | CDiagConsoleView::SaveSettings () const |
IExtension interface implementation | |
virtual string | CDiagConsoleViewFactory::GetExtensionIdentifier () const |
returns the unique human-readable identifier for the extension the id should use lowercase letters separated by underscores - "like_this" More... | |
virtual string | CDiagConsoleViewFactory::GetExtensionLabel () const |
returns a displayable label for this extension ( please capitalize the key words - "My Extension" ) More... | |
IViewFactory interface implementation | |
virtual void | CDiagConsoleViewFactory::RegisterIconAliases (wxFileArtProvider &provider) |
CDiagConsoleViewFactory. More... | |
virtual const CViewTypeDescriptor & | CDiagConsoleViewFactory::GetViewTypeDescriptor () const |
returns a Descriptor for the View Type supported by the Factory More... | |
virtual IView * | CDiagConsoleViewFactory::CreateInstance () const |
creates a view instance More... | |
virtual IView * | CDiagConsoleViewFactory::CreateInstanceByFingerprint (const TFingerprint &fingerprint) const |
if fingerprint is recognized - creates and returns a new instance More... | |
IService interface implementation | |
virtual void | CEventLogService::InitService () |
virtual void | CEventLogService::ShutDownService () |
IEventLogService interface implementation | |
virtual void | CEventLogService::AddRecord (IEventRecord *record) |
Records are managed by CIRef inside the service. More... | |
virtual size_t | CEventLogService::GetRecordsCount () const |
returns the total number of records More... | |
virtual const IEventRecord * | CEventLogService::GetRecord (size_t index) const |
returns the record with the specified index More... | |
IEventRecord implementation | |
virtual EType | CEventRecord::GetType () const |
virtual string | CEventRecord::GetTitle () const |
virtual string | CEventRecord::GetDescription () const |
virtual const TTime & | CEventRecord::GetTime () const |
IRegSettings interface implementation | |
virtual void | CEventTablePanel::SetRegistryPath (const string &path) |
virtual void | CEventTablePanel::LoadSettings () |
virtual void | CEventTablePanel::SaveSettings () const |
Command handlers | |
void | CEventTablePanel::OnContextMenu (wxContextMenuEvent &event) |
void | CEventTablePanel::OnItemActivated (wxListEvent &event) |
void | CEventTablePanel::OnShowDetailsDialog (long vis_index) |
void | CEventTablePanel::OnDetails (wxCommandEvent &event) |
void | CEventTablePanel::OnShowErrors (wxCommandEvent &event) |
void | CEventTablePanel::OnShowWarnings (wxCommandEvent &event) |
void | CEventTablePanel::OnShowInfo (wxCommandEvent &event) |
void | CEventTablePanel::OnUpdateDetails (wxUpdateUIEvent &event) |
void | CEventTablePanel::OnUpdateShowErrors (wxUpdateUIEvent &event) |
void | CEventTablePanel::OnUpdateShowWarnings (wxUpdateUIEvent &event) |
void | CEventTablePanel::OnUpdateShowInfo (wxUpdateUIEvent &event) |
IView implementation | |
virtual const CViewTypeDescriptor & | CEventView::GetTypeDescriptor () const |
return an object providing meta information about thei view type More... | |
virtual void | CEventView::SetWorkbench (IWorkbench *workbench) |
connect / disconnect this view with / from Workbench More... | |
virtual void | CEventView::CreateViewWindow (wxWindow *parent) |
create Window corresponding to the view More... | |
virtual void | CEventView::DestroyViewWindow () |
destroy Window corresponding to the view More... | |
IWMClient implementation | |
virtual wxWindow * | CEventView::GetWindow () |
returns a pointer to the wxWindow representing the client More... | |
virtual wxEvtHandler * | CEventView::GetCommandHandler () |
returns a pointer to the command handler (for menu commands and updates) More... | |
virtual string | CEventView::GetClientLabel (IWMClient::ELabel ltype=IWMClient::eDefault) const |
returns the client label (name) to be displayed in UI More... | |
virtual string | CEventView::GetIconAlias () const |
returns an icon alias that can be used to retrieve the client's icon More... | |
virtual const CRgbaColor * | CEventView::GetColor () const |
returns a color associated with the client, n/a if NULL More... | |
virtual void | CEventView::SetColor (const CRgbaColor &color) |
returns a color associated with the client More... | |
virtual const wxMenu * | CEventView::GetMenu () |
returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contribs" More... | |
virtual void | CEventView::UpdateMenu (wxMenu &root_menu) |
virtual CFingerprint | CEventView::GetFingerprint () const |
returns a fingerprint identifying the client More... | |
IRegSettings implementation | |
virtual void | CEventView::SetRegistryPath (const string &path) |
virtual void | CEventView::LoadSettings () |
virtual void | CEventView::SaveSettings () const |
IExtension interface implementation | |
virtual string | CEventViewFactory::GetExtensionIdentifier () const |
returns the unique human-readable identifier for the extension the id should use lowercase letters separated by underscores - "like_this" More... | |
virtual string | CEventViewFactory::GetExtensionLabel () const |
returns a displayable label for this extension ( please capitalize the key words - "My Extension" ) More... | |
IViewFactory interface implementation | |
virtual void | CEventViewFactory::RegisterIconAliases (wxFileArtProvider &provider) |
CEventViewFactory. More... | |
virtual const CViewTypeDescriptor & | CEventViewFactory::GetViewTypeDescriptor () const |
returns a Descriptor for the View Type supported by the Factory More... | |
virtual IView * | CEventViewFactory::CreateInstance () const |
creates a view instance More... | |
virtual IView * | CEventViewFactory::CreateInstanceByFingerprint (const TFingerprint &fingerprint) const |
if fingerprint is recognized - creates and returns a new instance More... | |
IRegSettings interface | |
virtual void | CItemSelectionPanel::SetRegistryPath (const string &path) |
virtual void | CItemSelectionPanel::LoadSettings () |
virtual void | CItemSelectionPanel::SaveSettings () const |
IAppTask interface implementation | |
virtual ETaskState | CJobUITask::Run () |
execute the task, this function is called on the main UI thread if a task needs to execute in background it should launch a job that will execute asynchronously; then the function shall return eBackgrounded More... | |
virtual void | CJobUITask::CancelBackgrounded () |
make a request to cancel backgrounded task (not called for foreground tasks) More... | |
virtual string | CJobUITask::GetStatusText () const |
returns human-readable text describing the current task state More... | |
IService implementation | |
virtual void | CMenuService::InitService () |
virtual void | CMenuService::ShutDownService () |
IMenuService implementation | |
virtual void | CMenuService::ResetMenuBar () |
virtual void | CMenuService::AddContributor (IMenuContributor *contributor) |
the service does NOT assume ownership of the contributor More... | |
virtual void | CMenuService::RemoveContributor (IMenuContributor *contributor) |
virtual void | CMenuService::AddPendingCommand (int cmd) |
add commands for processing (simulates choosing the command from a menu) More... | |
IService interface implementation | |
virtual void | CStatusBarService::InitService () |
virtual void | CStatusBarService::ShutDownService () |
IServiceLocatorConsumer implementation | |
virtual void | CStatusBarService::SetServiceLocator (IServiceLocator *locator) |
IStatusBarService implementation | |
virtual void | CStatusBarService::SetStatusMessage (const string &msg) |
virtual void | CStatusBarService::AddEventMessage (const IEventRecord &record) |
virtual void | CStatusBarService::ShowHintMessage (const string &msg) |
virtual void | CStatusBarService::HideHintMessage () |
virtual void | CStatusBarService::ShowStatusProgress (int value, int range) |
virtual void | CStatusBarService::ShowStatusProgress () |
virtual void | CStatusBarService::HideStatusProgress () |
virtual void | CStatusBarService::InsertSlot (int index, wxWindow *slot, int width=50) |
virtual wxWindow * | CStatusBarService::RemoveSlot (int index) |
virtual void | CStatusBarService::SetStatusText (const wxString &text, int index) |
IRegSettings interface implementation | |
virtual void | CTaskTablePanel::SetRegistryPath (const string &path) |
virtual void | CTaskTablePanel::LoadSettings () |
virtual void | CTaskTablePanel::SaveSettings () const |
Event handers | |
void | CTaskTablePanel::OnContextMenu (wxContextMenuEvent &event) |
void | CTaskTablePanel::OnItemActivated (wxListEvent &event) |
void | CTaskTablePanel::OnShowDetailsDialog (long vis_index) |
void | CTaskTablePanel::OnCancel (wxCommandEvent &event) |
void | CTaskTablePanel::OnDetails (wxCommandEvent &event) |
void | CTaskTablePanel::OnUpdateCancel (wxUpdateUIEvent &event) |
void | CTaskTablePanel::OnUpdateDetails (wxUpdateUIEvent &event) |
void | CTaskTablePanel::OnEventTimer (wxTimerEvent &event) |
IView interface implementation | |
virtual const CViewTypeDescriptor & | CTaskView::GetTypeDescriptor () const |
return an object providing meta information about thei view type More... | |
virtual void | CTaskView::SetWorkbench (IWorkbench *workbench) |
connect / disconnect this view with / from Workbench More... | |
virtual void | CTaskView::CreateViewWindow (wxWindow *parent) |
create Window corresponding to the view More... | |
virtual void | CTaskView::DestroyViewWindow () |
destroy Window corresponding to the view More... | |
IWMClient interface implementation | |
virtual wxWindow * | CTaskView::GetWindow () |
returns a pointer to the wxWindow representing the client More... | |
virtual wxEvtHandler * | CTaskView::GetCommandHandler () |
returns a pointer to the command handler (for menu commands and updates) More... | |
virtual string | CTaskView::GetClientLabel (IWMClient::ELabel ltype=IWMClient::eDefault) const |
returns the client label (name) to be displayed in UI More... | |
virtual string | CTaskView::GetIconAlias () const |
returns an icon alias that can be used to retrieve the client's icon More... | |
virtual const CRgbaColor * | CTaskView::GetColor () const |
returns a color associated with the client, n/a if NULL More... | |
virtual void | CTaskView::SetColor (const CRgbaColor &color) |
returns a color associated with the client More... | |
virtual const wxMenu * | CTaskView::GetMenu () |
returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contribs" More... | |
virtual void | CTaskView::UpdateMenu (wxMenu &root_menu) |
virtual CFingerprint | CTaskView::GetFingerprint () const |
returns a fingerprint identifying the client More... | |
IRegSettings interface implementation | |
virtual void | CTaskView::SetRegistryPath (const string &path) |
virtual void | CTaskView::LoadSettings () |
virtual void | CTaskView::SaveSettings () const |
IExtension interface implementation | |
virtual string | CTaskViewFactory::GetExtensionIdentifier () const |
returns the unique human-readable identifier for the extension the id should use lowercase letters separated by underscores - "like_this" More... | |
virtual string | CTaskViewFactory::GetExtensionLabel () const |
returns a displayable label for this extension ( please capitalize the key words - "My Extension" ) More... | |
IViewFactory interface implementation | |
virtual void | CTaskViewFactory::RegisterIconAliases (wxFileArtProvider &provider) |
CTaskViewFactory. More... | |
virtual const CViewTypeDescriptor & | CTaskViewFactory::GetViewTypeDescriptor () const |
returns a Descriptor for the View Type supported by the Factory More... | |
virtual IView * | CTaskViewFactory::CreateInstance () const |
creates a view instance More... | |
virtual IView * | CTaskViewFactory::CreateInstanceByFingerprint (const TFingerprint &fingerprint) const |
if fingerprint is recognized - creates and returns a new instance More... | |
IService interface implementation | |
virtual void | CViewManagerService::InitService () |
virtual void | CViewManagerService::ShutDownService () |
IViewManagerService implementation | |
virtual void | CViewManagerService::RegisterFactory (IViewFactory &factory) |
assumes ownership of the factory More... | |
virtual void | CViewManagerService::GetTypeDescriptors (TDescrVec &descrs) |
virtual void | CViewManagerService::GetFactories (TFactories &factories) |
virtual CIRef< IView > | CViewManagerService::CreateViewInstance (const string &type_ui_name) |
create a view instance of the specified type More... | |
virtual CIRef< IView > | CViewManagerService::CreateViewInstanceByFingerprint (const TFingerprint &fingerprint) |
create a view instance of the specified type More... | |
virtual bool | CViewManagerService::CanCreateView (const string &type_ui_name) |
virtual void | CViewManagerService::AddToWorkbench (IView &view, bool bFloat) |
adds view to Workbench and connects to the services the view must be already initialized More... | |
virtual void | CViewManagerService::RemoveFromWorkbench (IView &view) |
disconnects view from services and removes from the Workbench More... | |
virtual void | CViewManagerService::RemoveAllViewsFromWorkbench () |
disconnects and removes all view from Workbench More... | |
virtual bool | CViewManagerService::HasView (const IView &view) const |
virtual void | CViewManagerService::GetViews (TViews &views) |
get all registered views More... | |
virtual CIRef< IView > | CViewManagerService::GetSingletonView (const string &singleton_ui_name) |
returns a pointer singleton view if it already exists in workbench or NULL More... | |
virtual CIRef< IView > | CViewManagerService::ShowSingletonView (const string &singleton_ui_name) |
activates the specified view, create a new view if it does not exist More... | |
IWMClientFactory interface implementation | |
virtual IWMClient * | CViewManagerService::CreateClient (const TFingerprint &fingerprint, wxWindow *parent) |
creates a client by fingerprint returns NULL if fingerprint is not recognized. More... | |
IRegSettings interface implementation | |
virtual void | CViewManagerService::SetRegistryPath (const string &path) |
virtual void | CViewManagerService::LoadSettings () |
virtual void | CViewManagerService::SaveSettings () const |
IService implementation | |
virtual void | CWindowManagerService::InitService () |
virtual void | CWindowManagerService::ShutDownService () |
IWindowManagerService implementation | |
virtual CWindowManager * | CWindowManagerService::GetWindowManager () |
virtual void | CWindowManagerService::SetAdvisor (IWindowManagerAdvisor *advisor) |
the service does not assume ownership of the given object More... | |
virtual void | CWindowManagerService::AddClient (IWMClient &client, bool bFloat) |
places the given IWMClient in the Main Tabbed Pane in Window Manager More... | |
virtual wxFrame * | CWindowManagerService::MoveToFloatingFrame (IWMClient &client) |
virtual void | CWindowManagerService::CloseClient (IWMClient &client) |
remove client(s) from Window Manager these functions do not disconnect clients from other services More... | |
virtual void | CWindowManagerService::CloseClients (const TClients &clients) |
virtual void | CWindowManagerService::CloseAllClients () |
virtual void | CWindowManagerService::GetAllClients (TClients &clients) |
returns a list of all registered IWMClients More... | |
virtual IWMClient * | CWindowManagerService::GetActiveClient () |
returns Active client (i.e. client that has focus) More... | |
virtual void | CWindowManagerService::ActivateClient (IWMClient &client) |
makes client visible and focused More... | |
virtual void | CWindowManagerService::ActivateClients (TClients &clients) |
makes clients visible, make the first client in the given container focused More... | |
virtual void | CWindowManagerService::RegisterActiveClient (IWMClient &client) |
virtual void | CWindowManagerService::UnRegisterActiveClient (IWMClient &client) |
virtual void | CWindowManagerService::RaiseFloatingWindowsInZOrder () |
Raise all floating windows to preserve/refresh z-order. More... | |
virtual void | CWindowManagerService::RaiseFloatingWindowsInZOrder (wxRect r) |
Raise all floating windows if they overlap with the provided wxREct. More... | |
virtual bool | CWindowManagerService::IsDragging () const |
Returns true if a drag operation is currently in progress. More... | |
virtual void | CWindowManagerService::RefreshClient (IWMClient &client) |
refresh client UI (title) More... | |
virtual void | CWindowManagerService::ApplyLayout (const objects::CUser_object &layout) |
virtual objects::CUser_object * | CWindowManagerService::SaveLayout () |
saves current window layout to CUser_object More... | |
virtual void | CWindowManagerService::LoadLayout (const objects::CUser_object &layout, IWMClientFactory &factory) |
creates a new window layout based on description in the given CUser_object creates clients using IWMClientFactory More... | |
IToolBarService implementation | |
virtual void | CWindowManagerService::AddToolBarFactory (IToolBarContributor *factory) |
the service assumes ownership of the given factory (will delete it) More... | |
virtual void | CWindowManagerService::DeleteToolBarFactory (IToolBarContributor *factory) |
forces deleting of the factory More... | |
virtual void | CWindowManagerService::AddToolBarContext (IToolBarContext *context) |
register toolbar context the service does NOT assume ownership of the context More... | |
virtual void | CWindowManagerService::RemoveToolBarContext (IToolBarContext *context) |
unregister toolbar context More... | |
IWindowManagerMenuListener implementation | |
virtual void | CWindowManagerService::UpdateMenuBar () |
IMenuContributor | |
virtual const wxMenu * | CWindowManagerService::GetMenu () |
returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contribs" More... | |
IRegSettings interface implementation | |
virtual void | CWindowManagerService::SetRegistryPath (const string &path) |
virtual void | CWindowManagerService::LoadSettings () |
virtual void | CWindowManagerService::SaveSettings () const |
IServiceLocator interface implementation | |
virtual bool | CWorkbench::HasService (const string &name) |
returns true if the service exists within the scope of the locator More... | |
virtual CIRef< IService > | CWorkbench::GetService (const string &name) |
retrieves the service More... | |
CWorkbenchFrame::IHintListener interface implementation | |
virtual void | CWorkbench::ShowCommandHint (const string &text) |
virtual void | CWorkbench::HideCommandHint () |
IRegSettings interface implementation | |
virtual void | CWorkbench::SetRegistryPath (const string &path) |
virtual void | CWorkbench::LoadSettings () |
virtual void | CWorkbench::SaveSettings () const |
Event Handling | |
bool | CWorkbench::ProcessEvent (wxEvent &event) |
filter events; forward command events to Window Manager in order to deliver commands to active windows More... | |
void | CWorkbench::OnCloseWindow (wxCloseEvent &event) |
#define EXT_POINT__OPTIONS_DLG_EXTENSION "options_dlg_extension" |
An extension point for dialog panels that are shown in the "Options" dialog.
Extensions contributed to this point must implement IOptionsDlgExtension interface
Definition at line 52 of file options_dlg_extension.hpp.
#define EXT_POINT__VIEW_MANAGER_SERVICE__VIEW_FACTORY "view_manager_service::view_factory" |
IViewManagerService uses the following extension point to obtain registered view factories (instances of IViewFactory)
Definition at line 59 of file view_manager_service.hpp.
#define ID_CHOICE3 10044 |
Definition at line 68 of file diag_panel.hpp.
#define ID_CWXDIAGPANEL 10030 |
Definition at line 62 of file diag_panel.hpp.
#define ID_LISTCTRL1 10037 |
Definition at line 69 of file diag_panel.hpp.
#define ID_TOOL_ERRORS 10040 |
Definition at line 64 of file diag_panel.hpp.
#define ID_TOOL_INFO 10042 |
Definition at line 66 of file diag_panel.hpp.
#define ID_TOOL_OTHER 10043 |
Definition at line 67 of file diag_panel.hpp.
#define ID_TOOL_WARNINGS 10041 |
Definition at line 65 of file diag_panel.hpp.
#define ID_TOOLBAR2 10039 |
Definition at line 63 of file diag_panel.hpp.
#define NCBI_PACKAGEENTRYPOINT_EXPORT __declspec(dllexport) |
Definition at line 45 of file gui_package.hpp.
#define NCBI_PACKAGEENTRYPOINT_EXPORT __declspec(dllexport) |
Definition at line 46 of file pkg_wb_connect.hpp.
#define SYMBOL_CAPPOPTIONSDLG_IDNAME ID_CAPPOPTIONSDLG |
Definition at line 59 of file app_options_dlg.hpp.
#define SYMBOL_CAPPOPTIONSDLG_POSITION wxDefaultPosition |
Definition at line 61 of file app_options_dlg.hpp.
#define SYMBOL_CAPPOPTIONSDLG_SIZE wxSize(400, 300) |
Definition at line 60 of file app_options_dlg.hpp.
#define SYMBOL_CAPPOPTIONSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
Definition at line 57 of file app_options_dlg.hpp.
#define SYMBOL_CAPPOPTIONSDLG_TITLE wxT("App Options") |
Definition at line 58 of file app_options_dlg.hpp.
#define SYMBOL_CAPPPACKAGESDLG_IDNAME ID_CAPPPACKAGESDLG |
Definition at line 67 of file app_packages_dlg.hpp.
#define SYMBOL_CAPPPACKAGESDLG_POSITION wxDefaultPosition |
Definition at line 69 of file app_packages_dlg.hpp.
#define SYMBOL_CAPPPACKAGESDLG_SIZE wxSize(400, 300) |
Definition at line 68 of file app_packages_dlg.hpp.
#define SYMBOL_CAPPPACKAGESDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
Definition at line 65 of file app_packages_dlg.hpp.
#define SYMBOL_CAPPPACKAGESDLG_TITLE _("Configure Packages") |
Definition at line 66 of file app_packages_dlg.hpp.
#define SYMBOL_CEVENTRECORDDETAILSDLG_IDNAME ID_CEVENTRECORDDETAILS |
Definition at line 59 of file event_record_details_dlg.hpp.
#define SYMBOL_CEVENTRECORDDETAILSDLG_POSITION wxDefaultPosition |
Definition at line 61 of file event_record_details_dlg.hpp.
#define SYMBOL_CEVENTRECORDDETAILSDLG_SIZE wxSize(400, 300) |
Definition at line 60 of file event_record_details_dlg.hpp.
#define SYMBOL_CEVENTRECORDDETAILSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
Definition at line 57 of file event_record_details_dlg.hpp.
#define SYMBOL_CEVENTRECORDDETAILSDLG_TITLE wxT("Event Details") |
Definition at line 58 of file event_record_details_dlg.hpp.
#define SYMBOL_CITEMSELECTIONPANEL_IDNAME ID_CITEMSELECTIONPANEL |
Definition at line 60 of file item_selection_panel.hpp.
#define SYMBOL_CITEMSELECTIONPANEL_POSITION wxDefaultPosition |
Definition at line 62 of file item_selection_panel.hpp.
#define SYMBOL_CITEMSELECTIONPANEL_SIZE wxDefaultSize |
Definition at line 61 of file item_selection_panel.hpp.
#define SYMBOL_CITEMSELECTIONPANEL_STYLE wxNO_BORDER|wxCLIP_CHILDREN|wxTAB_TRAVERSAL |
Definition at line 58 of file item_selection_panel.hpp.
#define SYMBOL_CITEMSELECTIONPANEL_TITLE _("ItemSelectionPanel") |
Definition at line 59 of file item_selection_panel.hpp.
#define SYMBOL_CSTATUSMESSAGESLOTPANEL_IDNAME ID_CSTATUSMESSAGESLOTPANEL |
Definition at line 61 of file status_message_slot_panel.hpp.
#define SYMBOL_CSTATUSMESSAGESLOTPANEL_POSITION wxDefaultPosition |
Definition at line 63 of file status_message_slot_panel.hpp.
#define SYMBOL_CSTATUSMESSAGESLOTPANEL_SIZE wxSize(300, 100) |
Definition at line 62 of file status_message_slot_panel.hpp.
#define SYMBOL_CSTATUSMESSAGESLOTPANEL_STYLE 0 |
Definition at line 59 of file status_message_slot_panel.hpp.
#define SYMBOL_CSTATUSMESSAGESLOTPANEL_TITLE _("Status Message Slot Panel") |
Definition at line 60 of file status_message_slot_panel.hpp.
#define SYMBOL_CTASKDETAILSDLG_IDNAME ID_CTASKDETAILSDLG |
Definition at line 56 of file task_details_dlg.hpp.
#define SYMBOL_CTASKDETAILSDLG_POSITION wxDefaultPosition |
Definition at line 58 of file task_details_dlg.hpp.
#define SYMBOL_CTASKDETAILSDLG_SIZE wxSize(400, 300) |
Definition at line 57 of file task_details_dlg.hpp.
#define SYMBOL_CTASKDETAILSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
Definition at line 54 of file task_details_dlg.hpp.
#define SYMBOL_CTASKDETAILSDLG_TITLE _("Task Details") |
Definition at line 55 of file task_details_dlg.hpp.
#define SYMBOL_CWXDIAGPANEL_IDNAME ID_CWXDIAGPANEL |
Definition at line 72 of file diag_panel.hpp.
#define SYMBOL_CWXDIAGPANEL_POSITION wxDefaultPosition |
Definition at line 74 of file diag_panel.hpp.
#define SYMBOL_CWXDIAGPANEL_SIZE wxSize(400, 300) |
Definition at line 73 of file diag_panel.hpp.
#define SYMBOL_CWXDIAGPANEL_STYLE 0 |
Definition at line 70 of file diag_panel.hpp.
Definition at line 71 of file diag_panel.hpp.
typedef IGuiPackage*(* IGuiPackage::FPackageEntryPoint) () |
Definition at line 59 of file gui_package.hpp.
typedef vector<IWMClient*> IWindowManagerService::TClients |
Definition at line 65 of file window_manager_service.hpp.
|
protected |
Definition at line 80 of file menu_service_impl.hpp.
|
protected |
Definition at line 95 of file event_view.hpp.
|
private |
Definition at line 78 of file diag_console_list.hpp.
typedef vector<const CViewTypeDescriptor*> IViewManagerService::TDescrVec |
Definition at line 71 of file view_manager_service.hpp.
|
protected |
Definition at line 150 of file status_bar_service_impl.hpp.
typedef vector< CIRef<IViewFactory> > IViewManagerService::TFactories |
Definition at line 70 of file view_manager_service.hpp.
|
protected |
Definition at line 90 of file event_log_service_impl.hpp.
Definition at line 156 of file item_selection_panel.hpp.
|
protected |
Definition at line 160 of file diag_console_list.hpp.
|
protected |
Definition at line 117 of file app_job_task.hpp.
typedef CMRUList<string> IViewManagerService::TMRUViews |
Definition at line 69 of file view_manager_service.hpp.
|
protected |
Definition at line 147 of file workbench_impl.hpp.
|
protected |
Definition at line 113 of file app_job_task.hpp.
typedef set<string> CPkgManager::TPackagesSet |
Definition at line 87 of file pkg_manager.hpp.
typedef wxPanel CMessageSlot::TParent |
Definition at line 189 of file status_bar_service_impl.hpp.
|
private |
Definition at line 242 of file status_bar_service_impl.hpp.
typedef CMainFrame CWorkbenchFrame::TParent |
Definition at line 63 of file workbench_frame.hpp.
|
protected |
Definition at line 164 of file app_task_service.hpp.
|
protected |
Definition at line 165 of file app_task_service.hpp.
typedef CRef<CTaskRecord> CAppTaskService::TRecordRef |
Definition at line 97 of file app_task_service.hpp.
Definition at line 73 of file task_view.hpp.
|
protected |
Definition at line 91 of file event_log_service_impl.hpp.
typedef vector<TRecordRef> CAppTaskService::TRecRefVec |
Definition at line 98 of file app_task_service.hpp.
Definition at line 74 of file task_view.hpp.
|
protected |
Definition at line 131 of file view_manager_service_impl.hpp.
typedef CIRef<IAppTask> CAppTaskService::TTaskRef |
Definition at line 83 of file app_task_service.hpp.
Definition at line 72 of file task_view.hpp.
Definition at line 125 of file task_view.hpp.
typedef vector<TTaskRef> CAppTaskService::TTaskRefVec |
Definition at line 84 of file app_task_service.hpp.
|
protected |
Definition at line 102 of file task_view.hpp.
Definition at line 77 of file app_task_service.hpp.
|
protected |
Definition at line 161 of file window_manager_service_impl.hpp.
typedef time_t IEventRecord::TTime |
Definition at line 81 of file event_log_service.hpp.
|
protected |
Definition at line 163 of file window_manager_service_impl.hpp.
|
protected |
Definition at line 162 of file window_manager_service_impl.hpp.
|
protected |
Definition at line 130 of file view_manager_service_impl.hpp.
typedef vector< CIRef<IView> > IViewManagerService::TViews |
Definition at line 68 of file view_manager_service.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_CAPPOPTIONSDLG | |
ID_NOTEBOOK1 |
Definition at line 105 of file app_options_dlg.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_CAPPPACKAGESDLG | |
ID_LISTCTRL1 | |
ID_CHECKBOX1 | |
ID_TEXTCTRL1 | |
ID_CHECKBOX2 |
Definition at line 129 of file app_packages_dlg.hpp.
anonymous enum |
Enumerator | |
---|---|
eShowErrors | |
eShowWarnings | |
eShowInfo | |
eShowOther | |
eShowFlags | |
eShowNCBI | |
eShowWxWdidgets | |
eShowNCBIWxWdidgets | |
eShowAll |
Definition at line 97 of file diag_console_list.hpp.
|
protected |
Enumerator | |
---|---|
ID_CEVENTRECORDDETAILS | |
ID_HTMLWINDOW1 |
Definition at line 106 of file event_record_details_dlg.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_CITEMSELECTIONPANEL | |
ID_SEARCH | |
ID_RESET | |
ID_STATUS | |
ID_SPLITTER |
Definition at line 139 of file item_selection_panel.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_MAP_WIDGET | |
IDDESCR |
Definition at line 147 of file item_selection_panel.hpp.
|
protected |
Enumerator | |
---|---|
ID_CSTATUSMESSAGESLOTPANEL | |
ID_EXTRA_LINK |
Definition at line 128 of file status_message_slot_panel.hpp.
|
protected |
Enumerator | |
---|---|
ID_CTASKDETAILSDLG | |
ID_TEXTCTRL | |
ID_TEXTCTRL3 | |
ID_TEXTCTRL2 | |
ID_TEXTCTRL4 | |
ID_CANCEL_TASK |
Definition at line 124 of file task_details_dlg.hpp.
Enumerator | |
---|---|
eNone | |
eTitle | |
eDescription | |
eTime | |
eType | |
eMaxCols | this must be the last! |
Definition at line 71 of file event_view.hpp.
Enumerator | |
---|---|
eNone | |
eDescription | |
eState | |
eStatus | |
eTime | |
eMaxCols | this must be the last! |
Definition at line 76 of file task_view.hpp.
Enumerator | |
---|---|
eCmdDetails | |
eCmdShowInfo | |
eCmdShowWarnings | |
eCmdShowErrors |
Definition at line 115 of file event_view.hpp.
Enumerator | |
---|---|
eCmdDetails | |
eCmdCancel |
Definition at line 127 of file task_view.hpp.
Enumerator | |
---|---|
eInvalidTaskID |
Definition at line 79 of file app_task_service.hpp.
Enumerator | |
---|---|
eInvalidOperation | |
eUnexpectedTask | |
eFatalError | unknown tragic error |
Definition at line 210 of file app_task_service.hpp.
Enumerator | |
---|---|
eUpdate |
Definition at line 59 of file app_task_service.hpp.
Enumerator | |
---|---|
eNewRecord |
Definition at line 55 of file event_log_service_impl.hpp.
|
protected |
Enumerator | |
---|---|
eInvalid | |
eStatus | |
eEvent | |
eHint |
Definition at line 120 of file status_bar_service_impl.hpp.
Enumerator | |
---|---|
eUndefined | |
eNotValid | |
eValidated | |
eLoaded |
Definition at line 61 of file pkg_manager.hpp.
enumerates major Registry sections
Enumerator | |
---|---|
eServices | |
eDialogs | |
eTools |
Definition at line 116 of file workbench.hpp.
enum IAppTask::ETaskState |
List of task states defining the task management FSM.
Definition at line 87 of file app_task.hpp.
Enumerator | |
---|---|
eInvalid | |
eWakeUpSignal | |
eTaskCanceled | |
eStatusUpdate |
Definition at line 188 of file app_task_service.hpp.
enum IEventRecord::EType |
Enumerator | |
---|---|
eInfo | |
eError | |
eWarning | |
eLast |
Definition at line 83 of file event_log_service.hpp.
|
virtual |
makes client visible and focused
Implements IWindowManagerService.
Definition at line 156 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::ActivateClient(), client, and CWindowManagerService::m_WindowManager.
|
pure virtual |
makes client visible and focused
Implemented in CWindowManagerService.
Referenced by CFrameworkDemoGUI::ActivateClient(), CProjectService::ActivateProjectView(), CMPCrossAlignView::InitView(), CViewManagerService::ShowSingletonView(), and CFrameworkDemoGUI::x_ShowSingletonView().
|
virtual |
makes clients visible, make the first client in the given container focused
Implements IWindowManagerService.
Definition at line 163 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::ActivateClients(), and CWindowManagerService::m_WindowManager.
|
pure virtual |
makes clients visible, make the first client in the given container focused
Implemented in CWindowManagerService.
Referenced by CProjectTreePanel::OnActivateClients().
places the given IWMClient in the Main Tabbed Pane in Window Manager
Implements IWindowManagerService.
Definition at line 109 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::AddClient(), client, and CWindowManagerService::m_WindowManager.
places the given IWMClient in the Main Tabbed Pane in Window Manager
Implemented in CWindowManagerService.
Referenced by CViewManagerService::AddToWorkbench().
|
virtual |
the service does NOT assume ownership of the contributor
Implements IMenuService.
Definition at line 154 of file menu_service_impl.cpp.
References _ASSERT, ERR_POST, CMenuService::m_Contributors, and NULL.
Referenced by CWorkbench::Init().
|
pure virtual |
the service does NOT assume ownership of the contributor
Implemented in CMenuService.
Referenced by CFrameworkDemoGUI::PostCreateWindow().
Add a new data loader to object manager.
If the data loader exists, return the existing one.
Implemented in CBamUIDataSource, and CLBLASTUIDataSource.
Referenced by CGBDocument::AttachDataLoader().
Definition at line 84 of file pkg_manager.cpp.
References CPkgManager::m_DefaultPkgs.
|
virtual |
Implements IStatusBarService.
Definition at line 146 of file status_bar_service_impl.cpp.
References CStatusBarService::eEvent, CStatusBarService::eStatus, CStatusBarService::m_EventDisplayTime, CStatusBarService::m_EventTimer, CStatusBarService::m_LastEventRecord, CStatusBarService::m_MessageMode, CConstRef< C, Locker >::Reset(), CStatusBarService::x_HasEvent(), and CStatusBarService::x_UpdateMessageField().
Referenced by CStatusBarService::x_OnNewRecord().
|
pure virtual |
Implemented in CStatusBarService.
|
virtual |
add commands for processing (simulates choosing the command from a menu)
Implements IMenuService.
Definition at line 95 of file menu_service_impl.cpp.
References cmd, CMenuService::m_Frame, and wxEVT_COMMAND_MENU_SELECTED.
|
pure virtual |
add commands for processing (simulates choosing the command from a menu)
Implemented in CMenuService.
|
virtual |
Records are managed by CIRef inside the service.
Implements IEventLogService.
Definition at line 118 of file event_log_service_impl.cpp.
References _ASSERT, CEventLogService::m_Records, and CEventHandler::Post().
|
pure virtual |
Records are managed by CIRef inside the service.
Implemented in CEventLogService.
Referenced by CAppTaskService::x_LogTask().
void CAppTaskService::AddTask | ( | IAppTask & | task | ) |
Add a task to the queue.
The task will be executed on the main UI thread at some point in future. Tasks are executed according to FIFO principle.
Definition at line 166 of file app_task_service.cpp.
References IAppTask::GetDescr(), Info(), kShutDown, LOG_POST, CAppTaskService::m_Mutex, CAppTaskService::m_PendingTasks, CAppTaskService::m_ShutDown, NCBI_THROW, CEventHandler::Post(), CSyncQueue< Type, Container, Traits >::Push(), and CRef< C, Locker >::Reset().
Referenced by CGBDocument::AddItems(), CAppDialogs::COpenDialog(), CCmdChangeProjectItem::Execute(), CAppDialogs::ExportDialog(), CPhyTreeView::OnCreateSelectedSubtree(), CPhyTreeView::OnExportTree(), CIndexerAppModeExtension::OnFileOpen(), CPrefetchSeqDescr::PrefetchSeqDescr(), CSequenceEditingEventHandler::PrepareSeqSubmit(), CEditProjectItemExtension::ProjectItemAttached(), CSubmissionWizard::RaiseWindow(), CLocalFileRestorer::RestoreFile(), CAppDialogs::RunToolDialog(), CDataMiningPanel::x_AddToProject(), CProjectViewBase::x_DetachFromProject(), CNetBlastMonitoringJob::x_StartRetrivingTask(), and CNetBLASTUIDataSource::x_StartTask().
|
virtual |
register toolbar context the service does NOT assume ownership of the context
Implements IToolBarService.
Definition at line 287 of file window_manager_service_impl.cpp.
References _ASSERT, context, map_checker< Container >::end(), set< Key, Compare >::end(), Error(), map_checker< Container >::find(), set< Key, Compare >::find(), i, set< Key, Compare >::insert(), LOG_POST, CWindowManagerService::m_TBNameToCount, CWindowManagerService::m_ToolBarContexts, and CWindowManagerService::x_ShowToolBar().
|
pure virtual |
register toolbar context the service does NOT assume ownership of the context
Implemented in CWindowManagerService.
Referenced by CProjectViewBase::SetWorkbench().
|
virtual |
the service assumes ownership of the given factory (will delete it)
Implements IToolBarService.
Definition at line 240 of file window_manager_service_impl.cpp.
References _ASSERT, ERR_POST, Error(), LOG_POST, CWindowManagerService::m_ToolBarFactories, CWindowManagerService::m_WindowManager, and NULL.
|
pure virtual |
the service assumes ownership of the given factory (will delete it)
Implemented in CWindowManagerService.
Referenced by CFrameworkDemoGUI::PostCreateWindow().
adds view to Workbench and connects to the services the view must be already initialized
Implements IViewManagerService.
Definition at line 205 of file view_manager_service_impl.cpp.
References _ASSERT, IWindowManagerService::AddClient(), client, map_checker< Container >::end(), Error(), eUnknown, map_checker< Container >::find(), CUIObject::GetLabel(), IWorkbench::GetMainWindow(), IView::GetTypeDescriptor(), IWorkbench::GetWindowManagerService(), CViewTypeDescriptor::IsSingleton(), LOG_POST, CViewManagerService::m_SingletonMap, CViewManagerService::m_Views, CViewManagerService::m_Workbench, msg(), NCBI_THROW, CViewManagerService::x_DoAddToWorkbench(), and CViewManagerService::x_LoadViewSettings().
Referenced by CViewManagerService::ShowSingletonView().
adds view to Workbench and connects to the services the view must be already initialized
Implemented in CViewManagerService.
Referenced by CProjectService::AddProjectView(), CSimpleProjectView::CreateView(), CFrameworkDemoGUI::x_AddClient(), and CFrameworkDemoGUI::x_AddView().
|
protectedvirtual |
Definition at line 205 of file diag_console_list.cpp.
References CUICommandRegistry::AppendMenuItem(), CUICommandRegistry::GetInstance(), and wxT.
Referenced by CDiagConsoleList::OnContextMenu().
|
virtual |
Definition at line 373 of file event_view.cpp.
References CEventTablePanel::eCmdDetails, and wxT.
Referenced by CEventTablePanel::OnContextMenu().
|
virtual |
Definition at line 410 of file task_view.cpp.
References CTaskTablePanel::eCmdCancel, CTaskTablePanel::eCmdDetails, and wxT.
Referenced by CTaskTablePanel::OnContextMenu().
|
virtual |
Implements IWindowManagerService.
Definition at line 205 of file window_manager_service_impl.cpp.
References CWindowManager::ApplyLayout(), and CWindowManagerService::m_WindowManager.
|
pure virtual |
Implemented in CWindowManagerService.
|
pure virtual |
returns "true" if this type needs to create a default instance of the Data Source at start-up
Implemented in CGenBankUIDataSourceType, CBamUIDataSourceType, CNetBLASTUIDataSourceType, and CLBLASTUIDataSourceType.
Referenced by CUIDataSourceService::x_InitDefaultDataSources().
|
virtual |
make a request to cancel backgrounded task (not called for foreground tasks)
Reimplemented from CAppTask.
Definition at line 203 of file app_job_task.cpp.
References _ASSERT, CAppJobDispatcher::CancelJob(), IAppTask::eBackgrounded, CAppJobDispatcher::eInvalidJobID, CAppJobDispatcher::GetInstance(), CAppJobTask::m_JobID, CAppTask::m_Listener, and CAppTask::m_State.
|
virtual |
make a request to cancel backgrounded task (not called for foreground tasks)
Reimplemented from CAppTask.
Definition at line 100 of file job_ui_task.cpp.
References CAppJobDispatcher::CancelJob(), CAppJobDispatcher::GetInstance(), CJobUITask::m_Canceled, and CJobUITask::m_JobID.
|
pure virtual |
make a request to cancel backgrounded task (not called for foreground tasks)
Implemented in CJobUITask, CCompositeAppTask, CAppTask, CAppJobTask, and CProjectLoadingTask.
Referenced by CAppTaskService::CancelTask(), and CAppTaskService::PreShutDownService().
Places a request to cancel a backgrounded task.
It is guaranteed that Task Manager will not further execute the task on the main thread, however subcomponents of the task may still continue to run on a background thread.
task | - task to cancel |
throw_on_error | - flag to throw an exception on error or return false |
Definition at line 321 of file app_task_service.cpp.
References CSyncQueue_AccessGuard< Type, Container, Traits >::Begin(), IAppTask::CancelBackgrounded(), map_checker< Container >::end(), CSyncQueue_AccessGuard< Type, Container, Traits >::End(), CSyncQueue_AccessGuard< Type, Container, Traits >::Erase(), map_checker< Container >::find(), IAppTask::GetDescr(), CRef< C, Locker >::GetPointer(), Info(), kCancelFatal, kCancelUnknown, LOG_POST, CAppTaskService::m_BackgoundedTasks, CAppTaskService::m_Mutex, CAppTaskService::m_PendingTasks, NCBI_THROW, and sGetMessageAndReport().
Referenced by CTaskTablePanel::OnCancel().
Implements IViewManagerService.
Definition at line 182 of file view_manager_service_impl.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), and CViewManagerService::m_ViewNameToFactory.
Implemented in CViewManagerService.
|
virtual |
Implements IWorkbench.
Definition at line 239 of file workbench_impl.cpp.
References IWorkbenchAdvisor::CanShutDown(), and CWorkbench::m_Advisor.
|
pure virtual |
Implemented in CFrameworkDemoGUI.
Referenced by CWorkbench::CanShutDown().
|
pure virtual |
Implemented in CWorkbench.
Referenced by CWorkbenchFrame::OnCloseWindow().
Definition at line 43 of file app_export_task.cpp.
&CAppJobTask::OnAppJobProgress CAppJobTask::CAppJobTask | ( | bool | visible, |
const string & | descr = kEmptyStr , |
||
int | prog_rep_period = 5 , |
||
const string & | engine_name = "ThreadPool" , |
||
int | display_delay = 0 |
||
) |
Definition at line 59 of file app_job_task.cpp.
CAppJobTask::CAppJobTask | ( | IAppJob & | job, |
bool | visible, | ||
const string & | descr = kEmptyStr , |
||
int | prog_rep_period = 5 , |
||
const string & | engine_name = "ThreadPool" , |
||
int | display_delay = 0 |
||
) |
Definition at line 73 of file app_job_task.cpp.
References CAppTask::m_Descr, and CAppJobTask::m_Job.
CAppOptionsDlg::CAppOptionsDlg | ( | ) |
Definition at line 61 of file app_options_dlg.cpp.
References Init().
CAppOptionsDlg::CAppOptionsDlg | ( | wxWindow * | parent, |
wxWindowID | id = ID_CAPPOPTIONSDLG , |
||
const wxString & | caption = wxT("App Options") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 66 of file app_options_dlg.cpp.
References CAppOptionsDlg::Create(), CAppOptionsDlg::Init(), and ncbi::grid::netcache::search::fields::size.
CAppPackagesDlg::CAppPackagesDlg | ( | ) |
Definition at line 73 of file app_packages_dlg.cpp.
References Init().
CAppPackagesDlg::CAppPackagesDlg | ( | wxWindow * | parent, |
CPkgManager * | pkgManager, | ||
wxWindowID | id = ID_CAPPPACKAGESDLG , |
||
const wxString & | caption = _("Configure Packages") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 78 of file app_packages_dlg.cpp.
References CAppPackagesDlg::Create(), CAppPackagesDlg::Init(), and ncbi::grid::netcache::search::fields::size.
CAppTaskService::CAppTaskService | ( | ) |
Definition at line 195 of file app_task_service.hpp.
|
inline |
Definition at line 63 of file app_task_service.hpp.
|
inline |
Definition at line 61 of file diag_console_list.hpp.
CDiagConsoleList::CDiagConsoleList | ( | ) |
Definition at line 59 of file diag_console_list.cpp.
CDiagConsoleList::CDiagConsoleList | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxBORDER_NONE |
||
) |
Definition at line 63 of file diag_console_list.cpp.
References CDiagConsoleList::Create(), and ncbi::grid::netcache::search::fields::size.
CDiagConsolePanel::CDiagConsolePanel | ( | ) |
Definition at line 77 of file diag_panel.cpp.
References Init().
CDiagConsoleView::CDiagConsoleView | ( | ) |
Definition at line 330 of file diag_panel.cpp.
CEventLogService::CEventLogService | ( | ) |
Definition at line 102 of file event_log_service_impl.cpp.
CEventRecord::CEventRecord | ( | EType | type, |
const string & | title = kEmptyStr , |
||
const string & | descr = kEmptyStr , |
||
const TTime & | time = 0 |
||
) |
Definition at line 43 of file event_log_service_impl.cpp.
CEventRecordDetailsDlg::CEventRecordDetailsDlg | ( | ) |
Definition at line 53 of file event_record_details_dlg.cpp.
References Init().
CEventRecordDetailsDlg::CEventRecordDetailsDlg | ( | wxWindow * | parent, |
wxWindowID | id = ID_CEVENTRECORDDETAILS , |
||
const wxString & | caption = wxT("Event Details") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 58 of file event_record_details_dlg.cpp.
References CEventRecordDetailsDlg::Create(), CEventRecordDetailsDlg::Init(), and ncbi::grid::netcache::search::fields::size.
CEventTablePanel::CEventTablePanel | ( | ) |
Definition at line 217 of file event_view.cpp.
References Init().
CEventView::CEventView | ( | ) |
Definition at line 496 of file event_view.cpp.
CEventViewModel::CEventViewModel | ( | IEventLogService * | service | ) |
Definition at line 70 of file event_view.cpp.
References CEventViewModel::eDescription, IEventRecord::eLast, CEventViewModel::eTime, CEventViewModel::eTitle, CEventViewModel::eType, CEventViewModel::m_Filter, CEventViewModel::m_Names, CEventViewModel::m_TimeFormat, and CTimeFormat::SetFormat().
CItemSelectionPanel::CItemSelectionPanel | ( | ) |
Definition at line 69 of file item_selection_panel.cpp.
References Init().
CItemSelectionPanel::CItemSelectionPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CITEMSELECTIONPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxNO_BORDER|wxCLIP_CHILDREN|wxTAB_TRAVERSAL |
||
) |
Definition at line 75 of file item_selection_panel.cpp.
References CItemSelectionPanel::Create(), CItemSelectionPanel::Init(), and ncbi::grid::netcache::search::fields::size.
CJobUITask::CJobUITask | ( | const string & | descr, |
CAppJobDispatcher::TJobID | jobID | ||
) |
Definition at line 47 of file job_ui_task.cpp.
|
inline |
Definition at line 59 of file event_log_service_impl.hpp.
|
pure virtual |
Implemented in CGenBankUIDataSource, CBamUIDataSource, CNetBLASTUIDataSource, and CLBLASTUIDataSource.
Referenced by CUIDataSourceService::x_CloseDataSources().
|
virtual |
Implements IWindowManagerService.
Definition at line 135 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::CloseAllClients(), and CWindowManagerService::m_WindowManager.
|
pure virtual |
Implemented in CWindowManagerService.
Referenced by CFrameworkDemoGUI::OnRestoreLayoutClick().
|
virtual |
remove client(s) from Window Manager these functions do not disconnect clients from other services
Implements IWindowManagerService.
Definition at line 121 of file window_manager_service_impl.cpp.
References _ASSERT, client, CWindowManager::CloseClient(), and CWindowManagerService::m_WindowManager.
|
pure virtual |
remove client(s) from Window Manager these functions do not disconnect clients from other services
Implemented in CWindowManagerService.
Referenced by CFrameworkDemoGUI::OnCloseViewClick(), and CViewManagerService::RemoveFromWorkbench().
Implements IWindowManagerService.
Definition at line 128 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::CloseClients(), and CWindowManagerService::m_WindowManager.
Implemented in CWindowManagerService.
CMenuService::CMenuService | ( | ) |
CMessageSlot::CMessageSlot | ( | wxStatusBar * | parent | ) |
Definition at line 326 of file status_bar_service_impl.cpp.
CMessageSlotPopupWindow::CMessageSlotPopupWindow | ( | CMessageSlot * | slot, |
wxRect | slot_rect, | ||
const IEventRecord & | record, | ||
int | show_event_view_cmd | ||
) |
Definition at line 602 of file status_bar_service_impl.cpp.
References _ASSERT, CStatusBar::GetBackColor(), CMessageSlotPopupWindow::m_Slot, wxID_ANY, wxT, and CMessageSlotPopupWindow::x_CreateMessageSlotPanel().
Definition at line 76 of file status_bar_service.hpp.
void Consumer_SetLocator | ( | T * | obj, |
IServiceLocator * | locator | ||
) |
Definition at line 111 of file service.hpp.
References IServiceLocatorConsumer::SetServiceLocator().
Referenced by CWorkbench::RegisterService(), CWorkbench::UnRegisterService(), CUIDataSourceService::x_InitDefaultDataSources(), and CWorkbench::x_ShutDownServices().
|
inline |
Definition at line 69 of file pkg_manager.hpp.
CPkgManager::CPkgManager | ( | ) |
Definition at line 59 of file pkg_manager.cpp.
bool CDiagConsolePanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10030 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = 0 |
||
) |
Creation.
Definition at line 82 of file diag_panel.cpp.
References CDiagConsolePanel::CreateControls(), and CDiagConsolePanel::x_LoadMessages().
Referenced by CDiagConsoleView::CreateViewWindow().
bool CAppOptionsDlg::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CAPPOPTIONSDLG , |
||
const wxString & | caption = wxT("App Options") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 72 of file app_options_dlg.cpp.
References CAppOptionsDlg::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CAppOptionsDlg::CAppOptionsDlg().
bool CAppPackagesDlg::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CAPPPACKAGESDLG , |
||
const wxString & | caption = _("Configure Packages") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 85 of file app_packages_dlg.cpp.
References CAppPackagesDlg::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CAppPackagesDlg::CAppPackagesDlg().
bool CEventRecordDetailsDlg::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CEVENTRECORDDETAILS , |
||
const wxString & | caption = wxT("Event Details") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 64 of file event_record_details_dlg.cpp.
References CEventRecordDetailsDlg::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CEventRecordDetailsDlg::CEventRecordDetailsDlg().
bool CItemSelectionPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CITEMSELECTIONPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxNO_BORDER|wxCLIP_CHILDREN|wxTAB_TRAVERSAL |
||
) |
Definition at line 81 of file item_selection_panel.cpp.
References CItemSelectionPanel::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CItemSelectionPanel::CItemSelectionPanel().
bool CStatusMessageSlotPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CSTATUSMESSAGESLOTPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(300, 100) , |
||
long | style = 0 |
||
) |
Definition at line 70 of file status_message_slot_panel.cpp.
References CStatusMessageSlotPanel::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CStatusMessageSlotPanel::CStatusMessageSlotPanel().
bool CTaskDetailsDlg::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_CTASKDETAILSDLG , |
||
const wxString & | caption = _("Task Details") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 73 of file task_details_dlg.cpp.
References CTaskDetailsDlg::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CTaskDetailsDlg::CTaskDetailsDlg().
|
virtual |
Definition at line 230 of file event_view.cpp.
References CEventTablePanel::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CEventView::CreateViewWindow().
|
virtual |
Definition at line 270 of file task_view.cpp.
References CTaskTablePanel::CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CTaskView::CreateViewWindow().
bool CDiagConsoleList::Create | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxBORDER_NONE |
||
) |
Creation.
Definition at line 80 of file diag_console_list.cpp.
References CEventHandler::AddListener(), CFixGenericListCtrl::ConnectToControl(), CwxLogDiagHandler::GetInstance(), CDiagConsoleList::m_FixGenericListCtrl, ncbi::grid::netcache::search::fields::size, and wxT.
Referenced by CDiagConsoleList::CDiagConsoleList().
|
virtual |
creates a client by fingerprint returns NULL if fingerprint is not recognized.
Implements IWMClientFactory.
Definition at line 454 of file view_manager_service_impl.cpp.
References client, CViewManagerService::CreateViewInstanceByFingerprint(), CRef< C, Locker >::GetPointer(), CViewManagerService::x_DoAddToWorkbench(), and CViewManagerService::x_LoadViewSettings().
void CAppOptionsDlg::CreateControls | ( | ) |
Definition at line 108 of file app_options_dlg.cpp.
References ComparePages(), EXT_POINT__OPTIONS_DLG_EXTENSION, GetExtensionAsInterface(), CAppOptionsDlg::ID_NOTEBOOK1, ITERATE, ct::sort(), ToWxString(), and wxT.
Referenced by CAppOptionsDlg::Create().
void CAppPackagesDlg::CreateControls | ( | ) |
Definition at line 116 of file app_packages_dlg.cpp.
References _, CAppPackagesDlg::ID_CHECKBOX1, CAppPackagesDlg::ID_CHECKBOX2, CAppPackagesDlg::ID_LISTCTRL1, CAppPackagesDlg::ID_TEXTCTRL1, CAppPackagesDlg::m_PkgEnable, CAppPackagesDlg::m_PkgInfo, CAppPackagesDlg::m_PkgList, wxT, and CAppPackagesDlg::x_LoadPkgList().
Referenced by CAppPackagesDlg::Create().
void CDiagConsolePanel::CreateControls | ( | ) |
Definition at line 122 of file diag_panel.cpp.
References ID_CHOICE3, ID_LISTCTRL1, ID_TOOL_ERRORS, ID_TOOL_INFO, ID_TOOL_OTHER, ID_TOOL_WARNINGS, ID_TOOLBAR2, CDiagConsolePanel::m_ImageList, CDiagConsolePanel::m_MsgList, wxT, and CDiagConsolePanel::x_UpdateUI().
Referenced by CDiagConsolePanel::Create().
void CEventRecordDetailsDlg::CreateControls | ( | ) |
Definition at line 93 of file event_record_details_dlg.cpp.
References CEventRecordDetailsDlg::ID_HTMLWINDOW1, CEventRecordDetailsDlg::m_HTMLWindow, and wxT.
Referenced by CEventRecordDetailsDlg::Create().
void CEventTablePanel::CreateControls | ( | ) |
Creates the controls and sizers.
Definition at line 257 of file event_view.cpp.
References CEventTablePanel::eCmdDetails, CEventTablePanel::eCmdShowErrors, CEventTablePanel::eCmdShowInfo, CEventTablePanel::eCmdShowWarnings, ID_TABLE, ID_TOOLBAR, CEventTablePanel::m_Table, and wxT.
Referenced by CEventTablePanel::Create().
void CItemSelectionPanel::CreateControls | ( | ) |
Definition at line 115 of file item_selection_panel.cpp.
References _, CSplitter::eVertical, CGroupMapWidget::GetMapControl(), CMapControl::GetProperties(), CItemSelectionPanel::ID_MAP_WIDGET, CItemSelectionPanel::ID_RESET, CItemSelectionPanel::ID_SEARCH, CItemSelectionPanel::ID_SPLITTER, CItemSelectionPanel::ID_STATUS, CItemSelectionPanel::IDDESCR, CSplitter::InsertToCell(), CMapControl::SProperties::m_ColumnWidth, CItemSelectionPanel::m_DescrCtrl, CItemSelectionPanel::m_MapWidget, CItemSelectionPanel::m_ResetBtn, CItemSelectionPanel::m_SearchCtrl, CItemSelectionPanel::m_Splitter, CItemSelectionPanel::m_StatusText, CSplitter::SetResizableCell(), CSplitter::Split(), and wxT.
Referenced by CItemSelectionPanel::Create().
void CStatusMessageSlotPanel::CreateControls | ( | ) |
Definition at line 104 of file status_message_slot_panel.cpp.
References _, CStatusMessageSlotPanel::ID_EXTRA_LINK, CStatusMessageSlotPanel::m_Descr, CStatusMessageSlotPanel::m_DescrStatic, CStatusMessageSlotPanel::m_ExtraLink, CStatusMessageSlotPanel::m_Time, CStatusMessageSlotPanel::m_TimeStatic, CStatusMessageSlotPanel::m_Title, and CStatusMessageSlotPanel::m_TitleStatic.
Referenced by CStatusMessageSlotPanel::Create().
void CTaskDetailsDlg::CreateControls | ( | ) |
Definition at line 104 of file task_details_dlg.cpp.
References _, CTaskDetailsDlg::ID_CANCEL_TASK, CTaskDetailsDlg::ID_TEXTCTRL, CTaskDetailsDlg::ID_TEXTCTRL2, CTaskDetailsDlg::ID_TEXTCTRL3, CTaskDetailsDlg::ID_TEXTCTRL4, CTaskDetailsDlg::m_State, CTaskDetailsDlg::m_Status, CTaskDetailsDlg::m_Time, and CTaskDetailsDlg::m_Title.
Referenced by CTaskDetailsDlg::Create().
|
virtual |
Creates the controls and sizers.
Definition at line 289 of file task_view.cpp.
References _, b, CTaskTablePanel::eCmdDetails, ID_TABLE, ID_TOOLBAR, CTaskTablePanel::m_Table, CwxTableListCtrl::SetContextMenuEventPropagation(), WindowSetText(), and wxT.
Referenced by CTaskTablePanel::Create().
|
pure virtual |
factory method; create an Data Source instance
Implemented in CGenBankUIDataSourceType, CBamUIDataSourceType, CNetBLASTUIDataSourceType, and CLBLASTUIDataSourceType.
Referenced by CUIDataSourceService::x_InitDefaultDataSources().
|
pure virtual |
returns an action for activating task results (optional, can return NULL)
Implemented in CAppTask.
|
inlinevirtual |
Reimplemented in CGenBankUIDataSource, CBamUIDataSource, CNetBLASTUIDataSource, and CLBLASTUIDataSource.
Definition at line 94 of file ui_data_source.hpp.
|
virtual |
|
virtual |
|
virtual |
|
pure virtual |
creates a view instance
Implemented in CTextViewFactory, CSelectionViewFactory, CSequinDesktopViewFactory, CViewGraphicFactory, CFeatTableViewFactory, CVcfTableViewFactory, CSeqTextViewFactory, CPhyTreeViewFactory, CMultiAlignViewFactory, CMPCrossAlignViewFactory, CDotMatrixViewFactory, CCrossAlignViewFactory, CAnnotCompareViewFactory, CAlnSummaryViewFactory, CAlignSpanViewFactory, CTaskViewFactory, CEventViewFactory, CDiagConsoleViewFactory, CClockViewFactory, CwxGLTestViewFactory, CProjectTableViewFactory, CTableViewFactory, CProjectTreeViewFactory, and CDataMiningViewFactory.
Referenced by CViewManagerService::CreateViewInstance().
|
virtual |
if fingerprint is recognized - creates and returns a new instance
Implements IViewFactory.
Definition at line 461 of file diag_panel.cpp.
References GetLabel(), CDiagConsoleView::m_TypeDescr, and NULL.
|
virtual |
if fingerprint is recognized - creates and returns a new instance
Implements IViewFactory.
Definition at line 646 of file event_view.cpp.
References GetLabel(), CEventView::m_TypeDescr, and NULL.
|
virtual |
if fingerprint is recognized - creates and returns a new instance
Implements IViewFactory.
Definition at line 716 of file task_view.cpp.
References GetLabel(), CTaskView::m_TypeDescr, and NULL.
|
pure virtual |
if fingerprint is recognized - creates and returns a new instance
Implemented in CTextViewFactory, CSelectionViewFactory, CSequinDesktopViewFactory, CViewGraphicFactory, CFeatTableViewFactory, CVcfTableViewFactory, CSeqTextViewFactory, CPhyTreeViewFactory, CMultiAlignViewFactory, CMPCrossAlignViewFactory, CDotMatrixViewFactory, CCrossAlignViewFactory, CAnnotCompareViewFactory, CAlnSummaryViewFactory, CAlignSpanViewFactory, CTaskViewFactory, CEventViewFactory, CDiagConsoleViewFactory, CClockViewFactory, CwxGLTestViewFactory, CProjectTableViewFactory, CTableViewFactory, CProjectTreeViewFactory, and CDataMiningViewFactory.
Referenced by CViewManagerService::CreateViewInstanceByFingerprint().
|
virtual |
Definition at line 329 of file task_view.cpp.
References _ASSERT, CTaskViewModel::eDescription, CTaskViewModel::eState, CTaskViewModel::eStatus, CTaskViewModel::eTime, kTimerPeriod, CTaskTablePanel::m_EventTimer, CTaskTablePanel::m_Model, CTaskTablePanel::m_Table, CTaskTablePanel::m_TaskService, CwxTableListCtrl::SetModel(), and CTaskViewModel::UpdateTable().
Referenced by CTaskView::SetWorkbench().
void CEventTablePanel::CreateModel | ( | IEventLogService * | service | ) |
Definition at line 293 of file event_view.cpp.
References CEventViewModel::eDescription, CEventViewModel::eTime, CEventViewModel::eTitle, CEventViewModel::eType, CEventTablePanel::m_Model, CEventTablePanel::m_Service, CEventTablePanel::m_Table, CwxTableListCtrl::SetModel(), and CEventViewModel::UpdateTable().
Referenced by CEventView::SetWorkbench().
|
pure virtual |
Implemented in CDataSourcesOptionsDlgExtension.
|
virtual |
Definition at line 95 of file status_bar_service_impl.cpp.
References CStatusBarService::InsertSlot(), CStatusBar::Layout(), CStatusBarService::m_MessageSlot, CStatusBarService::m_StatusBar, and wxID_ANY.
Referenced by CWorkbench::Init().
create a view instance of the specified type
Implements IViewManagerService.
Definition at line 166 of file view_manager_service_impl.cpp.
References _ASSERT, IViewFactory::CreateInstance(), map_checker< Container >::end(), Error(), map_checker< Container >::find(), LOG_POST, CViewManagerService::m_ViewNameToFactory, and CRef< C, Locker >::Reset().
Referenced by CViewManagerService::ShowSingletonView().
|
pure virtual |
create a view instance of the specified type
Implemented in CViewManagerService.
Referenced by CProjectService::AddProjectView(), CMPCrossAlignView::InitView(), and CFrameworkDemoGUI::x_AddView().
|
pure virtual |
create a view instance of the specified type
Implemented in CViewManagerService.
|
virtual |
create a view instance of the specified type
Implements IViewManagerService.
Definition at line 190 of file view_manager_service_impl.cpp.
References IViewFactory::CreateInstanceByFingerprint(), CViewManagerService::m_ViewNameToFactory, and NON_CONST_ITERATE.
Referenced by CViewManagerService::CreateClient().
|
virtual |
create Window corresponding to the view
Implements IView.
Definition at line 356 of file diag_panel.cpp.
References CDiagConsolePanel::Create(), CDiagConsoleView::m_Panel, and SYMBOL_CWXDIAGPANEL_IDNAME.
|
virtual |
create Window corresponding to the view
Implements IView.
Definition at line 588 of file event_view.cpp.
References CEventTablePanel::Create(), CEventView::m_Panel, and wxID_ANY.
|
virtual |
create Window corresponding to the view
Implements IView.
Definition at line 607 of file task_view.cpp.
References CTaskTablePanel::Create(), CTaskView::m_Panel, and wxID_ANY.
|
pure virtual |
create Window corresponding to the view
Implemented in CProjectViewBase, CVcfTableView, CTextView, CAlnSummaryView, CSelectionView, CSequinDesktopView, CViewGraphic, CFeatTableView, CSeqTextView, CPhyTreeView, CMultiAlignView, CMPCrossAlignView, CDotMatrixView, CCrossAlignView, CAnnotCompareView, CAlignSpanView, CTaskView, CEventView, CDiagConsoleView, CClockView, CwxGLTestView, CTableView, CSimpleProjectView, CProjectTreeView, and CDataMiningView.
Referenced by CViewManagerService::x_DoAddToWorkbench().
CStatusBarService::CStatusBarService | ( | ) |
Definition at line 60 of file status_bar_service_impl.cpp.
References CStatusBarService::CStatusBarServiceEvtHandler, kEventTimerID, kPulseTimerID, CStatusBarService::m_EventTimer, CStatusBarService::m_Handler, and CStatusBarService::m_PulseTimer.
CStatusBarServiceEvtHandler::CStatusBarServiceEvtHandler | ( | CStatusBarService & | service | ) |
Definition at line 293 of file status_bar_service_impl.cpp.
CStatusMessageSlotPanel::CStatusMessageSlotPanel | ( | ) |
Definition at line 58 of file status_message_slot_panel.cpp.
References Init().
CStatusMessageSlotPanel::CStatusMessageSlotPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_CSTATUSMESSAGESLOTPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(300, 100) , |
||
long | style = 0 |
||
) |
Definition at line 64 of file status_message_slot_panel.cpp.
References CStatusMessageSlotPanel::Create(), CStatusMessageSlotPanel::Init(), and ncbi::grid::netcache::search::fields::size.
CTaskDetailsDlg::CTaskDetailsDlg | ( | ) |
Definition at line 60 of file task_details_dlg.cpp.
References Init().
CTaskDetailsDlg::CTaskDetailsDlg | ( | wxWindow * | parent, |
wxWindowID | id = ID_CTASKDETAILSDLG , |
||
const wxString & | caption = _("Task Details") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 66 of file task_details_dlg.cpp.
References CTaskDetailsDlg::Create(), CTaskDetailsDlg::Init(), and ncbi::grid::netcache::search::fields::size.
|
inline |
Definition at line 89 of file app_task_service.hpp.
CTaskTablePanel::CTaskTablePanel | ( | ) |
Definition at line 253 of file task_view.cpp.
References Init().
CTaskView::CTaskView | ( | ) |
Definition at line 574 of file task_view.cpp.
CTaskViewModel::CTaskViewModel | ( | CAppTaskService * | task_srv | ) |
Definition at line 67 of file task_view.cpp.
References CTaskViewModel::eDescription, IAppTask::eLastState, CTaskViewModel::eState, CTaskViewModel::eStatus, CTaskViewModel::eTime, CTaskViewModel::m_Filter, CTaskViewModel::m_Names, CTaskViewModel::m_TimeFormat, and CTimeFormat::SetFormat().
CViewManagerService::CViewManagerService | ( | ) |
Definition at line 53 of file view_manager_service_impl.cpp.
CViewTypeDescriptor::CViewTypeDescriptor | ( | const string & | label, |
const string & | icon_alias, | ||
const string & | hint, | ||
const string & | description, | ||
const string & | help_id, | ||
const string & | category, | ||
bool | singleton | ||
) |
Definition at line 521 of file view_manager_service_impl.cpp.
CWindowManagerService::CWindowManagerService | ( | ) |
Definition at line 42 of file window_manager_service_impl.cpp.
CWorkbench::CWorkbench | ( | IWorkbenchAdvisor * | advisor | ) |
CWorkbenchFrame::CWorkbenchFrame | ( | ) |
Constructors.
Definition at line 70 of file workbench_frame.cpp.
CWorkbenchFrame::CWorkbenchFrame | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxString & | caption, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxDEFAULT_FRAME_STYLE |
||
) |
Definition at line 75 of file workbench_frame.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
forces deleting of the factory
Implements IToolBarService.
Definition at line 261 of file window_manager_service_impl.cpp.
References _ASSERT, ERR_POST, and CWindowManagerService::m_ToolBarFactories.
|
pure virtual |
forces deleting of the factory
Implemented in CWindowManagerService.
bool CPkgManager::DependsOn | ( | const CPackageInfo & | pkg, |
const string & | pkg_name | ||
) | const |
Definition at line 552 of file pkg_manager.cpp.
References set< Key, Compare >::end(), set< Key, Compare >::find(), NStr::ToUpper(), and CPkgManager::x_GetBasePkgs().
Referenced by CPkgManager::GetDependentPkgs().
void CEventTablePanel::DestroyModel | ( | ) |
Definition at line 309 of file event_view.cpp.
References CEventTablePanel::m_Model, CEventTablePanel::m_Service, CEventTablePanel::m_Table, and CwxTableListCtrl::RemoveModel().
Referenced by CEventView::SetWorkbench().
|
virtual |
Definition at line 350 of file task_view.cpp.
References CTaskTablePanel::m_EventTimer, CTaskTablePanel::m_Model, CTaskTablePanel::m_Table, NULL, and CwxTableListCtrl::RemoveModel().
Referenced by CTaskView::SetWorkbench().
|
virtual |
destroy Window corresponding to the view
Implements IView.
Definition at line 363 of file diag_panel.cpp.
References CDiagConsoleView::m_Panel, and NULL.
|
virtual |
destroy Window corresponding to the view
Implements IView.
Definition at line 595 of file event_view.cpp.
References CEventView::m_Panel, and NULL.
|
virtual |
destroy Window corresponding to the view
Implements IView.
Definition at line 613 of file task_view.cpp.
References CTaskView::m_Panel, and NULL.
|
pure virtual |
destroy Window corresponding to the view
Implemented in CProjectViewBase, CTableViewWithTextViewNav, CVcfTableView, CTextView, CSelectionView, CSequinDesktopView, CViewGraphic, CFeatTableView, CSeqTextView, CPhyTreeView, CMultiAlignView, CMPCrossAlignView, CDotMatrixView, CCrossAlignView, CAnnotCompareView, CAlignSpanView, CTaskView, CEventView, CDiagConsoleView, CClockView, CwxGLTestView, CTableView, CSimpleProjectView, CProjectTreeView, and CDataMiningView.
Referenced by CViewManagerService::x_DoRemoveViewFromWorkbench().
|
virtual |
IDockManagerKeyHook implementation.
Implements IDockManagerKeyHook.
Definition at line 111 of file workbench_frame.cpp.
References CWorkbenchFrame::m_DockManager, CWorkbenchFrame::m_ForwardKeyEvents, and NULL.
|
virtual |
returns Active client (i.e. client that has focus)
Implements IWindowManagerService.
Definition at line 149 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::GetActiveClient(), and CWindowManagerService::m_WindowManager.
|
pure virtual |
returns Active client (i.e. client that has focus)
Implemented in CWindowManagerService.
Referenced by CFrameworkDemoGUI::OnCloseViewClick().
|
virtual |
returns a list of all registered IWMClients
Implements IWindowManagerService.
Definition at line 142 of file window_manager_service_impl.cpp.
References _ASSERT, CWindowManager::GetAllClients(), and CWindowManagerService::m_WindowManager.
|
pure virtual |
returns a list of all registered IWMClients
Implemented in CWindowManagerService.
Referenced by CViewManagerService::ShutDownService(), and CFrameworkDemoGUI::x_CloseAllViews().
|
virtual |
Implements IWorkbench.
Definition at line 300 of file workbench_impl.cpp.
References CWorkbench::m_AppTaskService.
Referenced by CIndexerAppModeExtension::OnFileOpen().
|
pure virtual |
|
pure virtual |
get application title
Implemented in CFrameworkDemoGUI.
Referenced by CWorkbench::x_InitMainFrame().
void CAppTaskService::GetBackgroundedTasks | ( | TRecRefVec & | tasks | ) |
Definition at line 447 of file app_task_service.cpp.
References CAppTaskService::m_BackgoundedTasks, CAppTaskService::m_Mutex, NON_CONST_ITERATE, and map_checker< Container >::size().
Referenced by CTaskViewModel::UpdateTable().
Definition at line 503 of file pkg_manager.cpp.
References set< Key, Compare >::begin(), copy(), map_checker< std::map< string, CPackageInfo, less< string > > >::end(), set< Key, Compare >::end(), map_checker< std::map< string, CPackageInfo, less< string > > >::find(), NStr::ToUpper(), and CPkgManager::x_GetBasePkgs().
Referenced by CAppPackagesDlg::OnEnablePkg().
wxBitmap CAppOptionsDlg::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 156 of file app_options_dlg.cpp.
wxBitmap CAppPackagesDlg::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 229 of file app_packages_dlg.cpp.
wxBitmap CDiagConsolePanel::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 177 of file diag_panel.cpp.
wxBitmap CEventRecordDetailsDlg::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 117 of file event_record_details_dlg.cpp.
wxBitmap CItemSelectionPanel::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 403 of file item_selection_panel.cpp.
wxBitmap CStatusMessageSlotPanel::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 142 of file status_message_slot_panel.cpp.
wxBitmap CTaskDetailsDlg::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 173 of file task_details_dlg.cpp.
|
virtual |
get view category (used for view grouping in UI)
Definition at line 541 of file view_manager_service_impl.cpp.
References CViewTypeDescriptor::m_Category.
Referenced by CViewManagerService::x_GetViewRegistryPath().
|
pure virtual |
Implemented in CToolRecentItem, CToolManagerItem, and CViewFactoryItem.
Referenced by CItemSelectionPanel::x_AddItem().
|
virtual |
returns the client label (name) to be displayed in UI
Implements IWMClient.
Definition at line 378 of file diag_panel.cpp.
References CUIObject::GetLabel(), and CDiagConsoleView::m_TypeDescr.
|
virtual |
returns the client label (name) to be displayed in UI
Implements IWMClient.
Definition at line 524 of file event_view.cpp.
References CUIObject::GetLabel(), and CEventView::m_TypeDescr.
|
virtual |
returns the client label (name) to be displayed in UI
Implements IWMClient.
Definition at line 632 of file task_view.cpp.
References CUIObject::GetLabel(), and CTaskView::m_TypeDescr.
|
virtual |
returns a color associated with the client, n/a if NULL
Implements IWMClient.
Definition at line 390 of file diag_panel.cpp.
References NULL.
|
virtual |
returns a color associated with the client, n/a if NULL
Implements IWMClient.
Definition at line 536 of file event_view.cpp.
References NULL.
|
virtual |
returns a color associated with the client, n/a if NULL
Implements IWMClient.
Definition at line 644 of file task_view.cpp.
References NULL.
|
virtual |
Returns a default name for the column using spreadsheet conventions: A, B, C, ...
Z, AA, AB, etc. If column cannot be found, returns an empty name. AnyType has a type of string.
There is one static instance of string inside, so it is refilled every next call. It is enough for drawing purposes, but if someone needs more, (s)he should implement more.
Reimplemented from CwxAbstractTableModel.
Definition at line 151 of file event_view.cpp.
References CEventViewModel::m_Names, and ToWxString().
|
virtual |
Returns a default name for the column using spreadsheet conventions: A, B, C, ...
Z, AA, AB, etc. If column cannot be found, returns an empty name. AnyType has a type of string.
There is one static instance of string inside, so it is refilled every next call. It is enough for drawing purposes, but if someone needs more, (s)he should implement more.
Reimplemented from CwxAbstractTableModel.
Definition at line 155 of file task_view.cpp.
References CTaskViewModel::m_Names, and ToWxString().
|
virtual |
Tries to extract actual type from row 0 value if it exists.
Otherwise returns typeid(int) [anyway it is of no use in abcence of data]
Reimplemented from CwxAbstractTableModel.
Definition at line 145 of file event_view.cpp.
References wxT.
|
virtual |
Tries to extract actual type from row 0 value if it exists.
Otherwise returns typeid(int) [anyway it is of no use in abcence of data]
Reimplemented from CwxAbstractTableModel.
Definition at line 149 of file task_view.cpp.
References wxT.
|
inlinevirtual |
returns a pointer to the command handler (for menu commands and updates)
Implements IWMClient.
Definition at line 164 of file diag_panel.hpp.
References CDiagConsoleView::GetWindow().
|
virtual |
returns a pointer to the command handler (for menu commands and updates)
Implements IWMClient.
Definition at line 517 of file event_view.cpp.
References _ASSERT, CEventTablePanel::GetTable(), CEventView::m_Panel, and table.
|
inlinevirtual |
returns a pointer to the command handler (for menu commands and updates)
Implements IWMClient.
Definition at line 216 of file task_view.hpp.
References CTaskView::GetWindow().
|
pure virtual |
returns the names of toolbars compatible with this class (toolbars that are relevant and useful in the context of this class)
Implemented in CTableViewWithTextViewNav, CVcfTableView, CTextView, CSequinDesktopView, CViewGraphic, CFeatTableView, CTableView, and CProjectViewBase.
|
inlinevirtual |
Reimplemented in CGenBankUIDataSource, CBamUIDataSource, CNetBLASTUIDataSource, and CLBLASTUIDataSource.
Definition at line 93 of file ui_data_source.hpp.
Definition at line 540 of file pkg_manager.cpp.
References CPkgManager::DependsOn(), ITERATE, and NStr::ToUpper().
Referenced by CAppPackagesDlg::OnEnablePkg().
|
pure virtual |
returns a human-readable description of the Task (optional)
Implemented in CAppTask.
Referenced by CAppTaskService::AddTask(), CAppTaskService::CancelTask(), CTaskViewModel::GetValueAt(), sGetMessageAndReport(), CAppTaskService::x_LogTask(), and CAppTaskService::x_ReportTaskFailure().