NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CBulkMiscFeat Class Reference

Search Toolkit Book for CBulkMiscFeat

#include <gui/packages/pkg_sequence_edit/bulk_miscfeat_edit.hpp>

+ Inheritance diagram for CBulkMiscFeat:
+ Collaboration diagram for CBulkMiscFeat:

Public Member Functions

 CBulkMiscFeat ()
 Constructors. More...
 
 CBulkMiscFeat (wxWindow *parent, objects::CSeq_entry_Handle seh, IWorkbench *workbench, CConstRef< objects::CSeq_submit > seqSubmit, wxWindowID id=wxID_ANY, const wxString &caption=_("Misc Feature Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
 CBulkMiscFeat (wxWindow *parent, const vector< CSeq_feat_Handle > &feat_handles, IWorkbench *workbench=nullptr, wxWindowID id=wxID_ANY, const wxString &caption=_("Misc Feature Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Misc Feature Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CBulkMiscFeat ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnClickOk (wxCommandEvent &event)
 
void OnClickCancel (wxCommandEvent &event)
 
CRef< objects::CSeq_table > GetValuesTableFromSeqEntry ()
 
CRef< CCmdCompositeGetCommandFromValuesTable (CRef< objects::CSeq_table >)
 
string GetErrorMessage ()
 
bool IsReadOnlyColumn (string column_name)
 
int GetCollapsible ()
 
CRef< CCmdCompositeGetCommand ()
 
CRef< objects::CSeq_table > GetChoices (CRef< objects::CSeq_table > values_table)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual const CObjectRowToScopedObjects (int row, TConstScopedObjects &objects, CBioseq_Handle &bsh)
 
- Public Member Functions inherited from CReportEditingDialog
virtual bool Show (bool show=1)
 Report opening events in dialogs used in the editing package. More...
 
- Public Member Functions inherited from CSeqGridTableNav
 CSeqGridTableNav ()
 
virtual ~CSeqGridTableNav ()
 
void NavigateToTextViewPosition (TConstScopedObjects &objects, objects::CBioseq_Handle bsh, const CObject *obj, IWorkbench *workbench)
 
void JumpToTextView (int row)
 
virtual const CObjectRowToScopedObjects (int row, TConstScopedObjects &objects, objects::CBioseq_Handle &bsh)=0
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Private Attributes

wxGrid * m_Grid
 
vector< CSeq_feat_Handlem_FeatHandles
 
CSeqTableGridPanelm_GridPanel
 
bool m_Modified { false }
 
CApplyEditconvertPanelm_AecrPanel
 

Additional Inherited Members

- Protected Attributes inherited from CSeqGridTableNav
IWorkbenchm_Workbench
 
CConstRef< objects::CSeq_submit > m_SeqSubmit
 

Detailed Description

Definition at line 52 of file bulk_miscfeat_edit.hpp.

Constructor & Destructor Documentation

◆ CBulkMiscFeat() [1/3]

CBulkMiscFeat::CBulkMiscFeat ( )

Constructors.

Definition at line 54 of file bulk_miscfeat_edit.cpp.

References Init().

◆ CBulkMiscFeat() [2/3]

CBulkMiscFeat::CBulkMiscFeat ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
IWorkbench workbench,
CConstRef< objects::CSeq_submit >  seqSubmit,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Misc Feature Editing"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ CBulkMiscFeat() [3/3]

CBulkMiscFeat::CBulkMiscFeat ( wxWindow *  parent,
const vector< CSeq_feat_Handle > &  feat_handles,
IWorkbench workbench = nullptr,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Misc Feature Editing"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CBulkMiscFeat()

CBulkMiscFeat::~CBulkMiscFeat ( )
inline

Destructor.

Definition at line 88 of file bulk_miscfeat_edit.hpp.

Member Function Documentation

◆ Create()

bool CBulkMiscFeat::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Misc Feature Editing"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

Definition at line 87 of file bulk_miscfeat_edit.cpp.

References CreateControls(), and ncbi::grid::netcache::search::fields::size.

Referenced by CBulkMiscFeat().

◆ CreateControls()

void CBulkMiscFeat::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CBulkMiscFeat::GetBitmapResource ( const wxString &  name)

Get bitmap resources

Definition at line 362 of file bulk_miscfeat_edit.cpp.

◆ GetChoices()

CRef<objects::CSeq_table> CBulkMiscFeat::GetChoices ( CRef< objects::CSeq_table >  values_table)
inline

Definition at line 113 of file bulk_miscfeat_edit.hpp.

Referenced by CreateControls().

◆ GetCollapsible()

int CBulkMiscFeat::GetCollapsible ( )
inline

Definition at line 109 of file bulk_miscfeat_edit.hpp.

Referenced by CreateControls().

◆ GetCommand()

CRef< CCmdComposite > CBulkMiscFeat::GetCommand ( void  )

◆ GetCommandFromValuesTable()

CRef< CCmdComposite > CBulkMiscFeat::GetCommandFromValuesTable ( CRef< objects::CSeq_table >  )

◆ GetErrorMessage()

string CBulkMiscFeat::GetErrorMessage ( )

◆ GetIconResource()

wxIcon CBulkMiscFeat::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 375 of file bulk_miscfeat_edit.cpp.

◆ GetValuesTableFromSeqEntry()

CRef< CSeq_table > CBulkMiscFeat::GetValuesTableFromSeqEntry ( )

◆ Init()

void CBulkMiscFeat::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 107 of file bulk_miscfeat_edit.cpp.

References m_AecrPanel, m_Grid, and m_GridPanel.

Referenced by CBulkMiscFeat().

◆ IsReadOnlyColumn()

bool CBulkMiscFeat::IsReadOnlyColumn ( string  column_name)
inline

Definition at line 104 of file bulk_miscfeat_edit.hpp.

Referenced by CreateControls().

◆ OnClickCancel()

void CBulkMiscFeat::OnClickCancel ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1

Definition at line 397 of file bulk_miscfeat_edit.cpp.

References _, CApplyEditconvertPanel::GetModified(), CSeqTableGridPanel::GetModified(), m_AecrPanel, and m_GridPanel.

◆ OnClickOk()

void CBulkMiscFeat::OnClickOk ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON

Definition at line 388 of file bulk_miscfeat_edit.cpp.

◆ RowToScopedObjects()

const CObject * CBulkMiscFeat::RowToScopedObjects ( int  row,
TConstScopedObjects objects,
CBioseq_Handle bsh 
)
virtual

◆ ShowToolTips()

bool CBulkMiscFeat::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 353 of file bulk_miscfeat_edit.cpp.

Member Data Documentation

◆ m_AecrPanel

CApplyEditconvertPanel* CBulkMiscFeat::m_AecrPanel
private

Definition at line 133 of file bulk_miscfeat_edit.hpp.

Referenced by CreateControls(), Init(), and OnClickCancel().

◆ m_FeatHandles

vector<CSeq_feat_Handle> CBulkMiscFeat::m_FeatHandles
private

◆ m_Grid

wxGrid* CBulkMiscFeat::m_Grid
private

Definition at line 129 of file bulk_miscfeat_edit.hpp.

Referenced by CreateControls(), and Init().

◆ m_GridPanel

CSeqTableGridPanel* CBulkMiscFeat::m_GridPanel
private

Definition at line 131 of file bulk_miscfeat_edit.hpp.

Referenced by CreateControls(), GetCommand(), Init(), and OnClickCancel().

◆ m_Modified

bool CBulkMiscFeat::m_Modified { false }
private

Definition at line 132 of file bulk_miscfeat_edit.hpp.

Referenced by GetCommandFromValuesTable().


The documentation for this class was generated from the following files:
Modified on Sun Jul 21 04:16:20 2024 by modify_doxy.py rev. 669887