NCBI C++ ToolKit
Static Public Attributes | Protected Member Functions | List of all members
CProjectViewToolBatFactory Class Reference

Search Toolkit Book for CProjectViewToolBatFactory

CProjectViewToolBatFactory - provides standard toolbars for Project Views. More...

#include <gui/core/project_view_base_impl.hpp>

+ Inheritance diagram for CProjectViewToolBatFactory:
+ Collaboration diagram for CProjectViewToolBatFactory:

Public Member Functions

IToolBarContributor implementation
virtual void GetToolBarNames (vector< string > &names)
 returns the names of toolbars produced More...
 
virtual wxAuiToolBar * CreateToolBar (const string &name, wxWindow *parent)
 creates a toolbar with the given name (must be deleted by the caller) More...
 
- Public Member Functions inherited from IToolBarContributor
virtual ~IToolBarContributor ()
 

Static Public Attributes

static const string sm_NavTBName
 CProjectViewToolBatFactory. More...
 
static const string sm_SelTBName
 

Protected Member Functions

wxAuiToolBar * x_CreateNavigationToolbar (wxWindow *parent)
 
wxAuiToolBar * x_CreateSelectionToolbar (wxWindow *parent)
 

Detailed Description

CProjectViewToolBatFactory - provides standard toolbars for Project Views.

Definition at line 204 of file project_view_base_impl.hpp.

Member Function Documentation

◆ CreateToolBar()

wxAuiToolBar * CProjectViewToolBatFactory::CreateToolBar ( const string name,
wxWindow *  parent 
)
virtual

creates a toolbar with the given name (must be deleted by the caller)

Implements IToolBarContributor.

Definition at line 747 of file project_view_base_impl.cpp.

References NULL, sm_NavTBName, sm_SelTBName, x_CreateNavigationToolbar(), and x_CreateSelectionToolbar().

◆ GetToolBarNames()

void CProjectViewToolBatFactory::GetToolBarNames ( vector< string > &  names)
virtual

returns the names of toolbars produced

Implements IToolBarContributor.

Definition at line 740 of file project_view_base_impl.cpp.

References names, sm_NavTBName, and sm_SelTBName.

◆ x_CreateNavigationToolbar()

wxAuiToolBar * CProjectViewToolBatFactory::x_CreateNavigationToolbar ( wxWindow *  parent)
protected

◆ x_CreateSelectionToolbar()

wxAuiToolBar * CProjectViewToolBatFactory::x_CreateSelectionToolbar ( wxWindow *  parent)
protected

Member Data Documentation

◆ sm_NavTBName

const string CProjectViewToolBatFactory::sm_NavTBName
static

◆ sm_SelTBName

const string CProjectViewToolBatFactory::sm_SelTBName
static

The documentation for this class was generated from the following files:
Modified on Tue May 21 10:53:53 2024 by modify_doxy.py rev. 669887