NCBI C++ ToolKit
|
Search Toolkit Book for IWindowManagerAdvisor
IWindowManagerAdvisor. More...
#include <gui/widgets/wx/window_manager.hpp>
Public Types | |
typedef vector< IWMClient * > | TClients |
Public Member Functions | |
virtual void | OnCloseClientsRequest (const TClients &clients)=0 |
indicates that user requested closing the following clients (by pressing a "close" button, selecting a command etc.) Advisor must take necessary actions to close the clients (if needed). More... | |
virtual void | OnClientAboutToClose (IWMClient &client)=0 |
called before removing the client More... | |
virtual void | OnClientClosed (IWMClient &client)=0 |
called after the client has been removed More... | |
virtual void | OnActiveClientChanged (IWMClient *new_active)=0 |
called when Active Client is changed (i.e. focus goes into another client) More... | |
virtual string | GetFloatingFrameTitle (int index)=0 |
returns the title for the floating frames created by the Window Manager More... | |
Protected Member Functions | |
virtual | ~IWindowManagerAdvisor () |
This interface represents the context in which Window Manager operates, Window Manager delegates some of the functions / decisions to the Advisor. These functions should be implemented by the application to allow the application components to control the life cycle of IWMClients managed by Window Manager.
Definition at line 71 of file window_manager.hpp.
typedef vector<IWMClient*> IWindowManagerAdvisor::TClients |
Definition at line 74 of file window_manager.hpp.
|
inlineprotectedvirtual |
Definition at line 94 of file window_manager.hpp.
returns the title for the floating frames created by the Window Manager
Implemented in CFrameworkDemoGUI.
Referenced by CWindowManager::GetNewFloatingFrameTitle().
|
pure virtual |
called when Active Client is changed (i.e. focus goes into another client)
Implemented in CFrameworkDemoGUI.
Referenced by CWindowManager::OnFocusChanged(), and CWindowManager::UnRegisterActiveClient().
|
pure virtual |
called before removing the client
Implemented in CFrameworkDemoGUI.
Referenced by CWindowManager::x_CloseClient().
|
pure virtual |
called after the client has been removed
Implemented in CFrameworkDemoGUI.
Referenced by CWindowManager::x_CloseClient().
indicates that user requested closing the following clients (by pressing a "close" button, selecting a command etc.) Advisor must take necessary actions to close the clients (if needed).
Implemented in CFrameworkDemoGUI.
Referenced by CWindowManager::OnCaptionPanelCommand(), CWindowManager::OnCloseClientsRequestEvent(), and CWindowManager::x_HandlePanelCommand().