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

Search Toolkit Book for CEditSeqId

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

+ Inheritance diagram for CEditSeqId:
+ Collaboration diagram for CEditSeqId:

Public Member Functions

 CEditSeqId ()
 Constructors. More...
 
 CEditSeqId (wxWindow *parent, objects::CSeq_entry_Handle seh, wxWindowID id=10420, const wxString &caption=_("Edit Sequence Id"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10420, const wxString &caption=_("Edit Sequence Id"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
virtual ~CEditSeqId ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual CRef< CCmdCompositeGetCommand (void)
 
CRef< CCmdCompositeGetRemoveOriginalIdCommand (void)
 
- 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 CModifySeqId
 CModifySeqId ()
 
 CModifySeqId (objects::CSeq_entry_Handle seh, const string &name)
 
virtual ~CModifySeqId ()
 

Static Public Member Functions

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

Private Member Functions

void x_CollectChangedIds (void)
 

Private Attributes

wxRadioButton * m_Local
 
wxRadioButton * m_GeneralDb
 
wxRadioButton * m_GeneralTag
 
wxTextCtrl * m_Prefix
 
wxTextCtrl * m_Suffix
 
wxRadioButton * m_Any
 
wxRadioButton * m_Nuc
 
wxRadioButton * m_DNA
 
wxRadioButton * m_RNA
 
wxRadioButton * m_Proteins
 
CStringConstraintPanelm_StringConstraintPanel
 
CParseTextOptionsDlgm_ParseOptions
 
wxCheckBox * m_RemoveOrig
 

Additional Inherited Members

- Protected Member Functions inherited from CModifySeqId
void x_ChangeId (objects::CSeq_id &id)
 
virtual void x_UpdateBioseq (CRef< CBioseq > new_seq)
 
void x_GetRemoveOriginalIdCommand (CRef< CCmdComposite > cmd)
 
void x_UpdateSeqAnnot (objects::CSeq_annot &annot)
 
void x_UpdateSeqAlign (objects::CSeq_align &align)
 
void x_UpdateLoc (objects::CSeq_loc &loc)
 
void x_UpdateFeat (objects::CSeq_feat &feat)
 
void x_UpdateVariation (objects::CVariation_ref &var)
 
- Protected Attributes inherited from CModifySeqId
objects::CSeq_entry_Handle m_TopSeqEntry
 
vector< pair< CConstRef< CSeq_id >, CRef< CSeq_id > > > m_old_to_new_id
 
string m_cmd_name
 
set< stringm_remove_ids
 

Detailed Description

Definition at line 106 of file edit_seq_id.hpp.

Constructor & Destructor Documentation

◆ CEditSeqId() [1/2]

CEditSeqId::CEditSeqId ( )

Constructors.

CEditSeqId type definition

CEditSeqId event table definition

CEditSeqId constructors

Definition at line 96 of file edit_seq_id.cpp.

References Init().

◆ CEditSeqId() [2/2]

CEditSeqId::CEditSeqId ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
wxWindowID  id = 10420,
const wxString &  caption = _("Edit Sequence Id"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CEditSeqId()

CEditSeqId::~CEditSeqId ( )
virtual

Destructor.

CEditSeqId destructor

Definition at line 134 of file edit_seq_id.cpp.

Member Function Documentation

◆ Create()

bool CEditSeqId::Create ( wxWindow *  parent,
wxWindowID  id = 10420,
const wxString &  caption = _("Edit Sequence Id"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

CEditSeqId creator

Definition at line 113 of file edit_seq_id.cpp.

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

◆ CreateControls()

void CEditSeqId::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CEditSeqId::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 270 of file edit_seq_id.cpp.

◆ GetCommand()

CRef< CCmdComposite > CEditSeqId::GetCommand ( void  )
virtual

Reimplemented from CModifySeqId.

Definition at line 376 of file edit_seq_id.cpp.

References CModifySeqId::GetCommand(), and x_CollectChangedIds().

Referenced by CSequenceEditingEventHandler::EditSeqId().

◆ GetIconResource()

wxIcon CEditSeqId::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 283 of file edit_seq_id.cpp.

◆ GetRemoveOriginalIdCommand()

CRef< CCmdComposite > CEditSeqId::GetRemoveOriginalIdCommand ( void  )

◆ Init()

void CEditSeqId::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 145 of file edit_seq_id.cpp.

References m_RemoveOrig, and NULL.

◆ ShowToolTips()

bool CEditSeqId::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 261 of file edit_seq_id.cpp.

◆ x_CollectChangedIds()

void CEditSeqId::x_CollectChangedIds ( void  )
private

Member Data Documentation

◆ m_Any

wxRadioButton* CEditSeqId::m_Any
private

Definition at line 154 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_DNA

wxRadioButton* CEditSeqId::m_DNA
private

Definition at line 156 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_GeneralDb

wxRadioButton* CEditSeqId::m_GeneralDb
private

Definition at line 150 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_GeneralTag

wxRadioButton* CEditSeqId::m_GeneralTag
private

Definition at line 151 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_Local

wxRadioButton* CEditSeqId::m_Local
private

Definition at line 149 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_Nuc

wxRadioButton* CEditSeqId::m_Nuc
private

Definition at line 155 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_ParseOptions

CParseTextOptionsDlg* CEditSeqId::m_ParseOptions
private

Definition at line 160 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_Prefix

wxTextCtrl* CEditSeqId::m_Prefix
private

Definition at line 152 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_Proteins

wxRadioButton* CEditSeqId::m_Proteins
private

Definition at line 158 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_RemoveOrig

wxCheckBox* CEditSeqId::m_RemoveOrig
private

Definition at line 161 of file edit_seq_id.hpp.

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

◆ m_RNA

wxRadioButton* CEditSeqId::m_RNA
private

Definition at line 157 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_StringConstraintPanel

CStringConstraintPanel* CEditSeqId::m_StringConstraintPanel
private

Definition at line 159 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().

◆ m_Suffix

wxTextCtrl* CEditSeqId::m_Suffix
private

Definition at line 153 of file edit_seq_id.hpp.

Referenced by CreateControls(), and x_CollectChangedIds().


The documentation for this class was generated from the following files:
Modified on Tue Jun 18 13:36:45 2024 by modify_doxy.py rev. 669887