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

Search Toolkit Book for IUICommandContributor

IUICommandContributor - contributes commands to the common command space. More...

#include <gui/widgets/wx/ui_command.hpp>

+ Inheritance diagram for IUICommandContributor:

Public Member Functions

virtual vector< CUICommand * > GetCommands ()=0
 returns a vector of commands (takes ownership over CUICommand pointers) More...
 
virtual wxEvtHandler * GetEventHandler ()
 returns a handler which processes commands from the set above not needed for views More...
 
virtual ~IUICommandContributor ()
 

Detailed Description

IUICommandContributor - contributes commands to the common command space.

Packages can declare their own set of commands to use inside package-related views. Views (factories, actually) can declare their command sets also.

This interface is to be implemented by packages and view factories.

Definition at line 350 of file ui_command.hpp.

Constructor & Destructor Documentation

◆ ~IUICommandContributor()

virtual IUICommandContributor::~IUICommandContributor ( )
inlinevirtual

Definition at line 360 of file ui_command.hpp.

Member Function Documentation

◆ GetCommands()

virtual vector<CUICommand*> IUICommandContributor::GetCommands ( )
pure virtual

returns a vector of commands (takes ownership over CUICommand pointers)

Implemented in CSeqEditPackage, and CVcfTableViewFactory.

Referenced by CViewManagerService::RegisterFactory().

◆ GetEventHandler()

virtual wxEvtHandler* IUICommandContributor::GetEventHandler ( )
inlinevirtual

returns a handler which processes commands from the set above not needed for views

Reimplemented in CSeqEditPackage.

Definition at line 358 of file ui_command.hpp.

References NULL.


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:27 2024 by modify_doxy.py rev. 669887