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

Search Toolkit Book for CProSplignPanel

#include <gui/packages/pkg_alignment/prosplign_panel.hpp>

+ Inheritance diagram for CProSplignPanel:
+ Collaboration diagram for CProSplignPanel:

Public Member Functions

 CProSplignPanel ()
 
 CProSplignPanel (wxWindow *parent, wxWindowID id=ID_CPROSPLIGNPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL, bool visible=true)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CPROSPLIGNPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL, bool visible=true)
 
 ~CProSplignPanel ()
 
void Init ()
 
void CreateControls ()
 
void OnRefineAlignmentClick (wxCommandEvent &event)
 
bool TransferDataFromWindow ()
 
bool TransferDataToWindow ()
 
CProSplignParamsGetNCData ()
 
const CProSplignParamsGetData () const
 
void SetData (const CProSplignParams &data)
 
SConstScopedObject GetProteinSeq () const
 
TConstScopedObjects GetNucleotideSeqs () const
 
void SetObjects (map< string, TConstScopedObjects > *protein, map< string, TConstScopedObjects > *nucleotide)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
IRegSettings interface implementation
virtual void SetRegistryPath (const string &path)
 CAlgoToolManagerParamsPanel. More...
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 override in derived classes More...
 
CAlgoToolManagerParamsPanel implementation
void RestoreDefaults ()
 override in derived classes More...
 
IRegSettings interface implementation
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Static Public Member Functions

static bool ShowToolTips ()
 

Private Types

enum  {
  ID_CPROSPLIGNPANEL = 10090 , ID_PROSPLIGN_PANEL1 = 10091 , ID_PROSPLIGN_PANEL2 = 10092 , ID_PROSPLIGN_NOTEBOOK = 10093 ,
  ID_PROSPLIGN_PANEL3 = 10094 , ID_PROSPLIGN_CHOICE1 = 10095 , ID_PROSPLIGN_CHCKBX1 = 10096 , ID_PROSPLIGN_TXTCTRL1 = 10097 ,
  ID_PROSPLIGN_TXTCTRL2 = 10098 , ID_PROSPLIGN_TXTCTRL3 = 10099 , ID_PROSPLIGN_CHOICE2 = 10100 , ID_PROSPLIGN_PANEL4 = 10101 ,
  ID_PROSPLIGN_CHCKBX2 = 10102 , ID_PROSPLIGN_CHCKBX3 = 10103 , ID_PROSPLIGN_CHCKBX4 = 10104 , ID_PROSPLIGN_TXTCTRL4 = 10105 ,
  ID_PROSPLIGN_TXTCTRL5 = 10106 , ID_PROSPLIGN_TXTCTRL6 = 10107 , ID_PROSPLIGN_TXTCTRL7 = 10108 , ID_PROSPLIGN_TXTCTRL8 = 10109 ,
  ID_PROSPLIGN_TXTCTRL9 = 10110
}
 

Private Member Functions

void x_ListGeneticCodes ()
 
void x_EnableRefinementOptions (bool enable)
 

Private Attributes

CObjectListWidgetSelm_ProteinList
 
CObjectListWidgetSelm_NucleotideList
 
SConstScopedObject m_ProteinSeq
 
TConstScopedObjects m_NucleotideSeqs
 
CProSplignParams m_Data
 
string m_RegPath
 
CMolTypeValidator m_ProteinListAccValidator
 
CMolTypeValidator m_NucleotideListAccValidator
 
wxString m_FrameshiftCostStr
 
wxString m_GapOpenCostStr
 
wxString m_GapExtendCostStr
 
long m_TotalPosL
 
long m_FlankPosL
 
long m_MinGoodLenL
 
long m_MinExonIdentL
 
long m_MinExonPosL
 
long m_MinFlankExonLenL
 

Additional Inherited Members

- Protected Attributes inherited from CAlgoToolManagerParamsPanel
string m_RegPath
 registry path to the settings More...
 

Detailed Description

CProSplignPanel class declaration

