NCBI C++ ToolKit
|
Search Toolkit Book for IToolBarContributor
IToolBarContributor - a factory that produces toolbars. More...
#include <gui/widgets/wx/ui_command.hpp>
Public Member Functions | |
virtual void | GetToolBarNames (vector< string > &names)=0 |
returns the names of toolbars produced More... | |
virtual wxAuiToolBar * | CreateToolBar (const string &name, wxWindow *parent)=0 |
creates a toolbar with the given name (must be deleted by the caller) More... | |
virtual | ~IToolBarContributor () |
IToolBarContributor - a factory that produces toolbars.
Toolbars can be shared across views, so vie showld implement a method GetCompatibleToolBars( vector<string>& names ) to designate toolbars it handles.
This interface is to be implemented by packages and view factories.
Definition at line 394 of file ui_command.hpp.
|
inlinevirtual |
Definition at line 403 of file ui_command.hpp.
|
pure virtual |
creates a toolbar with the given name (must be deleted by the caller)
Implemented in CFrameworkDemoToolBarFactory, and CProjectViewToolBatFactory.
Referenced by CWindowManagerService::x_ShowToolBar().
|
pure virtual |
returns the names of toolbars produced
Implemented in CFrameworkDemoToolBarFactory, and CProjectViewToolBatFactory.
Referenced by CWindowManagerService::x_ShowToolBar().