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

Search Toolkit Book for CConvertCdsToMiscFeat

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

+ Inheritance diagram for CConvertCdsToMiscFeat:
+ Collaboration diagram for CConvertCdsToMiscFeat:

Public Member Functions

 CConvertCdsToMiscFeat ()
 Constructors. More...
 
 CConvertCdsToMiscFeat (wxWindow *parent, IWorkbench *wb, wxWindowID id=10147, const wxString &caption=_("Convert CDS to Misc Features"), 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=10147, const wxString &caption=_("Convert CDS to Misc Features"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CConvertCdsToMiscFeat ()
 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...
 
void OnChoiceChanged (wxCommandEvent &event)
 
void OnConditionChanged (wxCommandEvent &event)
 
virtual CRef< CCmdCompositeGetCommand ()
 
virtual string GetErrorMessage ()
 
void ApplyToAllAndDie (bool similar, bool nonfunctional, bool unverified)
 
- 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...
 

Protected Member Functions

void x_SetOptions ()
 
void DetectStartStopCodons (const CSeq_feat *f, bool &stop_codon_present, bool &bad_start_codon, bool &bad_stop_codon)
 
- Protected Member Functions inherited from CBulkCmdDlg
edit::EExistingText x_GetExistingTextHandling (int num_conflicts, bool allow_multiple=false)
 

Protected Attributes

CRef< CConvertFeatureBasem_Converter
 
- Protected Attributes inherited from CBulkCmdDlg
IWorkbenchm_Workbench
 
ICommandProccessorm_CmdProccessor
 
objects::CSeq_entry_Handle m_TopSeqEntry
 
CConstRef< objects::CSeq_submit > m_SeqSubmit
 
string m_ErrorMessage
 

Private Attributes

wxFlexGridSizer * m_OptionsSizer
 
wxCheckBox * m_LeaveOriginal
 
wxCheckBox * m_AddUnverified
 
wxCheckBox * m_InternalStop
 
wxCheckBox * m_BadStart
 
wxCheckBox * m_BadStop
 
wxCheckBox * m_IsPseudo
 
CConstraintPanelm_Constraint
 
COkCancelPanelm_OkCancel
 
wxRadioButton * m_RadioButton
 
wxRadioButton * m_RadioWhere
 
wxRadioButton * m_RadioAnd
 
wxRadioButton * m_RadioOr
 
wxRadioButton * m_RadioSimilar
 
wxRadioButton * m_RadioNonfunctional
 

Detailed Description

CConvertFeatDlg class declaration

Definition at line 83 of file convert_cds_to_misc_feat.hpp.

Constructor & Destructor Documentation

◆ CConvertCdsToMiscFeat() [1/2]

CConvertCdsToMiscFeat::CConvertCdsToMiscFeat ( )

Constructors.

CConvertCdsToMiscFeat type definition

CConvertCdsToMiscFeat event table definition

CConvertCdsToMiscFeat constructors

Definition at line 81 of file convert_cds_to_misc_feat.cpp.

References Init().

◆ CConvertCdsToMiscFeat() [2/2]

CConvertCdsToMiscFeat::CConvertCdsToMiscFeat ( wxWindow *  parent,
IWorkbench wb,
wxWindowID  id = 10147,
const wxString &  caption = _("Convert CDS to Misc Features"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CConvertCdsToMiscFeat()

CConvertCdsToMiscFeat::~CConvertCdsToMiscFeat ( )

Destructor.

CConvertCdsToMiscFeat destructor

Definition at line 119 of file convert_cds_to_misc_feat.cpp.

Member Function Documentation

◆ ApplyToAllAndDie()

void CConvertCdsToMiscFeat::ApplyToAllAndDie ( bool  similar,
bool  nonfunctional,
bool  unverified 
)

◆ Create()

bool CConvertCdsToMiscFeat::Create ( wxWindow *  parent,
wxWindowID  id = 10147,
const wxString &  caption = _("Convert CDS to Misc Features"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CConvertCdsToMiscFeat::CreateControls ( )

◆ DetectStartStopCodons()

void CConvertCdsToMiscFeat::DetectStartStopCodons ( const CSeq_feat f,
bool stop_codon_present,
bool bad_start_codon,
bool bad_stop_codon 
)
protected

◆ GetBitmapResource()

wxBitmap CConvertCdsToMiscFeat::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 306 of file convert_cds_to_misc_feat.cpp.

◆ GetCommand()

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

◆ GetErrorMessage()

string CConvertCdsToMiscFeat::GetErrorMessage ( )
virtual

Implements CBulkCmdDlg.

Definition at line 477 of file convert_cds_to_misc_feat.cpp.

References CBulkCmdDlg::m_ErrorMessage.

◆ GetIconResource()

wxIcon CConvertCdsToMiscFeat::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 319 of file convert_cds_to_misc_feat.cpp.

◆ Init()

void CConvertCdsToMiscFeat::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 130 of file convert_cds_to_misc_feat.cpp.

References m_Constraint, m_LeaveOriginal, m_OkCancel, m_OptionsSizer, and NULL.

Referenced by CConvertCdsToMiscFeat().

◆ OnChoiceChanged()

void CConvertCdsToMiscFeat::OnChoiceChanged ( wxCommandEvent &  event)

◆ OnConditionChanged()

void CConvertCdsToMiscFeat::OnConditionChanged ( wxCommandEvent &  event)

◆ ProcessUpdateFeatEvent()

void CConvertCdsToMiscFeat::ProcessUpdateFeatEvent ( wxCommandEvent &  event)

◆ ShowToolTips()

bool CConvertCdsToMiscFeat::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 297 of file convert_cds_to_misc_feat.cpp.

◆ x_SetOptions()

void CConvertCdsToMiscFeat::x_SetOptions ( )
protected

Member Data Documentation

◆ m_AddUnverified

wxCheckBox* CConvertCdsToMiscFeat::m_AddUnverified
private

Definition at line 140 of file convert_cds_to_misc_feat.hpp.

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

◆ m_BadStart

wxCheckBox* CConvertCdsToMiscFeat::m_BadStart
private

◆ m_BadStop

wxCheckBox* CConvertCdsToMiscFeat::m_BadStop
private

◆ m_Constraint

CConstraintPanel* CConvertCdsToMiscFeat::m_Constraint
private

Definition at line 145 of file convert_cds_to_misc_feat.hpp.

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

◆ m_Converter

CRef<CConvertFeatureBase> CConvertCdsToMiscFeat::m_Converter
protected

◆ m_InternalStop

wxCheckBox* CConvertCdsToMiscFeat::m_InternalStop
private

◆ m_IsPseudo

wxCheckBox* CConvertCdsToMiscFeat::m_IsPseudo
private

◆ m_LeaveOriginal

wxCheckBox* CConvertCdsToMiscFeat::m_LeaveOriginal
private

Definition at line 139 of file convert_cds_to_misc_feat.hpp.

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

◆ m_OkCancel

COkCancelPanel* CConvertCdsToMiscFeat::m_OkCancel
private

Definition at line 146 of file convert_cds_to_misc_feat.hpp.

Referenced by CreateControls(), and Init().

◆ m_OptionsSizer

wxFlexGridSizer* CConvertCdsToMiscFeat::m_OptionsSizer
private

Definition at line 138 of file convert_cds_to_misc_feat.hpp.

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

◆ m_RadioAnd

wxRadioButton* CConvertCdsToMiscFeat::m_RadioAnd
private

Definition at line 149 of file convert_cds_to_misc_feat.hpp.

Referenced by CreateControls(), and OnConditionChanged().

◆ m_RadioButton

wxRadioButton* CConvertCdsToMiscFeat::m_RadioButton
private

Definition at line 147 of file convert_cds_to_misc_feat.hpp.

Referenced by CreateControls(), and OnChoiceChanged().

◆ m_RadioNonfunctional

wxRadioButton* CConvertCdsToMiscFeat::m_RadioNonfunctional
private

Definition at line 152 of file convert_cds_to_misc_feat.hpp.

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

◆ m_RadioOr

wxRadioButton* CConvertCdsToMiscFeat::m_RadioOr
private

◆ m_RadioSimilar

wxRadioButton* CConvertCdsToMiscFeat::m_RadioSimilar
private

Definition at line 151 of file convert_cds_to_misc_feat.hpp.

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

◆ m_RadioWhere

wxRadioButton* CConvertCdsToMiscFeat::m_RadioWhere
private

The documentation for this class was generated from the following files:
Modified on Mon Apr 22 04:01:00 2024 by modify_doxy.py rev. 669887