NCBI C++ ToolKit
Functions
object_contrib.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/data/object_contrib.hpp>
#include <gui/widgets/wx/ui_command.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/utils/extension_impl.hpp>
#include <wx/menu.h>
#include <wx/event.h>
+ Include dependency graph for object_contrib.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

void AddCommandsForScopedObjects (wxMenu &aMenu, vector< wxEvtHandler * > &handlers, const string &anExtPointId, TConstScopedObjects &objects, CUICommandRegistry *aCmdReg)
 Helper function for adding commands provided by contributors to the menu. More...
 
wxMenu * CreateContextMenuBackbone ()
 

Function Documentation

◆ AddCommandsForScopedObjects()

void AddCommandsForScopedObjects ( wxMenu &  aMenu,
vector< wxEvtHandler * > &  handlers,
const string anExtPointId,
TConstScopedObjects objects,
CUICommandRegistry aCmdReg 
)

Helper function for adding commands provided by contributors to the menu.

Definition at line 46 of file object_contrib.cpp.

References GetExtensionAsInterface(), CUICommandRegistry::GetInstance(), IObjectCmdContributor::GetMenu(), i, Merge(), and NULL.

Referenced by CObjectListWidget::AppendMenuItems(), CTextItemPanel::OnContextMenu(), and sAddScopedObjectCommands().

◆ CreateContextMenuBackbone()

wxMenu* CreateContextMenuBackbone ( )
Modified on Sat Apr 13 11:44:19 2024 by modify_doxy.py rev. 669887