NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <gui/core/project_view_impl.hpp>
#include <gui/core/project_service.hpp>
#include <gui/core/broadcast_vr_change_dlg.hpp>
#include <gui/framework/workbench.hpp>
#include <gui/framework/menu_service.hpp>
#include <gui/objects/PluginMessage.hpp>
#include <gui/widgets/wx/ui_command.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/widgets/wx/popup_event.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/utils/extension_impl.hpp>
#include <gui/objutils/label.hpp>
#include <objmgr/util/sequence.hpp>
#include <gui/utils/command.hpp>
#include <gui/objects/GBWorkspace.hpp>
#include <gui/objects/WorkspaceFolder.hpp>
#include <gui/widgets/wx/message_box.hpp>
#include <wx/window.h>
#include <wx/menu.h>
#include <wx/msgdlg.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (ncbi::objects) | |
EVT_MENU_RANGE (eCmdVisibleRangeBroadcast, eCmdVisibleRangeBroadcast+CVisibleRange::eBasic_Ignore, CProjectViewEvtHandler::OnBroadcastVisibleRange) CProjectViewEvtHandler | |
void | sAddScopedObjectCommands (wxMenu &menu, vector< wxEvtHandler * > &handlers, const string &ext_point_id, TConstScopedObjects &objects, CUICommandRegistry &cmd_reg) |
Helper function for adding commands provided by contributors to the menu. More... | |
void | sAddScopedObjectCommands (wxMenu &menu, vector< wxEvtHandler * > &handlers, ISelectionClient &obj_provider, CUICommandRegistry &cmd_reg) |
A simplified version that adds commands applicable to a ISelectionClient, the contributors are obtained from "scoped_objects::cmd_contributor". More... | |
EVT_MENU_RANGE | ( | eCmdVisibleRangeBroadcast | , |
eCmdVisibleRangeBroadcast+CVisibleRange::eBasic_Ignore | , | ||
CProjectViewEvtHandler::OnBroadcastVisibleRange | |||
) |
Definition at line 77 of file project_view_impl.cpp.
void sAddScopedObjectCommands | ( | wxMenu & | menu, |
vector< wxEvtHandler * > & | handlers, | ||
const string & | ext_point_id, | ||
TConstScopedObjects & | objects, | ||
CUICommandRegistry & | cmd_reg | ||
) |
Helper function for adding commands provided by contributors to the menu.
Definition at line 620 of file project_view_impl.cpp.
References AddCommandsForScopedObjects().
Referenced by sAddScopedObjectCommands(), and CProjectView::x_OnDecoratePopupMenu().
void sAddScopedObjectCommands | ( | wxMenu & | menu, |
vector< wxEvtHandler * > & | handlers, | ||
ISelectionClient & | obj_provider, | ||
CUICommandRegistry & | cmd_reg | ||
) |
A simplified version that adds commands applicable to a ISelectionClient, the contributors are obtained from "scoped_objects::cmd_contributor".
Definition at line 653 of file project_view_impl.cpp.
References ISelectionClient::GetMainObject(), ISelectionClient::GetSelection(), and sAddScopedObjectCommands().
USING_SCOPE | ( | ncbi::objects | ) |