NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | List of all members
IMenuContributor Class Reference

Search Toolkit Book for IMenuContributor

IMenuContributor - contributes menu to Menu Service. More...

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

+ Inheritance diagram for IMenuContributor:

Public Member Functions

virtual const wxMenu * GetMenu ()
 returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contribs" More...
 
virtual ~IMenuContributor ()
 

Protected Member Functions

virtual const SwxMenuItemRecGetMenuDef () const
 simpler way to provide a static menu using macros defined earlier in this file More...
 

Detailed Description

IMenuContributor - contributes menu to Menu Service.

Objects such as Views can declare extension points that will be be extended by classes implementing IMenuContributor.

This interface is to be implemented by packages and views.

Definition at line 370 of file ui_command.hpp.

Constructor & Destructor Documentation

◆ ~IMenuContributor()

virtual IMenuContributor::~IMenuContributor ( )
inlinevirtual

Definition at line 379 of file ui_command.hpp.

Member Function Documentation

◆ GetMenu()

virtual const wxMenu* IMenuContributor::GetMenu ( )
inlinevirtual

◆ GetMenuDef()

virtual const SwxMenuItemRec* IMenuContributor::GetMenuDef ( ) const
inlineprotectedvirtual

simpler way to provide a static menu using macros defined earlier in this file

Reimplemented in CSeqEditPackage, CAlignPackage, CBioseqEditor, and CMultiAlignView.

Definition at line 384 of file ui_command.hpp.

References NULL.

Referenced by CProjectViewBase::GetMenu(), and GetMenu().


The documentation for this class was generated from the following file:
Modified on Wed Feb 28 07:11:49 2024 by modify_doxy.py rev. 669887