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

Search Toolkit Book for CBulkCDS

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

+ Inheritance diagram for CBulkCDS:
+ Collaboration diagram for CBulkCDS:

Public Member Functions

 CBulkCDS ()
 Constructors. More...
 
 CBulkCDS (wxWindow *parent, objects::CSeq_entry_Handle seh, IWorkbench *workbench, CConstRef< objects::CSeq_submit > seqSubmit, wxWindowID id=wxID_ANY, const wxString &caption=_("CDS Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
 CBulkCDS (wxWindow *parent, const vector< CSeq_feat_Handle > &feat_handles, IWorkbench *workbench=NULL, wxWindowID id=wxID_ANY, const wxString &caption=_("CDS 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=_("CDS Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CBulkCDS ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
CRef< objects::CSeq_table > GetValuesTableFromSeqEntry ()
 
CRef< CCmdCompositeGetCommandFromValuesTable (CRef< objects::CSeq_table >)
 
CRef< CCmdCompositeGetCommand ()
 
CRef< objects::CSeq_table > GetChoices (CRef< objects::CSeq_table > values_table)
 
int GetCollapsible ()
 
string GetErrorMessage ()
 
bool IsReadOnlyColumn (string column_name)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void OnClickOk (wxCommandEvent &event)
 
void OnClickCancel (wxCommandEvent &event)
 
virtual const CObjectRowToScopedObjects (int row, TConstScopedObjects &objects, CBioseq_Handle &bsh)
 
void GetUpdateMRNAProductNameCmd (CRef< CSeq_feat > cds, CScope &scope, const string &prot_name, CRef< CCmdComposite > composite)
 
- 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
 
CStringConstraintSelectm_StringConstraintPanel
 
bool m_Modified
 
CApplyEditconvertPanelm_AecrPanel
 
wxCheckBox * m_CopyProtNameToComment
 

Additional Inherited Members

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

Detailed Description

Definition at line 49 of file bulk_cds_edit.hpp.

Constructor & Destructor Documentation

◆ CBulkCDS() [1/3]

CBulkCDS::CBulkCDS ( )

Constructors.

Definition at line 64 of file bulk_cds_edit.cpp.

References Init().

◆ CBulkCDS() [2/3]

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

◆ CBulkCDS() [3/3]

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

◆ ~CBulkCDS()

CBulkCDS::~CBulkCDS ( )

Destructor.

Definition at line 110 of file bulk_cds_edit.cpp.

Member Function Documentation

◆ Create()

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

Creation.

Definition at line 94 of file bulk_cds_edit.cpp.

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

Referenced by CBulkCDS().

◆ CreateControls()

void CBulkCDS::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CBulkCDS::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 664 of file bulk_cds_edit.cpp.

◆ GetChoices()

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

Definition at line 78 of file bulk_cds_edit.hpp.

Referenced by CreateControls().

◆ GetCollapsible()

int CBulkCDS::GetCollapsible ( )
inline

Definition at line 79 of file bulk_cds_edit.hpp.

Referenced by CreateControls().

◆ GetCommand()

CRef< CCmdComposite > CBulkCDS::GetCommand ( void  )

◆ GetCommandFromValuesTable()

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

◆ GetErrorMessage()

string CBulkCDS::GetErrorMessage ( )

◆ GetIconResource()

wxIcon CBulkCDS::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 677 of file bulk_cds_edit.cpp.

◆ GetUpdateMRNAProductNameCmd()

void CBulkCDS::GetUpdateMRNAProductNameCmd ( CRef< CSeq_feat cds,
CScope scope,
const string prot_name,
CRef< CCmdComposite composite 
)

◆ GetValuesTableFromSeqEntry()

CRef< objects::CSeq_table > CBulkCDS::GetValuesTableFromSeqEntry ( )

◆ Init()

void CBulkCDS::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 119 of file bulk_cds_edit.cpp.

References m_Grid, and NULL.

Referenced by CBulkCDS().

◆ IsReadOnlyColumn()

bool CBulkCDS::IsReadOnlyColumn ( string  column_name)
inline

Definition at line 82 of file bulk_cds_edit.hpp.

Referenced by CreateControls().

◆ OnClickCancel()

void CBulkCDS::OnClickCancel ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1

Definition at line 702 of file bulk_cds_edit.cpp.

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

◆ OnClickOk()

void CBulkCDS::OnClickOk ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON

Definition at line 690 of file bulk_cds_edit.cpp.

◆ RowToScopedObjects()

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

◆ ShowToolTips()

bool CBulkCDS::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 655 of file bulk_cds_edit.cpp.

Member Data Documentation

◆ m_AecrPanel

CApplyEditconvertPanel* CBulkCDS::m_AecrPanel
private

Definition at line 102 of file bulk_cds_edit.hpp.

Referenced by CreateControls(), and OnClickCancel().

◆ m_CopyProtNameToComment

wxCheckBox* CBulkCDS::m_CopyProtNameToComment
private

Definition at line 103 of file bulk_cds_edit.hpp.

Referenced by CreateControls(), and GetCommandFromValuesTable().

◆ m_FeatHandles

vector<CSeq_feat_Handle> CBulkCDS::m_FeatHandles
private

◆ m_Grid

wxGrid* CBulkCDS::m_Grid
private

Definition at line 97 of file bulk_cds_edit.hpp.

Referenced by CreateControls(), and Init().

◆ m_GridPanel

CSeqTableGridPanel* CBulkCDS::m_GridPanel
private

Definition at line 99 of file bulk_cds_edit.hpp.

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

◆ m_Modified

bool CBulkCDS::m_Modified
private

Definition at line 101 of file bulk_cds_edit.hpp.

Referenced by GetCommandFromValuesTable().

◆ m_StringConstraintPanel

CStringConstraintSelect* CBulkCDS::m_StringConstraintPanel
private

Definition at line 100 of file bulk_cds_edit.hpp.

Referenced by CreateControls().


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