Definition at line 62 of file prosplign_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
ID_CPROSPLIGNPANEL 
ID_PROSPLIGN_PANEL1 
ID_PROSPLIGN_PANEL2 
ID_PROSPLIGN_NOTEBOOK 
ID_PROSPLIGN_PANEL3 
ID_PROSPLIGN_CHOICE1 
ID_PROSPLIGN_CHCKBX1 
ID_PROSPLIGN_TXTCTRL1 
ID_PROSPLIGN_TXTCTRL2 
ID_PROSPLIGN_TXTCTRL3 
ID_PROSPLIGN_CHOICE2 
ID_PROSPLIGN_PANEL4 
ID_PROSPLIGN_CHCKBX2 
ID_PROSPLIGN_CHCKBX3 
ID_PROSPLIGN_CHCKBX4 
ID_PROSPLIGN_TXTCTRL4 
ID_PROSPLIGN_TXTCTRL5 
ID_PROSPLIGN_TXTCTRL6 
ID_PROSPLIGN_TXTCTRL7 
ID_PROSPLIGN_TXTCTRL8 
ID_PROSPLIGN_TXTCTRL9 

Definition at line 136 of file prosplign_panel.hpp.

Constructor & Destructor Documentation

◆ CProSplignPanel() [1/2]

CProSplignPanel::CProSplignPanel ( )

Definition at line 66 of file prosplign_panel.cpp.

References Init().

◆ CProSplignPanel() [2/2]

CProSplignPanel::CProSplignPanel ( wxWindow *  parent,
wxWindowID  id = ID_CPROSPLIGNPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL,
bool  visible = true 
)

Definition at line 73 of file prosplign_panel.cpp.

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

◆ ~CProSplignPanel()

CProSplignPanel::~CProSplignPanel ( )

Definition at line 101 of file prosplign_panel.cpp.

Member Function Documentation

◆ Create()

bool CProSplignPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CPROSPLIGNPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL,
bool  visible = true 
)

Definition at line 81 of file prosplign_panel.cpp.

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

Referenced by CProSplignPanel().

◆ CreateControls()

void CProSplignPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CProSplignPanel::GetBitmapResource ( const wxString &  name)

Definition at line 430 of file prosplign_panel.cpp.

◆ GetData()

const CProSplignParams& CProSplignPanel::GetData ( void  ) const
inline

Definition at line 109 of file prosplign_panel.hpp.

References m_Data.

Referenced by CProSplignTool::x_CreateLoadingJob().

◆ GetIconResource()

wxIcon CProSplignPanel::GetIconResource ( const wxString &  name)

Definition at line 438 of file prosplign_panel.cpp.

◆ GetNCData()

CProSplignParams& CProSplignPanel::GetNCData ( )
inline

Definition at line 108 of file prosplign_panel.hpp.

References m_Data.

Referenced by RestoreDefaults().

◆ GetNucleotideSeqs()

TConstScopedObjects CProSplignPanel::GetNucleotideSeqs ( ) const
inline

Definition at line 113 of file prosplign_panel.hpp.

References m_NucleotideSeqs.

Referenced by CProSplignTool::x_CreateLoadingJob().

◆ GetProteinSeq()

SConstScopedObject CProSplignPanel::GetProteinSeq ( ) const
inline

Definition at line 112 of file prosplign_panel.hpp.

References m_ProteinSeq.

Referenced by CProSplignTool::x_CreateLoadingJob().

◆ Init()

void CProSplignPanel::Init ( void  )

Definition at line 107 of file prosplign_panel.cpp.

References m_NucleotideList, m_ProteinList, and NULL.

Referenced by CProSplignPanel().

◆ LoadSettings()

void CProSplignPanel::LoadSettings ( )
virtual

◆ OnRefineAlignmentClick()

void CProSplignPanel::OnRefineAlignmentClick ( wxCommandEvent &  event)

Definition at line 334 of file prosplign_panel.cpp.

References x_EnableRefinementOptions().

◆ RestoreDefaults()

void CProSplignPanel::RestoreDefaults ( )
virtual

