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

Search Toolkit Book for CExonFromCds

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

+ Inheritance diagram for CExonFromCds:
+ Collaboration diagram for CExonFromCds:

Public Member Functions

 CExonFromCds ()
 Constructors. More...
 
 CExonFromCds (wxWindow *parent, IWorkbench *wb, CSeqFeatData::ESubtype subtype, const string &title, wxWindowID id=wxID_ANY, const wxString &caption=_("Exon From CDS"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 500), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Exon From CDS"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 500), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CExonFromCds ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void ProcessUpdateFeatEvent (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual CRef< CCmdCompositeGetCommand ()
 
virtual string GetErrorMessage ()
 
- Public Member Functions inherited from CBulkCmdDlg
 CBulkCmdDlg ()
 Constructors. More...
 
 CBulkCmdDlg (IWorkbench *wb)
 
bool Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 
bool Create (wxWindow *parent, IWorkbench *wb, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 
 ~CBulkCmdDlg ()
 Destructor. More...
 
virtual void OnChildChange (wxWindow *wnd)
 
virtual void ExecuteCmd (CRef< CCmdComposite > cmd)
 
bool GetTopLevelSeqEntryAndProcessor ()
 
TConstScopedObjects GetSelectedObjects ()
 
void UpdateChildrenFeaturePanels (wxSizer *sizer)
 
void onCancelPressed (wxCommandEvent &event)
 

Static Public Member Functions

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

Private Member Functions

void AddIntron (CSeq_entry_Handle seh, CRef< CCmdComposite > cmd, int intron_start, int intron_stop, bool intron_fuzz_start, bool intron_fuzz_stop, CRef< CSeq_id > id, TSeqPos seq_length, int exon_number, bool minus_strand)
 

Private Attributes

string m_ErrorMessage
 
CStringConstraintPanelm_StringConstraintPanel
 
COkCancelPanelm_OkCancel
 
wxCheckBox * m_Introns
 
wxTextCtrl * m_Number
 
int m_ExonNum
 
CFieldChoicePanelm_FieldType
 
CSeqFeatData::ESubtype m_Type
 
string m_Title
 

Additional Inherited Members

- Protected Member Functions inherited from CBulkCmdDlg
edit::EExistingText x_GetExistingTextHandling (int num_conflicts, bool allow_multiple=false)
 
- Protected Attributes inherited from CBulkCmdDlg
IWorkbenchm_Workbench
 
ICommandProccessorm_CmdProccessor
 
objects::CSeq_entry_Handle m_TopSeqEntry
 
CConstRef< objects::CSeq_submit > m_SeqSubmit
 
string m_ErrorMessage
 

Detailed Description

Definition at line 84 of file exon_from_cds.hpp.

Constructor & Destructor Documentation

◆ CExonFromCds() [1/2]

CExonFromCds::CExonFromCds ( )

Constructors.

CExonFromCds type definition

CExonFromCds event table definition

CExonFromCds constructors

Definition at line 85 of file exon_from_cds.cpp.

References Init().

◆ CExonFromCds() [2/2]

CExonFromCds::CExonFromCds ( wxWindow *  parent,
IWorkbench wb,
CSeqFeatData::ESubtype  subtype,
const string title,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Exon From CDS"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 500),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CExonFromCds()

CExonFromCds::~CExonFromCds ( )

Destructor.

CExonFromCds destructor

Definition at line 123 of file exon_from_cds.cpp.

Member Function Documentation

◆ AddIntron()

void CExonFromCds::AddIntron ( CSeq_entry_Handle  seh,
CRef< CCmdComposite cmd,
int  intron_start,
int  intron_stop,
bool  intron_fuzz_start,
bool  intron_fuzz_stop,
CRef< CSeq_id id,
TSeqPos  seq_length,
int  exon_number,
bool  minus_strand 
)
private

◆ Create()

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

Creation.

CExonFromCds creator

Definition at line 102 of file exon_from_cds.cpp.

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

Referenced by CExonFromCds().

◆ CreateControls()

void CExonFromCds::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CExonFromCds::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 214 of file exon_from_cds.cpp.

◆ GetCommand()

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

◆ GetErrorMessage()

string CExonFromCds::GetErrorMessage ( )
virtual

Implements CBulkCmdDlg.

Definition at line 238 of file exon_from_cds.cpp.

References m_ErrorMessage.

◆ GetIconResource()

wxIcon CExonFromCds::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 227 of file exon_from_cds.cpp.

◆ Init()

void CExonFromCds::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 134 of file exon_from_cds.cpp.

References m_ErrorMessage, m_OkCancel, m_StringConstraintPanel, and NULL.

Referenced by CExonFromCds().

◆ ProcessUpdateFeatEvent()

void CExonFromCds::ProcessUpdateFeatEvent ( wxCommandEvent &  event)

◆ ShowToolTips()

bool CExonFromCds::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 205 of file exon_from_cds.cpp.

Member Data Documentation

◆ m_ErrorMessage

string CExonFromCds::m_ErrorMessage
private

Definition at line 124 of file exon_from_cds.hpp.

Referenced by GetErrorMessage(), and Init().

◆ m_ExonNum

int CExonFromCds::m_ExonNum
private

Definition at line 129 of file exon_from_cds.hpp.

◆ m_FieldType

CFieldChoicePanel* CExonFromCds::m_FieldType
private

Definition at line 130 of file exon_from_cds.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_Introns

wxCheckBox* CExonFromCds::m_Introns
private

Definition at line 127 of file exon_from_cds.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_Number

wxTextCtrl* CExonFromCds::m_Number
private

Definition at line 128 of file exon_from_cds.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_OkCancel

COkCancelPanel* CExonFromCds::m_OkCancel
private

Definition at line 126 of file exon_from_cds.hpp.

Referenced by CreateControls(), and Init().

◆ m_StringConstraintPanel

CStringConstraintPanel* CExonFromCds::m_StringConstraintPanel
private

Definition at line 125 of file exon_from_cds.hpp.

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

◆ m_Title

string CExonFromCds::m_Title
private

Definition at line 132 of file exon_from_cds.hpp.

Referenced by CExonFromCds(), and GetCommand().

◆ m_Type

CSeqFeatData::ESubtype CExonFromCds::m_Type
private

Definition at line 131 of file exon_from_cds.hpp.

Referenced by GetCommand().


The documentation for this class was generated from the following files:
Modified on Thu May 02 14:28:52 2024 by modify_doxy.py rev. 669887