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

Search Toolkit Book for CtRNAFromGene

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

+ Inheritance diagram for CtRNAFromGene:
+ Collaboration diagram for CtRNAFromGene:

Public Member Functions

 CtRNAFromGene ()
 Constructors. More...
 
 CtRNAFromGene (wxWindow *parent, IWorkbench *wb, wxWindowID id=wxID_ANY, const wxString &caption=_("tRNA/rRNA From Gene"), 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=_("tRNA/rRNA From Gene"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 500), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CtRNAFromGene ()
 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 ()
 
virtual string GetErrorMessage ()
 
void OnSelectFeatQual (wxCommandEvent &event)
 
void ProcessUpdateFeatEvent (wxCommandEvent &event)
 
- 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

string GetSuggestedName (CSeq_feat &feat, CRef< CSeq_feat > prot_feat, CSeq_entry_Handle seh)
 
void GetNameFromGene (CSeq_feat &gene, const wxString &sel_str, bool remove, string &name)
 
void UpdateChildrenFeaturePanels (wxSizer *sizer)
 

Private Attributes

string m_ErrorMessage
 
wxChoice * m_FeatureType
 
CStringConstraintPanelm_StringConstraintPanel
 
CFeatureFieldNamePanelm_FeatureConstraint
 
COkCancelPanelm_OkCancel
 
wxCheckBox * m_SingleInterval
 
CCapChangePanelm_CapChangeOptions
 
wxChoice * m_FeatQual
 
wxChoice * m_FeatQual2
 
wxChoice * m_FeatQual3
 
wxStaticText * m_2ndChoice
 
wxStaticText * m_3rdChoice
 
wxTextCtrl * m_StrQual
 
wxCheckBox * m_Remove
 
wxCheckBox * m_Remove2
 
wxCheckBox * m_Remove3
 
bool m_modified
 
bool m_modified_prot
 

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 trna_from_gene.hpp.

Constructor & Destructor Documentation

◆ CtRNAFromGene() [1/2]

CtRNAFromGene::CtRNAFromGene ( )

Constructors.

CtRNAFromGene type definition

CtRNAFromGene event table definition

CtRNAFromGene constructors

Definition at line 83 of file trna_from_gene.cpp.

References Init().

◆ CtRNAFromGene() [2/2]

CtRNAFromGene::CtRNAFromGene ( wxWindow *  parent,
IWorkbench wb,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("tRNA/rRNA From Gene"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 500),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Definition at line 88 of file trna_from_gene.cpp.

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

◆ ~CtRNAFromGene()

CtRNAFromGene::~CtRNAFromGene ( )

Destructor.

CtRNAFromGene destructor

Definition at line 121 of file trna_from_gene.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CtRNAFromGene creator

Definition at line 100 of file trna_from_gene.cpp.

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

Referenced by CtRNAFromGene().

◆ CreateControls()

void CtRNAFromGene::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CtRNAFromGene::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 265 of file trna_from_gene.cpp.

◆ GetCommand()

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

◆ GetErrorMessage()

string CtRNAFromGene::GetErrorMessage ( )
virtual

Implements CBulkCmdDlg.

Definition at line 289 of file trna_from_gene.cpp.

References m_ErrorMessage.

◆ GetIconResource()

wxIcon CtRNAFromGene::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 278 of file trna_from_gene.cpp.

◆ GetNameFromGene()

void CtRNAFromGene::GetNameFromGene ( CSeq_feat gene,
const wxString &  sel_str,
bool  remove,
string name 
)
private

◆ GetSuggestedName()

string CtRNAFromGene::GetSuggestedName ( CSeq_feat feat,
CRef< CSeq_feat prot_feat,
CSeq_entry_Handle  seh 
)
private

◆ Init()

void CtRNAFromGene::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 132 of file trna_from_gene.cpp.

References m_ErrorMessage, m_FeatureType, m_OkCancel, m_SingleInterval, m_StringConstraintPanel, and NULL.

Referenced by CtRNAFromGene().

◆ OnSelectFeatQual()

void CtRNAFromGene::OnSelectFeatQual ( wxCommandEvent &  event)

Definition at line 444 of file trna_from_gene.cpp.

References m_CapChangeOptions, m_FeatQual, m_FeatQual2, m_FeatQual3, m_Remove2, and m_Remove3.

Referenced by CreateControls().

◆ ProcessUpdateFeatEvent()

void CtRNAFromGene::ProcessUpdateFeatEvent ( wxCommandEvent &  event)

Definition at line 587 of file trna_from_gene.cpp.

References UpdateChildrenFeaturePanels().

◆ ShowToolTips()

bool CtRNAFromGene::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 256 of file trna_from_gene.cpp.

◆ UpdateChildrenFeaturePanels()

void CtRNAFromGene::UpdateChildrenFeaturePanels ( wxSizer *  sizer)
private

Member Data Documentation

◆ m_2ndChoice

wxStaticText* CtRNAFromGene::m_2ndChoice
private

Definition at line 134 of file trna_from_gene.hpp.

Referenced by CreateControls().

◆ m_3rdChoice

wxStaticText* CtRNAFromGene::m_3rdChoice
private

Definition at line 135 of file trna_from_gene.hpp.

Referenced by CreateControls().

◆ m_CapChangeOptions

CCapChangePanel* CtRNAFromGene::m_CapChangeOptions
private

Definition at line 130 of file trna_from_gene.hpp.

Referenced by CreateControls(), GetSuggestedName(), and OnSelectFeatQual().

◆ m_ErrorMessage

string CtRNAFromGene::m_ErrorMessage
private

Definition at line 124 of file trna_from_gene.hpp.

Referenced by GetErrorMessage(), and Init().

◆ m_FeatQual

wxChoice* CtRNAFromGene::m_FeatQual
private

Definition at line 131 of file trna_from_gene.hpp.

Referenced by CreateControls(), GetSuggestedName(), and OnSelectFeatQual().

◆ m_FeatQual2

wxChoice* CtRNAFromGene::m_FeatQual2
private

Definition at line 132 of file trna_from_gene.hpp.

Referenced by CreateControls(), GetSuggestedName(), and OnSelectFeatQual().

◆ m_FeatQual3

wxChoice* CtRNAFromGene::m_FeatQual3
private

Definition at line 133 of file trna_from_gene.hpp.

Referenced by CreateControls(), GetSuggestedName(), and OnSelectFeatQual().

◆ m_FeatureConstraint

CFeatureFieldNamePanel* CtRNAFromGene::m_FeatureConstraint
private

Definition at line 127 of file trna_from_gene.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_FeatureType

wxChoice* CtRNAFromGene::m_FeatureType
private

Definition at line 125 of file trna_from_gene.hpp.

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

◆ m_modified

bool CtRNAFromGene::m_modified
private

Definition at line 140 of file trna_from_gene.hpp.

Referenced by GetCommand(), and GetNameFromGene().

◆ m_modified_prot

bool CtRNAFromGene::m_modified_prot
private

Definition at line 141 of file trna_from_gene.hpp.

Referenced by GetCommand().

◆ m_OkCancel

COkCancelPanel* CtRNAFromGene::m_OkCancel
private

Definition at line 128 of file trna_from_gene.hpp.

Referenced by CreateControls(), and Init().

◆ m_Remove

wxCheckBox* CtRNAFromGene::m_Remove
private

Definition at line 137 of file trna_from_gene.hpp.

Referenced by CreateControls(), and GetSuggestedName().

◆ m_Remove2

wxCheckBox* CtRNAFromGene::m_Remove2
private

Definition at line 138 of file trna_from_gene.hpp.

Referenced by CreateControls(), GetSuggestedName(), and OnSelectFeatQual().

◆ m_Remove3

wxCheckBox* CtRNAFromGene::m_Remove3
private

Definition at line 139 of file trna_from_gene.hpp.

Referenced by CreateControls(), GetSuggestedName(), and OnSelectFeatQual().

◆ m_SingleInterval

wxCheckBox* CtRNAFromGene::m_SingleInterval
private

Definition at line 129 of file trna_from_gene.hpp.

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

◆ m_StringConstraintPanel

CStringConstraintPanel* CtRNAFromGene::m_StringConstraintPanel
private

Definition at line 126 of file trna_from_gene.hpp.

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

◆ m_StrQual

wxTextCtrl* CtRNAFromGene::m_StrQual
private

Definition at line 136 of file trna_from_gene.hpp.

Referenced by CreateControls(), and GetSuggestedName().


The documentation for this class was generated from the following files:
Modified on Tue May 21 10:55:21 2024 by modify_doxy.py rev. 669887