override in derived classes

Restores the default options for the panel

Implements CAlgoToolManagerParamsPanel.

Definition at line 420 of file prosplign_panel.cpp.

References GetNCData(), CProSplignParams::Init(), and TransferDataToWindow().

◆ SaveSettings()

void CProSplignPanel::SaveSettings ( ) const
virtual

override in derived classes

Implements CAlgoToolManagerParamsPanel.

Definition at line 408 of file prosplign_panel.cpp.

References m_NucleotideList, m_ProteinList, and CObjectListWidgetSel::SaveSettings().

◆ SetData()

void CProSplignPanel::SetData ( const CProSplignParams data)
inline

Definition at line 110 of file prosplign_panel.hpp.

References data, and m_Data.

Referenced by CProSplignTool::x_CreateParamsPanelIfNeeded().

◆ SetObjects()

void CProSplignPanel::SetObjects ( map< string, TConstScopedObjects > *  protein,
map< string, TConstScopedObjects > *  nucleotide 
)

◆ SetRegistryPath()

void CProSplignPanel::SetRegistryPath ( const string reg_path)
virtual

◆ ShowToolTips()

bool CProSplignPanel::ShowToolTips ( )
static

Definition at line 426 of file prosplign_panel.cpp.

◆ TransferDataFromWindow()

bool CProSplignPanel::TransferDataFromWindow ( )

◆ TransferDataToWindow()

bool CProSplignPanel::TransferDataToWindow ( )

◆ x_EnableRefinementOptions()

void CProSplignPanel::x_EnableRefinementOptions ( bool  enable)
private

◆ x_ListGeneticCodes()

void CProSplignPanel::x_ListGeneticCodes ( )
private

Member Data Documentation

◆ m_Data

CProSplignParams CProSplignPanel::m_Data
private

◆ m_FlankPosL

long CProSplignPanel::m_FlankPosL
private

◆ m_FrameshiftCostStr

wxString CProSplignPanel::m_FrameshiftCostStr
private

◆ m_GapExtendCostStr

wxString CProSplignPanel::m_GapExtendCostStr
private

◆ m_GapOpenCostStr

wxString CProSplignPanel::m_GapOpenCostStr
private

◆ m_MinExonIdentL

long CProSplignPanel::m_MinExonIdentL
private

◆ m_MinExonPosL

long CProSplignPanel::m_MinExonPosL
private

◆ m_MinFlankExonLenL

long CProSplignPanel::m_MinFlankExonLenL
private

◆ m_MinGoodLenL

long CProSplignPanel::m_MinGoodLenL
private

◆ m_NucleotideList

CObjectListWidgetSel* CProSplignPanel::m_NucleotideList
private

◆ m_NucleotideListAccValidator

CMolTypeValidator CProSplignPanel::m_NucleotideListAccValidator
private

Definition at line 163 of file prosplign_panel.hpp.

Referenced by CreateControls().

◆ m_NucleotideSeqs

TConstScopedObjects CProSplignPanel::m_NucleotideSeqs
private

Definition at line 133 of file prosplign_panel.hpp.

Referenced by GetNucleotideSeqs(), and TransferDataFromWindow().

◆ m_ProteinList

CObjectListWidgetSel* CProSplignPanel::m_ProteinList
private

◆ m_ProteinListAccValidator

CMolTypeValidator CProSplignPanel::m_ProteinListAccValidator
private

Definition at line 162 of file prosplign_panel.hpp.

Referenced by CreateControls().

◆ m_ProteinSeq

SConstScopedObject CProSplignPanel::m_ProteinSeq
private

Definition at line 132 of file prosplign_panel.hpp.

Referenced by GetProteinSeq(), and TransferDataFromWindow().

◆ m_RegPath

string CProSplignPanel::m_RegPath
private

Definition at line 160 of file prosplign_panel.hpp.

Referenced by SetRegistryPath().

◆ m_TotalPosL

long CProSplignPanel::m_TotalPosL
private

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:44 2024 by modify_doxy.py rev. 669887