NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
IExplorerItemCmdContributor Class Referenceabstract

Search Toolkit Book for IExplorerItemCmdContributor

IExplorerItemCmdContributor - interface representing a component that contributes commands applicable to Explorer Items. More...

#include <gui/core/pt_item.hpp>

+ Inheritance diagram for IExplorerItemCmdContributor:

Public Types

typedef pair< wxMenu *, wxEvtHandler * > TContribution
 Contribution consists of a Menu object and event handler. More...
 

Public Member Functions

virtual TContribution GetMenu (wxTreeCtrl &treeCtrl, PT::TItems &items)=0
 for the given set of items returns a contribution More...
 
virtual ~IExplorerItemCmdContributor ()
 

Detailed Description

IExplorerItemCmdContributor - interface representing a component that contributes commands applicable to Explorer Items.

Definition at line 148 of file pt_item.hpp.

Member Typedef Documentation

◆ TContribution

typedef pair<wxMenu*, wxEvtHandler*> IExplorerItemCmdContributor::TContribution

Contribution consists of a Menu object and event handler.

Definition at line 152 of file pt_item.hpp.

Constructor & Destructor Documentation

◆ ~IExplorerItemCmdContributor()

virtual IExplorerItemCmdContributor::~IExplorerItemCmdContributor ( )
inlinevirtual

Definition at line 157 of file pt_item.hpp.

Member Function Documentation

◆ GetMenu()

virtual TContribution IExplorerItemCmdContributor::GetMenu ( wxTreeCtrl &  treeCtrl,
PT::TItems items 
)
pure virtual

for the given set of items returns a contribution

Implemented in CGenBankUIDataSource, CBamUIDataSource, CNetBLASTUIDataSource, and CLBLASTUIDataSource.

Referenced by CProjectTreePanel::OnContextMenu().


The documentation for this class was generated from the following file:
Modified on Mon Feb 26 04:04:20 2024 by modify_doxy.py rev. 669887