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

Search Toolkit Book for CAttribTableColumnIdPanel

#include "attrib_table_column_id_panel.hpp"
(Private to src/gui/packages/pkg_sequence_edit.)

+ Inheritance diagram for CAttribTableColumnIdPanel:
+ Collaboration diagram for CAttribTableColumnIdPanel:

Public Member Functions

 CAttribTableColumnIdPanel ()
 Constructors. More...
 
 CAttribTableColumnIdPanel (wxWindow *parent, wxWindowID id=10230, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10230, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CAttribTableColumnIdPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
bool Show (bool show)
 Override Show() to allow initialization each time window is displayed. More...
 
void SetImportDataSource (CRef< CTableImportDataSource > ds)
 
void SetTopLevelEntry (CSeq_entry_Handle seq_entry)
 
void SetFileNames (vector< wxString > filenames)
 
void SetCommandProcessor (ICommandProccessor *cp)
 
void UpdateCol ()
 
bool IsInputValid ()
 
void SetRegistryPath (const string &path)
 
void LoadSettings ()
 
void SaveSettings () const
 
void ProcessUpdateFeatEvent (wxCommandEvent &event)
 
void ProcessUpdateStructCommentEvent (wxCommandEvent &event)
 
void OnColumnNameTxtTextUpdated (wxCommandEvent &event)
 wxEVT_COMMAND_TEXT_UPDATED event handler for ID_COLUMNNAMETXT More...
 
void OnSkipBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_SKIPBTN More...
 
void OnMatchColumnClick (wxCommandEvent &event)
 wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_MATCH_COLUMN More...
 
void OnMatchTypeSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBOX_SELECTED event handler for ID_MATCHTYPE More...
 
void OnReplaceBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_REPLACE_BTN More...
 
void OnAppendBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_APPEND_BTN More...
 
void OnPrefixBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_PREFIX_BTN More...
 
void OnIgnoreBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_IGNORE_BTN More...
 
void OnAddQualBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ADD_QUAL_BTN More...
 
void OnSemicolonBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_SEMICOLON_BTN More...
 
void OnSpaceBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_SPACE_BTN More...
 
void OnColonBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_COLON_BTN More...
 
void OnCommaBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_COMMA_BTN More...
 
void OnNodelimiterBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_NODELIMITER_BTN More...
 
void OnIgnoreBlanksBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_IGNORE_BLANKS_BTN More...
 
void OnEraseExistingValueBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ERASE_EXISTING_VALUE_BTN More...
 
void OnCtableImportListctrlColLeftClick (wxListEvent &event)
 wxEVT_COMMAND_LIST_COL_CLICK event handler for ID_CTABLEIMPORTLISTCTRL3 More...
 
void OnCtableImportListCtrlColDragging (wxListEvent &event)
 wxEVT_COMMAND_LIST_COL_DRAGGING event handler for ID_CTABLEIMPORTLISTCTRL3 More...
 
void OnSplitFirstColClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SPLIT_FIRST_COL More...
 
void OnMultispaceToTabBtnClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_MULTISPACE_TO_TAB_BTN More...
 
void OnMergeIDColsClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_MERGEIDCOLS More...
 
void OnMailReportCheckboxClick (wxCommandEvent &event)
 wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_MAIL_REPORT_CHECKBOX More...
 
void OnApplyNoCloseClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLY_NO_CLOSE More...
 
void OnPageChanged (wxBookCtrlEvent &event)
 Refresh the parent dialog upon changing the field type in the constraint panel. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void UpdateEditor ()
 
bool ShouldMakeMailReport ()
 
void x_TableReaderCommon (CIRef< IObjectLoader > object_loader, const wxString &msg, bool modal=false)
 
void x_TableReaderMacro (bool modal=false)
 
- Public Member Functions inherited from CFieldNamePanelParent
virtual ~CFieldNamePanelParent ()
 

Static Public Member Functions

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

Protected Member Functions

void x_GuessQualifiers ()
 Guess column qualifiers - called on Show() or if table updated significantly. More...
 
void x_EnableColumnEditControls (bool b)
 If a column is currently selected, the controls to edit its type and name should be available, otherwise they should be grayed out. More...
 
void x_EnableMachColumnFields (bool match_column)
 Enable/ disable fields for match column. More...
 
void x_EnableNonFormatEditControls (bool b)
 Enables all controls except the format buttons since they can be used to skip a column (which greys-out other buttons) More...
 
void UpdateChildrenFeaturePanels (wxWindow *win)
 Lists the features present in the top seq-entry first in the feature listbox. More...
 
void UpdateStructuredCommentFields (wxWindow *win, const set< string > &fields)
 
string x_GetConstraintField (void)
 
void x_RefreshParentWnd ()
 

Protected Attributes

string m_RegPath
 
int m_CurrentColumnIdx
 Index within listctrl/datasource of column being edited or -1. More...
 
CRef< CTableImportDataSourcem_ImportedTableData
 Contents of tabular file. More...
 
CSeq_entry_Handle m_TopSeqEntry
 Top level seq submit entry. More...
 
shared_ptr< edit::CSeqIdGuesser > m_id_guesser
 
string m_PrevColName
 Fields to remember type information for col set to seq-id so that the values can be restored if seq-id is unset. More...
 
string m_PrevQualType
 
string m_PrevQual
 
wxSize m_FieldsSize
 Previous size of m_Fields - used to resize dialog as m_Fields layout changes. More...
 
bool m_SplitFirstCol { false }
 
bool m_Multispacetotab { false }
 
bool m_RequestMergeFirst { false }
 
vector< wxString > m_FileNames
 
ICommandProccessorm_CmdProccessor
 

Private Attributes

wxStaticBox * m_ColumnPropertiesSizer
 
wxStaticText * m_ColumnNameStaticTxt
 
wxTextCtrl * m_ColumnNameTxtCtrl
 
wxCheckBox * m_SkipFormatBtn
 
wxCheckBox * m_MatchColumn
 
wxRadioBox * m_MatchType
 
CFieldChoicePanelm_Fields
 
wxRadioButton * m_Replace
 
wxRadioButton * m_Append
 
wxRadioButton * m_Prefix
 
wxRadioButton * m_LeaveOld
 
wxRadioButton * m_AddQual
 
wxRadioButton * m_Semicolon
 
wxRadioButton * m_Space
 
wxRadioButton * m_Colon
 
wxRadioButton * m_Comma
 
wxRadioButton * m_NoDelimiter
 
wxRadioButton * m_IgnoreBlanks
 
wxRadioButton * m_EraseValue
 
CTableImportListCtrlm_ColumnIdList
 
CConstraintPanelm_Constraint
 
wxButton * m_MergeIDCols
 
wxCheckBox * m_MakeMailReport
 

Detailed Description

CAttribTableColumnIdPanel class declaration

Definition at line 91 of file attrib_table_column_id_panel.hpp.

Constructor & Destructor Documentation

◆ CAttribTableColumnIdPanel() [1/2]

CAttribTableColumnIdPanel::CAttribTableColumnIdPanel ( )

Constructors.

CAttribTableColumnIdPanel constructors

Definition at line 145 of file attrib_table_column_id_panel.cpp.

References Init().

◆ CAttribTableColumnIdPanel() [2/2]

CAttribTableColumnIdPanel::CAttribTableColumnIdPanel ( wxWindow *  parent,
wxWindowID  id = 10230,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CAttribTableColumnIdPanel()

CAttribTableColumnIdPanel::~CAttribTableColumnIdPanel ( )

Destructor.

CAttribTableColumnIdPanel destructor

Definition at line 182 of file attrib_table_column_id_panel.cpp.

Member Function Documentation

◆ Create()

bool CAttribTableColumnIdPanel::Create ( wxWindow *  parent,
wxWindowID  id = 10230,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CAttribTableColumnIdPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CAttribTableColumnIdPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 884 of file attrib_table_column_id_panel.cpp.

◆ GetIconResource()

wxIcon CAttribTableColumnIdPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 897 of file attrib_table_column_id_panel.cpp.

◆ Init()

void CAttribTableColumnIdPanel::Init ( void  )

◆ IsInputValid()

bool CAttribTableColumnIdPanel::IsInputValid ( )

◆ LoadSettings()

void CAttribTableColumnIdPanel::LoadSettings ( )

Definition at line 767 of file attrib_table_column_id_panel.cpp.

References m_RegPath.

Referenced by CQualTableLoadManager::x_GetColumnIdPanel().

◆ OnAddQualBtnSelected()

void CAttribTableColumnIdPanel::OnAddQualBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ADD_QUAL_BTN

Definition at line 1768 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnAppendBtnSelected()

void CAttribTableColumnIdPanel::OnAppendBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_APPEND_BTN

Definition at line 1750 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnApplyNoCloseClick()

void CAttribTableColumnIdPanel::OnApplyNoCloseClick ( wxCommandEvent &  event)

◆ OnColonBtnSelected()

void CAttribTableColumnIdPanel::OnColonBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_COLON_BTN

Definition at line 1706 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnColumnNameTxtTextUpdated()

void CAttribTableColumnIdPanel::OnColumnNameTxtTextUpdated ( wxCommandEvent &  event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_COLUMNNAMETXT

Definition at line 1056 of file attrib_table_column_id_panel.cpp.

References m_ColumnNameTxtCtrl.

◆ OnCommaBtnSelected()

void CAttribTableColumnIdPanel::OnCommaBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_COMMA_BTN

Definition at line 1712 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnCtableImportListCtrlColDragging()

void CAttribTableColumnIdPanel::OnCtableImportListCtrlColDragging ( wxListEvent &  event)

wxEVT_COMMAND_LIST_COL_DRAGGING event handler for ID_CTABLEIMPORTLISTCTRL3

Definition at line 1099 of file attrib_table_column_id_panel.cpp.

References m_ColumnIdList.

◆ OnCtableImportListctrlColLeftClick()

void CAttribTableColumnIdPanel::OnCtableImportListctrlColLeftClick ( wxListEvent &  event)

◆ OnEraseExistingValueBtnSelected()

void CAttribTableColumnIdPanel::OnEraseExistingValueBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ERASE_EXISTING_VALUE_BTN

Definition at line 1734 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnIgnoreBlanksBtnSelected()

void CAttribTableColumnIdPanel::OnIgnoreBlanksBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_IGNORE_BLANKS_BTN

Options for handling blank fields.

Definition at line 1728 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnIgnoreBtnSelected()

void CAttribTableColumnIdPanel::OnIgnoreBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_IGNORE_BTN

Definition at line 1762 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnMailReportCheckboxClick()

void CAttribTableColumnIdPanel::OnMailReportCheckboxClick ( wxCommandEvent &  event)

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_MAIL_REPORT_CHECKBOX

Definition at line 1290 of file attrib_table_column_id_panel.cpp.

◆ OnMatchColumnClick()

void CAttribTableColumnIdPanel::OnMatchColumnClick ( wxCommandEvent &  event)

◆ OnMatchTypeSelected()

void CAttribTableColumnIdPanel::OnMatchTypeSelected ( wxCommandEvent &  event)

◆ OnMergeIDColsClick()

void CAttribTableColumnIdPanel::OnMergeIDColsClick ( wxCommandEvent &  event)

◆ OnMultispaceToTabBtnClick()

void CAttribTableColumnIdPanel::OnMultispaceToTabBtnClick ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_MULTISPACE_TO_TAB_BTN

Definition at line 1684 of file attrib_table_column_id_panel.cpp.

References m_ImportedTableData, m_Multispacetotab, CTableImportDataSource::ReplaceSpaces(), and x_GuessQualifiers().

◆ OnNodelimiterBtnSelected()

void CAttribTableColumnIdPanel::OnNodelimiterBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_NODELIMITER_BTN

Definition at line 1718 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnPageChanged()

void CAttribTableColumnIdPanel::OnPageChanged ( wxBookCtrlEvent &  event)

Refresh the parent dialog upon changing the field type in the constraint panel.

Definition at line 1774 of file attrib_table_column_id_panel.cpp.

References x_RefreshParentWnd().

◆ OnPrefixBtnSelected()

void CAttribTableColumnIdPanel::OnPrefixBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_PREFIX_BTN

Definition at line 1756 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnReplaceBtnSelected()

void CAttribTableColumnIdPanel::OnReplaceBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_REPLACE_BTN

Text Update rules (append, prefix, add or ignore)

Definition at line 1745 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnSemicolonBtnSelected()

void CAttribTableColumnIdPanel::OnSemicolonBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_SEMICOLON_BTN

Append field text delimiter options.

Definition at line 1694 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnSkipBtnSelected()

void CAttribTableColumnIdPanel::OnSkipBtnSelected ( wxCommandEvent &  event)

◆ OnSpaceBtnSelected()

void CAttribTableColumnIdPanel::OnSpaceBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_SPACE_BTN

Definition at line 1700 of file attrib_table_column_id_panel.cpp.

References CTableImportDataSource::GetColumn(), m_CurrentColumnIdx, m_ImportedTableData, and CTableImportColumn::SetProperty().

◆ OnSplitFirstColClick()

void CAttribTableColumnIdPanel::OnSplitFirstColClick ( wxCommandEvent &  event)

◆ ProcessUpdateFeatEvent()

void CAttribTableColumnIdPanel::ProcessUpdateFeatEvent ( wxCommandEvent &  event)

Definition at line 1109 of file attrib_table_column_id_panel.cpp.

References UpdateChildrenFeaturePanels().

◆ ProcessUpdateStructCommentEvent()

void CAttribTableColumnIdPanel::ProcessUpdateStructCommentEvent ( wxCommandEvent &  event)

◆ SaveSettings()

void CAttribTableColumnIdPanel::SaveSettings ( ) const

◆ SetCommandProcessor()

void CAttribTableColumnIdPanel::SetCommandProcessor ( ICommandProccessor cp)
inline

◆ SetFileNames()

void CAttribTableColumnIdPanel::SetFileNames ( vector< wxString >  filenames)
inline

Definition at line 127 of file attrib_table_column_id_panel.hpp.

References filenames, and m_FileNames.

Referenced by CQualTableLoadManager::x_GetColumnIdPanel().

◆ SetImportDataSource()

void CAttribTableColumnIdPanel::SetImportDataSource ( CRef< CTableImportDataSource ds)
inline

◆ SetRegistryPath()

void CAttribTableColumnIdPanel::SetRegistryPath ( const string path)

Definition at line 762 of file attrib_table_column_id_panel.cpp.

References m_RegPath.

Referenced by CQualTableLoadManager::x_GetColumnIdPanel().

◆ SetTopLevelEntry()

void CAttribTableColumnIdPanel::SetTopLevelEntry ( CSeq_entry_Handle  seq_entry)

◆ ShouldMakeMailReport()

bool CAttribTableColumnIdPanel::ShouldMakeMailReport ( )
inline

◆ Show()

bool CAttribTableColumnIdPanel::Show ( bool  show)

Override Show() to allow initialization each time window is displayed.

Definition at line 408 of file attrib_table_column_id_panel.cpp.

References m_Fields, m_FieldsSize, x_EnableColumnEditControls(), and x_GuessQualifiers().

◆ ShowToolTips()

bool CAttribTableColumnIdPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 875 of file attrib_table_column_id_panel.cpp.

◆ UpdateChildrenFeaturePanels()

void CAttribTableColumnIdPanel::UpdateChildrenFeaturePanels ( wxWindow *  win)
protected

Lists the features present in the top seq-entry first in the feature listbox.

Definition at line 853 of file attrib_table_column_id_panel.cpp.

References CFeatureTypePanel::ListPresentFeaturesFirst(), and m_TopSeqEntry.

Referenced by ProcessUpdateFeatEvent().

◆ UpdateCol()

void CAttribTableColumnIdPanel::UpdateCol ( )

◆ UpdateEditor()

void CAttribTableColumnIdPanel::UpdateEditor ( void  )
virtual

◆ UpdateStructuredCommentFields()

void CAttribTableColumnIdPanel::UpdateStructuredCommentFields ( wxWindow *  win,
const set< string > &  fields 
)
protected

◆ x_EnableColumnEditControls()

void CAttribTableColumnIdPanel::x_EnableColumnEditControls ( bool  b)
protected

If a column is currently selected, the controls to edit its type and name should be available, otherwise they should be grayed out.

Definition at line 782 of file attrib_table_column_id_panel.cpp.

References b, m_MatchColumn, m_SkipFormatBtn, and x_EnableNonFormatEditControls().

Referenced by OnCtableImportListctrlColLeftClick(), and Show().

◆ x_EnableMachColumnFields()

void CAttribTableColumnIdPanel::x_EnableMachColumnFields ( bool  match_column)
protected

◆ x_EnableNonFormatEditControls()

void CAttribTableColumnIdPanel::x_EnableNonFormatEditControls ( bool  b)
protected

Enables all controls except the format buttons since they can be used to skip a column (which greys-out other buttons)

Definition at line 790 of file attrib_table_column_id_panel.cpp.

References b, m_ColumnNameStaticTxt, m_ColumnNameTxtCtrl, m_ColumnPropertiesSizer, and m_Fields.

Referenced by x_EnableColumnEditControls().

◆ x_GetConstraintField()

string CAttribTableColumnIdPanel::x_GetConstraintField ( void  )
protected

◆ x_GuessQualifiers()

void CAttribTableColumnIdPanel::x_GuessQualifiers ( )
protected

◆ x_RefreshParentWnd()

void CAttribTableColumnIdPanel::x_RefreshParentWnd ( )
protected

Definition at line 1122 of file attrib_table_column_id_panel.cpp.

References NULL.

Referenced by OnPageChanged(), and UpdateEditor().

◆ x_TableReaderCommon()

void CAttribTableColumnIdPanel::x_TableReaderCommon ( CIRef< IObjectLoader object_loader,
const wxString &  msg,
bool  modal = false 
)

◆ x_TableReaderMacro()

void CAttribTableColumnIdPanel::x_TableReaderMacro ( bool  modal = false)

Member Data Documentation

◆ m_AddQual

wxRadioButton* CAttribTableColumnIdPanel::m_AddQual
private

◆ m_Append

wxRadioButton* CAttribTableColumnIdPanel::m_Append
private

◆ m_CmdProccessor

ICommandProccessor* CAttribTableColumnIdPanel::m_CmdProccessor
protected

◆ m_Colon

wxRadioButton* CAttribTableColumnIdPanel::m_Colon
private

◆ m_ColumnIdList

CTableImportListCtrl* CAttribTableColumnIdPanel::m_ColumnIdList
private

◆ m_ColumnNameStaticTxt

wxStaticText* CAttribTableColumnIdPanel::m_ColumnNameStaticTxt
private

◆ m_ColumnNameTxtCtrl

wxTextCtrl* CAttribTableColumnIdPanel::m_ColumnNameTxtCtrl
private

◆ m_ColumnPropertiesSizer

wxStaticBox* CAttribTableColumnIdPanel::m_ColumnPropertiesSizer
private

◆ m_Comma

wxRadioButton* CAttribTableColumnIdPanel::m_Comma
private

◆ m_Constraint

CConstraintPanel* CAttribTableColumnIdPanel::m_Constraint
private

◆ m_CurrentColumnIdx

int CAttribTableColumnIdPanel::m_CurrentColumnIdx
protected

◆ m_EraseValue

wxRadioButton* CAttribTableColumnIdPanel::m_EraseValue
private

◆ m_Fields

CFieldChoicePanel* CAttribTableColumnIdPanel::m_Fields
private

◆ m_FieldsSize

wxSize CAttribTableColumnIdPanel::m_FieldsSize
protected

Previous size of m_Fields - used to resize dialog as m_Fields layout changes.

Definition at line 309 of file attrib_table_column_id_panel.hpp.

Referenced by Init(), and Show().

◆ m_FileNames

vector<wxString> CAttribTableColumnIdPanel::m_FileNames
protected

Definition at line 315 of file attrib_table_column_id_panel.hpp.

Referenced by OnApplyNoCloseClick(), and SetFileNames().

◆ m_id_guesser

shared_ptr<edit::CSeqIdGuesser> CAttribTableColumnIdPanel::m_id_guesser
protected

◆ m_IgnoreBlanks

wxRadioButton* CAttribTableColumnIdPanel::m_IgnoreBlanks
private

◆ m_ImportedTableData

CRef<CTableImportDataSource> CAttribTableColumnIdPanel::m_ImportedTableData
protected

◆ m_LeaveOld

wxRadioButton* CAttribTableColumnIdPanel::m_LeaveOld
private

◆ m_MakeMailReport

wxCheckBox* CAttribTableColumnIdPanel::m_MakeMailReport
private

◆ m_MatchColumn

wxCheckBox* CAttribTableColumnIdPanel::m_MatchColumn
private

◆ m_MatchType

wxRadioBox* CAttribTableColumnIdPanel::m_MatchType
private

◆ m_MergeIDCols

wxButton* CAttribTableColumnIdPanel::m_MergeIDCols
private

Definition at line 262 of file attrib_table_column_id_panel.hpp.

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

◆ m_Multispacetotab

bool CAttribTableColumnIdPanel::m_Multispacetotab { false }
protected

◆ m_NoDelimiter

wxRadioButton* CAttribTableColumnIdPanel::m_NoDelimiter
private

◆ m_Prefix

wxRadioButton* CAttribTableColumnIdPanel::m_Prefix
private

◆ m_PrevColName

string CAttribTableColumnIdPanel::m_PrevColName
protected

Fields to remember type information for col set to seq-id so that the values can be restored if seq-id is unset.

Definition at line 303 of file attrib_table_column_id_panel.hpp.

Referenced by OnMatchColumnClick(), OnMatchTypeSelected(), and x_GuessQualifiers().

◆ m_PrevQual

string CAttribTableColumnIdPanel::m_PrevQual
protected

◆ m_PrevQualType

string CAttribTableColumnIdPanel::m_PrevQualType
protected

◆ m_RegPath

string CAttribTableColumnIdPanel::m_RegPath
protected

Definition at line 289 of file attrib_table_column_id_panel.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().

◆ m_Replace

wxRadioButton* CAttribTableColumnIdPanel::m_Replace
private

◆ m_RequestMergeFirst

bool CAttribTableColumnIdPanel::m_RequestMergeFirst { false }
protected

Definition at line 313 of file attrib_table_column_id_panel.hpp.

Referenced by OnMergeIDColsClick(), and x_TableReaderMacro().

◆ m_Semicolon

wxRadioButton* CAttribTableColumnIdPanel::m_Semicolon
private

◆ m_SkipFormatBtn

wxCheckBox* CAttribTableColumnIdPanel::m_SkipFormatBtn
private

◆ m_Space

wxRadioButton* CAttribTableColumnIdPanel::m_Space
private

◆ m_SplitFirstCol

bool CAttribTableColumnIdPanel::m_SplitFirstCol { false }
protected

Definition at line 311 of file attrib_table_column_id_panel.hpp.

Referenced by OnSplitFirstColClick(), and x_TableReaderMacro().

◆ m_TopSeqEntry

CSeq_entry_Handle CAttribTableColumnIdPanel::m_TopSeqEntry
protected

The documentation for this class was generated from the following files:
Modified on Sun Mar 03 03:16:25 2024 by modify_doxy.py rev. 669887