NCBI C++ ToolKit
|
Search Toolkit Book for CSeqTableGridPanel
#include <gui/packages/pkg_sequence_edit/seq_table_grid.hpp>
Public Member Functions | |
CSeqTableGridPanel () | |
Constructors. More... | |
CSeqTableGridPanel (wxWindow *parent, CRef< objects::CSeq_table > values, CRef< objects::CSeq_table > choices, int glyph_col=-1, wxWindowID id=10078, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=10078, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CSeqTableGridPanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
void | OnCellRightClick (wxGridEvent &event) |
wxEVT_GRID_CELL_RIGHT_CLICK event handler for ID_GRID More... | |
void | OnLabelRightClick (wxGridEvent &event) |
wxEVT_GRID_LABEL_RIGHT_CLICK event handler for ID_GRID More... | |
void | OnCopyCells (wxCommandEvent &event) |
void | OnPasteCells (wxCommandEvent &event) |
void | OnPasteAppendCells (wxCommandEvent &event) |
void | OnCopyCellsFromId (wxCommandEvent &event) |
void | OnSearchTable (wxCommandEvent &event) |
void | OnSortTableByColumn (wxGridEvent &event) |
void | OnLabelLeftClick (wxGridEvent &event) |
void | OnLabelLeftDClick (wxGridEvent &event) |
void | OnCellLeftClick (wxGridEvent &event) |
void | OnCellDoubleLeftClick (wxGridEvent &event) |
void | OnCellDoubleLeftClick2 (wxMouseEvent &event) |
void | OnDeleteColumn (wxCommandEvent &event) |
void | OnRenameColumn (wxCommandEvent &event) |
void | OnCollapseColumn (wxCommandEvent &event) |
void | OnExpandColumn (wxCommandEvent &event) |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
wxGrid * | GetGrid (void) |
CRef< objects::CSeq_table > | GetValuesTable () |
void | SetValuesTable (CRef< objects::CSeq_table > table) |
void | CopyPasteDataByKeyboard (wxKeyEvent &event) |
void | UpdateColumnLabelHeight () |
int | GetBestTableWidth () |
void | SetBestTableWidth () |
void | MakeColumnReadOnly (int pos, bool val=true) |
void | MakeColumnReadOnly (string name, bool val=true) |
void | MakeAllColumnsReadOnly () |
void | SetColumnSizesAndChoices () |
void | UpdateColumnChoices (int pos, vector< string > choices) |
void | InitColumnCollapse (int col) |
bool | GetModified () |
int | GetCollapseColAndExpand (void) |
void | CollapseByCol (int col) |
int | GetRowIndex (int row) |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Private Member Functions | |
void | InitMapRowLabelToIndex () |
void | x_SortByRowLabel () |
void | x_SetUpMenu () |
void | x_CreateMenu (wxGridEvent &evt) |
void | x_PasteCells (CRef< objects::CSeq_table > copied, bool append=false, string delim=";") |
bool | x_ValuesOkForNewColumn (CConstRef< objects::CSeqTable_column > values, int col_pos) |
void | x_OnCopyCells () |
void | x_OnPasteCells () |
void | x_MakeProblemsColumnReadOnly () |
SrcEditDialog * | x_GetParent () |
CSeqGridTableNav * | x_GetSeqGridTableNav () |
void | x_CollapseTableByColumn (bool initialize=false) |
void | x_ExpandTableByColumn (void) |
void | x_UpdateCollapsedRow (unsigned int num_cols, int expand_row, vector< bool > &all_present, vector< bool > &all_same, vector< wxString > &values) |
void | x_ExpandTable () |
void | x_SortTableByColumn (int col, bool ascend) |
void | x_UpdateCountSelectedDisplay (void) |
void | x_SelectHiddenRows (int row) |
Private Attributes | |
CRef< objects::CSeq_table > | m_Table |
CRef< objects::CSeq_table > | m_Choices |
CRef< objects::CSeq_table > | m_Copied |
bool | m_SortByRowLabel |
bool | m_SortByRowLabelAscend |
unordered_map< string, int > | m_MapRowLabelToIndex |
wxString | m_FindStr |
unordered_map< int, int > | m_CollapseCell |
map< pair< int, int >, wxString > | m_CollapseCache |
int | m_CollapseGlyphCol |
int | m_CollapseCol |
set< int > | m_SetOfReadOnlyCols |
bool | m_Modified |
int | m_SortCol |
int | m_MenuCol |
CCollapsibleGrid * | m_Grid |
int | m_edit_cell_row |
int | m_edit_cell_col |
CSeqTableGridPanel class declaration
Definition at line 220 of file seq_table_grid.hpp.
CSeqTableGridPanel::CSeqTableGridPanel | ( | ) |
Constructors.
CSeqTableGridPanel type definition
CSeqTableGridPanel event table definition
CSeqTableGridPanel constructors
Definition at line 515 of file seq_table_grid.cpp.
References Init().
CSeqTableGridPanel::CSeqTableGridPanel | ( | wxWindow * | parent, |
CRef< objects::CSeq_table > | values, | ||
CRef< objects::CSeq_table > | choices, | ||
int | glyph_col = -1 , |
||
wxWindowID | id = 10078 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
CSeqTableGridPanel::~CSeqTableGridPanel | ( | ) |
void CSeqTableGridPanel::CollapseByCol | ( | int | col | ) |
Definition at line 1485 of file seq_table_grid.cpp.
References m_CollapseCol, x_CollapseTableByColumn(), and x_ExpandTable().
Referenced by CCompareWithBiosample::CreateBiosampleUpdateWebService(), CApplyEditconvertPanel::GetAutopopulateValue(), SrcEditDialog::OnAddQual(), CCompareWithBiosample::OnAddToSample(), CCompareWithBiosample::OnAddToSource(), CStringConstraintSelect::OnApply(), CApplyEditconvertPanel::OnApplyToAllButtonClick(), CApplyEditconvertPanel::OnApplyToSelButtonClick(), CCompareWithBiosample::OnClickOk(), CCompareWithBiosample::OnCopyToSampleButtonClick(), CCompareWithBiosample::OnCopyToSourceButtonClick(), CStringConstraintSelect::OnSelectAll(), CCompareWithBiosample::OnSyncButtonClick(), CApplyEditconvertPanel::OnUndoButtonClick(), and CStringConstraintSelect::OnUnselectAll().
void CSeqTableGridPanel::CopyPasteDataByKeyboard | ( | wxKeyEvent & | event | ) |
Definition at line 2386 of file seq_table_grid.cpp.
References x_OnCopyCells(), and x_OnPasteCells().
Referenced by CreateControls().
bool CSeqTableGridPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10078 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
CSeqTableGrid creator
Definition at line 533 of file seq_table_grid.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
void CSeqTableGridPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CSeqTableGrid
Definition at line 584 of file seq_table_grid.cpp.
References CopyPasteDataByKeyboard(), ID_GRID, m_Grid, m_Table, NULL, SetColumnSizesAndChoices(), wxID_ANY, and x_MakeProblemsColumnReadOnly().
Referenced by Create().
int CSeqTableGridPanel::GetBestTableWidth | ( | ) |
Definition at line 814 of file seq_table_grid.cpp.
Referenced by SetBestTableWidth().
wxBitmap CSeqTableGridPanel::GetBitmapResource | ( | const wxString & | name | ) |
int CSeqTableGridPanel::GetCollapseColAndExpand | ( | void | ) |
Definition at line 1478 of file seq_table_grid.cpp.
References m_CollapseCol, and x_ExpandTable().
Referenced by CCompareWithBiosample::CreateBiosampleUpdateWebService(), CApplyEditconvertPanel::GetAutopopulateValue(), SrcEditDialog::OnAddQual(), CCompareWithBiosample::OnAddToSample(), CCompareWithBiosample::OnAddToSource(), CStringConstraintSelect::OnApply(), CApplyEditconvertPanel::OnApplyToAllButtonClick(), CApplyEditconvertPanel::OnApplyToSelButtonClick(), CCompareWithBiosample::OnClickOk(), CCompareWithBiosample::OnCopyToSampleButtonClick(), CCompareWithBiosample::OnCopyToSourceButtonClick(), CStringConstraintSelect::OnSelectAll(), CCompareWithBiosample::OnSyncButtonClick(), CApplyEditconvertPanel::OnUndoButtonClick(), and CStringConstraintSelect::OnUnselectAll().
|
inline |
Definition at line 283 of file seq_table_grid.hpp.
References m_Grid.
Referenced by CBulkCDS::CreateControls(), CBulkGene::CreateControls(), CBulkMiscFeat::CreateControls(), CBulkRna::CreateControls(), CCountryConflict::CreateControls(), CBulkCountryEdit::CreateControls(), CLatLonTool::CreateControls(), SrcEditDialog::CreateControls(), CUnculTaxTool::CreateControls(), CTblEditDlg::GetGrid(), CUnculTaxTool::OnRefreshBtn(), and CCompareWithBiosample::x_AddTablePanel().
wxIcon CSeqTableGridPanel::GetIconResource | ( | const wxString & | name | ) |
|
inline |
Definition at line 297 of file seq_table_grid.hpp.
References m_Modified.
Referenced by CBulkCDS::OnClickCancel(), CBulkGene::OnClickCancel(), CBulkMiscFeat::OnClickCancel(), CBulkRna::OnClickCancel(), CCompareWithBiosample::OnClickCancel(), CCountryConflict::OnClickCancel(), CBulkCountryEdit::OnClickCancel(), CLatLonTool::OnClickCancel(), and SrcEditDialog::OnClickCancel().
Definition at line 2299 of file seq_table_grid.cpp.
References CSeqTableGrid::GetRowLabelValue(), m_Grid, m_MapRowLabelToIndex, row, and ToStdString().
Referenced by SrcEditDialog::GetBioseqHandle().
CRef< CSeq_table > CSeqTableGridPanel::GetValuesTable | ( | void | ) |
Definition at line 890 of file seq_table_grid.cpp.
References ctll::empty(), CSeqTableGrid::GetValuesTable(), m_Grid, m_SortByRowLabelAscend, x_ExpandTable(), and x_SortByRowLabel().
Referenced by CBulkCDS::GetCommand(), CBulkGene::GetCommand(), CBulkMiscFeat::GetCommand(), CBulkRna::GetCommand(), CCountryConflict::GetCommand(), CLatLonTool::GetCommand(), CTblEditDlg::GetCommand(), CUnculTaxTool::GetCommand(), CTblEditDlg::GetErrorMessage(), CSeqIdFixDlg::GetReplacementTable(), CBulkCountryEdit::GetValues(), CTblEditDlg::OnClearTableClick(), CTblEditDlg::OnExportTableClick(), CTblEditDlg::OnImportTableClick(), CTblEditDlg::OnUpdateProblems(), CUnculTaxTool::TrimSuggestions(), SrcEditDialog::x_GetValuesTableFromGridPanel(), and CSeqIdFixDlg::x_RefreshProblems().
void CSeqTableGridPanel::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 564 of file seq_table_grid.cpp.
References m_CollapseCol, m_edit_cell_col, m_edit_cell_row, m_MenuCol, m_Modified, m_SortByRowLabel, m_SortByRowLabelAscend, m_SortCol, and x_SetUpMenu().
void CSeqTableGridPanel::InitColumnCollapse | ( | int | col | ) |
Definition at line 613 of file seq_table_grid.cpp.
References m_CollapseCol, m_Grid, x_CollapseTableByColumn(), CCollapsibleGrid::x_InitRowHeights(), and x_SortTableByColumn().
Referenced by CBulkCDS::CreateControls(), CBulkGene::CreateControls(), CBulkMiscFeat::CreateControls(), CBulkRna::CreateControls(), CCountryConflict::CreateControls(), CBulkCountryEdit::CreateControls(), CLatLonTool::CreateControls(), SrcEditDialog::CreateControls(), CUnculTaxTool::CreateControls(), CUnculTaxTool::OnRefreshBtn(), CUnculTaxTool::TrimSuggestions(), and CCompareWithBiosample::x_AddTablePanel().
|
private |
Definition at line 1003 of file seq_table_grid.cpp.
References CSeqTableGrid::GetNumberRows(), CSeqTableGrid::GetRowLabelValue(), i, m_Grid, m_MapRowLabelToIndex, and ToStdString().
Referenced by SetColumnSizesAndChoices().
void CSeqTableGridPanel::MakeAllColumnsReadOnly | ( | ) |
Definition at line 650 of file seq_table_grid.cpp.
References m_Grid, and MakeColumnReadOnly().
Referenced by CSeqIdFixDlg::CreateControls(), and CSeqIdFixDlg::x_RefreshProblems().
Definition at line 622 of file seq_table_grid.cpp.
References set< Key, Compare >::erase(), i, set< Key, Compare >::insert(), m_Grid, m_SetOfReadOnlyCols, and val.
Referenced by CBulkCDS::CreateControls(), CBulkGene::CreateControls(), CBulkMiscFeat::CreateControls(), CBulkRna::CreateControls(), CCountryConflict::CreateControls(), CBulkCountryEdit::CreateControls(), CLatLonTool::CreateControls(), CSeqIdFixDlg::CreateControls(), SrcEditDialog::CreateControls(), CTblEditDlg::CreateControls(), CUnculTaxTool::CreateControls(), MakeAllColumnsReadOnly(), MakeColumnReadOnly(), CCompareWithBiosample::x_AddTablePanel(), x_MakeProblemsColumnReadOnly(), and CSeqIdFixDlg::x_RefreshProblems().
Definition at line 636 of file seq_table_grid.cpp.
References NStr::EqualNocase(), i, m_Grid, MakeColumnReadOnly(), ToStdString(), and val.
void CSeqTableGridPanel::OnCellDoubleLeftClick | ( | wxGridEvent & | event | ) |
Definition at line 2124 of file seq_table_grid.cpp.
References CSimpleTextEditor::GetValue(), i, m_CollapseCell, m_CollapseCol, m_CollapseGlyphCol, m_Grid, m_Modified, NStr::ReplaceInPlace(), NStr::TruncateSpacesInPlace(), and val.
void CSeqTableGridPanel::OnCellDoubleLeftClick2 | ( | wxMouseEvent & | event | ) |
Definition at line 2160 of file seq_table_grid.cpp.
References CSimpleTextEditor::GetValue(), m_edit_cell_col, m_edit_cell_row, m_Grid, m_Modified, NStr::ReplaceInPlace(), NStr::TruncateSpacesInPlace(), and val.
Referenced by OnCellLeftClick().
void CSeqTableGridPanel::OnCellLeftClick | ( | wxGridEvent & | event | ) |
Definition at line 2091 of file seq_table_grid.cpp.
References i, m_CollapseCell, m_CollapseCol, m_CollapseGlyphCol, m_edit_cell_col, m_edit_cell_row, m_Grid, m_Modified, NULL, OnCellDoubleLeftClick2(), wxID_ANY, x_CollapseTableByColumn(), and x_UpdateCountSelectedDisplay().
void CSeqTableGridPanel::OnCellRightClick | ( | wxGridEvent & | event | ) |
wxEVT_GRID_CELL_RIGHT_CLICK event handler for ID_GRID
wxEVT_GRID_CELL_RIGHT_CLICK event handler for ID_GRID
Definition at line 2086 of file seq_table_grid.cpp.
References x_CreateMenu().
void CSeqTableGridPanel::OnCollapseColumn | ( | wxCommandEvent & | event | ) |
Definition at line 1444 of file seq_table_grid.cpp.
References m_CollapseCol, m_CollapseGlyphCol, m_MenuCol, wxT, x_CollapseTableByColumn(), x_ExpandTable(), and x_SortTableByColumn().
void CSeqTableGridPanel::OnCopyCells | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for eCmdCopyTableValues
Definition at line 1588 of file seq_table_grid.cpp.
References m_MenuCol, and x_OnCopyCells().
void CSeqTableGridPanel::OnCopyCellsFromId | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for eCmdCopyTableValuesFromId
Definition at line 2014 of file seq_table_grid.cpp.
References eContent, CSeqTableGrid::GetValuesTable(), label, m_Grid, m_MenuCol, wxT, and x_PasteCells().
void CSeqTableGridPanel::OnDeleteColumn | ( | wxCommandEvent & | event | ) |
Definition at line 1492 of file seq_table_grid.cpp.
References CSeqTableGrid::DeleteCols(), i, m_CollapseCol, m_CollapseGlyphCol, m_Grid, m_MenuCol, m_Modified, SrcEditDialog::ResetSubPanels(), wxT, x_CollapseTableByColumn(), x_ExpandTable(), x_GetParent(), and SrcEditDialog::x_RepopulateAddQualList().
void CSeqTableGridPanel::OnExpandColumn | ( | wxCommandEvent & | event | ) |
Definition at line 1465 of file seq_table_grid.cpp.
References m_CollapseCol, m_MenuCol, wxT, and x_ExpandTable().
void CSeqTableGridPanel::OnLabelLeftClick | ( | wxGridEvent & | event | ) |
Definition at line 2271 of file seq_table_grid.cpp.
References m_CollapseGlyphCol, m_Grid, m_SortByRowLabel, row, x_ExpandTable(), x_SelectHiddenRows(), x_SortByRowLabel(), and x_UpdateCountSelectedDisplay().
void CSeqTableGridPanel::OnLabelLeftDClick | ( | wxGridEvent & | event | ) |
Definition at line 2311 of file seq_table_grid.cpp.
References CSeqTableGrid::GetRowLabelValue(), CSeqGridTableNav::JumpToTextView(), m_CollapseGlyphCol, m_Grid, m_MapRowLabelToIndex, m_SortByRowLabel, row, ToStdString(), x_ExpandTable(), x_GetSeqGridTableNav(), x_SortByRowLabel(), and x_UpdateCountSelectedDisplay().
void CSeqTableGridPanel::OnLabelRightClick | ( | wxGridEvent & | event | ) |
wxEVT_GRID_LABEL_RIGHT_CLICK event handler for ID_GRID
wxEVT_GRID_LABEL_RIGHT_CLICK event handler for ID_GRID
Definition at line 2190 of file seq_table_grid.cpp.
References x_CreateMenu().
void CSeqTableGridPanel::OnPasteAppendCells | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for eCmdAppendTableValues
Definition at line 2003 of file seq_table_grid.cpp.
References m_Copied, m_MenuCol, and x_PasteCells().
void CSeqTableGridPanel::OnPasteCells | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for eCmdPasteTableValues
Definition at line 1970 of file seq_table_grid.cpp.
References m_MenuCol, and x_OnPasteCells().
void CSeqTableGridPanel::OnRenameColumn | ( | wxCommandEvent & | event | ) |
Definition at line 1379 of file seq_table_grid.cpp.
References SrcEditDialog::ChangeColumnName(), SrcEditDialog::GetQualChoices(), CRenameColumnDlg::GetSelection(), m_Grid, m_MenuCol, m_Modified, NULL, SrcEditDialog::ResetSubPanels(), ToStdString(), wxT, and x_GetParent().
void CSeqTableGridPanel::OnSearchTable | ( | wxCommandEvent & | event | ) |
Definition at line 2358 of file seq_table_grid.cpp.
References CSeqTableGrid::GetNumberRows(), CSeqTableGrid::GetRowLabelValue(), i, m_FindStr, m_Grid, m_MenuCol, and wxT.
void CSeqTableGridPanel::OnSortTableByColumn | ( | wxGridEvent & | event | ) |
wxEVT_GRID_COL_SORT event handler for ID_GRID
Definition at line 1033 of file seq_table_grid.cpp.
References m_CollapseCol, m_CollapseGlyphCol, m_Grid, m_SortByRowLabel, m_SortByRowLabelAscend, m_SortCol, x_CollapseTableByColumn(), x_ExpandTable(), and x_SortTableByColumn().
void CSeqTableGridPanel::SetBestTableWidth | ( | ) |
Definition at line 825 of file seq_table_grid.cpp.
References GetBestTableWidth(), and m_Grid.
Referenced by CTblEditDlg::CreateControls(), and SetColumnSizesAndChoices().
void CSeqTableGridPanel::SetColumnSizesAndChoices | ( | ) |
Definition at line 759 of file seq_table_grid.cpp.
References NStr::EqualNocase(), CSeqTable_column_Base::GetData(), CSeqTable_multi_data_Base::GetString(), i, InitMapRowLabelToIndex(), CSeqTable_column_Base::IsSetData(), CSeqTable_multi_data_Base::IsString(), IsSynonymForFalse(), IsSynonymForTrue(), kProblems, label, m_Choices, m_Grid, row, SetBestTableWidth(), ncbi::grid::netcache::search::fields::size, ToStdString(), ToWxString(), val, and wxT.
Referenced by CBulkGene::CreateControls(), CBulkMiscFeat::CreateControls(), CBulkRna::CreateControls(), CreateControls(), SrcEditDialog::CreateControls(), and SetValuesTable().
void CSeqTableGridPanel::SetValuesTable | ( | CRef< objects::CSeq_table > | table | ) |
Definition at line 905 of file seq_table_grid.cpp.
References m_Grid, SetColumnSizesAndChoices(), table, and x_MakeProblemsColumnReadOnly().
Referenced by CTblEditDlg::OnClearTableClick(), CTblEditDlg::OnImportTableClick(), SrcEditDialog::OnLoadqualsClick(), CUnculTaxTool::OnRefreshBtn(), CTblEditDlg::OnUpdateProblems(), and CSeqIdFixDlg::x_RefreshProblems().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 842 of file seq_table_grid.cpp.
Definition at line 700 of file seq_table_grid.cpp.
References IsSynonymForFalse(), IsSynonymForTrue(), ITERATE, m_Choices, m_Grid, row, ncbi::grid::netcache::search::fields::size, ToWxString(), val, and wxT.
Referenced by SrcEditDialog::ChangeColumnName().
void CSeqTableGridPanel::UpdateColumnLabelHeight | ( | ) |
Definition at line 680 of file seq_table_grid.cpp.
References NStr::Find(), i, label, m_Grid, and ToStdString().
Referenced by CTblEditDlg::CreateControls().
Definition at line 1202 of file seq_table_grid.cpp.
References map_checker< Container >::clear(), CCollapsibleGrid::FastSetRowSize(), i, m_CollapseCache, m_CollapseCell, m_CollapseCol, m_CollapseGlyphCol, m_Grid, CCollapsibleGrid::UpdateRowBottoms(), CCollapsibleGrid::x_InitRowHeights(), and x_UpdateCollapsedRow().
Referenced by CollapseByCol(), InitColumnCollapse(), OnCellLeftClick(), OnCollapseColumn(), OnDeleteColumn(), and OnSortTableByColumn().
|
private |
Definition at line 994 of file seq_table_grid.cpp.
References CUICommandRegistry::CreateMenu(), and CUICommandRegistry::GetInstance().
Referenced by OnCellRightClick(), and OnLabelRightClick().
|
private |
Definition at line 873 of file seq_table_grid.cpp.
References map_checker< Container >::clear(), i, m_CollapseCache, m_CollapseCell, m_CollapseCol, m_CollapseGlyphCol, m_Grid, and x_ExpandTableByColumn().
Referenced by CollapseByCol(), GetCollapseColAndExpand(), GetValuesTable(), OnCollapseColumn(), OnDeleteColumn(), OnExpandColumn(), OnLabelLeftClick(), OnLabelLeftDClick(), and OnSortTableByColumn().
|
private |
Definition at line 1319 of file seq_table_grid.cpp.
References CCollapsibleGrid::FastSetRowSize(), i, m_CollapseCell, m_CollapseCol, m_CollapseGlyphCol, m_Grid, CCollapsibleGrid::UpdateRowBottoms(), CCollapsibleGrid::x_InitRowHeights(), and x_UpdateCollapsedRow().
Referenced by x_ExpandTable().
|
private |
Definition at line 1365 of file seq_table_grid.cpp.
References NULL.
Referenced by OnDeleteColumn(), and OnRenameColumn().
|
private |
Definition at line 2343 of file seq_table_grid.cpp.
References NULL.
Referenced by OnLabelLeftDClick().
|
private |
Definition at line 658 of file seq_table_grid.cpp.
References NStr::EqualNocase(), CSeqTableGrid::GetValuesTable(), i, kProblems, m_Grid, MakeColumnReadOnly(), and ToStdString().
Referenced by CreateControls(), and SetValuesTable().
|
private |
Definition at line 1594 of file seq_table_grid.cpp.
References CSeqTableGrid::GetValuesTable(), i, m_Copied, m_Grid, CRef< C, Locker >::Reset(), ncbi::grid::netcache::search::fields::size, str(), and wxT.
Referenced by CopyPasteDataByKeyboard(), and OnCopyCells().
|
private |
Definition at line 1976 of file seq_table_grid.cpp.
References data, m_Copied, CRef< C, Locker >::Reset(), ToStdString(), val, and x_PasteCells().
Referenced by CopyPasteDataByKeyboard(), and OnPasteCells().
|
private |
Definition at line 1827 of file seq_table_grid.cpp.
References append(), CSeqTableGrid::GetValuesTable(), i, m_Grid, m_Modified, s_CopyColumn(), s_CopyRow(), ncbi::grid::netcache::search::fields::size, wxT, and x_ValuesOkForNewColumn().
Referenced by OnCopyCellsFromId(), OnPasteAppendCells(), and x_OnPasteCells().
|
private |
Definition at line 2439 of file seq_table_grid.cpp.
References i, m_CollapseGlyphCol, m_Grid, row, and x_UpdateCountSelectedDisplay().
Referenced by OnLabelLeftClick().
|
private |
Definition at line 915 of file seq_table_grid.cpp.
References eCmdAppendTableValues, eCmdCollapseTableCol, eCmdCopyTableValues, eCmdCopyTableValuesFromId, eCmdDeleteTableCol, eCmdExpandTableCol, eCmdPasteTableValues, eCmdRenameTableCol, eCmdSearchTable, CUICommandRegistry::GetInstance(), NcbiEmptyString, and CUICommandRegistry::RegisterCommand().
Referenced by Init().
|
private |
Definition at line 2195 of file seq_table_grid.cpp.
References cmpTableValues(), CSeqTable_multi_data_Base::e_Id, CSeqTable_multi_data_Base::e_String, GetId(), CSeqTableGrid::GetNumberRows(), CSeqTableGrid::GetRowLabelValue(), CSeqTableGrid::GetValuesTable(), i, m_Grid, m_MapRowLabelToIndex, m_SortByRowLabelAscend, ncbi::grid::netcache::search::fields::size, ct::sort(), and ToStdString().
Referenced by GetValuesTable(), OnLabelLeftClick(), and OnLabelLeftDClick().
Definition at line 1057 of file seq_table_grid.cpp.
References cmpTableValues(), column, CSeqTable_multi_data_Base::e_Id, CSeqTable_multi_data_Base::e_String, CSeqTableGrid::GetRowLabelValue(), CSeqTableGrid::GetValuesTable(), i, m_Grid, m_MapRowLabelToIndex, ct::sort(), and ToStdString().
Referenced by InitColumnCollapse(), OnCollapseColumn(), and OnSortTableByColumn().
|
private |
Definition at line 1151 of file seq_table_grid.cpp.
References _, set< Key, Compare >::end(), set< Key, Compare >::find(), m_CollapseCache, m_CollapseCell, m_CollapseCol, m_CollapseGlyphCol, m_Grid, m_SetOfReadOnlyCols, and val.
Referenced by x_CollapseTableByColumn(), and x_ExpandTableByColumn().
|
private |
Definition at line 2399 of file seq_table_grid.cpp.
References i, m_Grid, NULL, and CStringConstraintSelect::UpdateCountSelectedDisplay().
Referenced by OnCellLeftClick(), OnLabelLeftClick(), OnLabelLeftDClick(), and x_SelectHiddenRows().
|
private |
Definition at line 1798 of file seq_table_grid.cpp.
References NStr::Equal(), CSeqTable_column_Base::GetData(), CSeqTable_multi_data_Base::GetString(), i, CSeqTable_column_Base::IsSetData(), CSeqTable_multi_data_Base::IsString(), m_Choices, option, and ncbi::grid::netcache::search::fields::size.
Referenced by x_PasteCells().
|
private |
Definition at line 303 of file seq_table_grid.hpp.
Referenced by SetColumnSizesAndChoices(), UpdateColumnChoices(), and x_ValuesOkForNewColumn().
Definition at line 330 of file seq_table_grid.hpp.
Referenced by x_CollapseTableByColumn(), x_ExpandTable(), and x_UpdateCollapsedRow().
Definition at line 329 of file seq_table_grid.hpp.
Referenced by OnCellDoubleLeftClick(), OnCellLeftClick(), x_CollapseTableByColumn(), x_ExpandTable(), x_ExpandTableByColumn(), and x_UpdateCollapsedRow().
|
private |
Definition at line 331 of file seq_table_grid.hpp.
Referenced by CollapseByCol(), GetCollapseColAndExpand(), Init(), InitColumnCollapse(), OnCellDoubleLeftClick(), OnCellLeftClick(), OnCollapseColumn(), OnDeleteColumn(), OnExpandColumn(), OnSortTableByColumn(), x_CollapseTableByColumn(), x_ExpandTable(), x_ExpandTableByColumn(), and x_UpdateCollapsedRow().
|
private |
Definition at line 331 of file seq_table_grid.hpp.
Referenced by OnCellDoubleLeftClick(), OnCellLeftClick(), OnCollapseColumn(), OnDeleteColumn(), OnLabelLeftClick(), OnLabelLeftDClick(), OnSortTableByColumn(), x_CollapseTableByColumn(), x_ExpandTable(), x_ExpandTableByColumn(), x_SelectHiddenRows(), and x_UpdateCollapsedRow().
|
private |
Definition at line 304 of file seq_table_grid.hpp.
Referenced by OnPasteAppendCells(), x_OnCopyCells(), and x_OnPasteCells().
|
private |
Definition at line 337 of file seq_table_grid.hpp.
Referenced by Init(), OnCellDoubleLeftClick2(), and OnCellLeftClick().
|
private |
Definition at line 337 of file seq_table_grid.hpp.
Referenced by Init(), OnCellDoubleLeftClick2(), and OnCellLeftClick().
|
private |
Definition at line 308 of file seq_table_grid.hpp.
Referenced by OnSearchTable().
|
private |
Definition at line 336 of file seq_table_grid.hpp.
Referenced by CreateControls(), GetBestTableWidth(), GetGrid(), GetRowIndex(), GetValuesTable(), InitColumnCollapse(), InitMapRowLabelToIndex(), MakeAllColumnsReadOnly(), MakeColumnReadOnly(), OnCellDoubleLeftClick(), OnCellDoubleLeftClick2(), OnCellLeftClick(), OnCopyCellsFromId(), OnDeleteColumn(), OnLabelLeftClick(), OnLabelLeftDClick(), OnRenameColumn(), OnSearchTable(), OnSortTableByColumn(), SetBestTableWidth(), SetColumnSizesAndChoices(), SetValuesTable(), UpdateColumnChoices(), UpdateColumnLabelHeight(), x_CollapseTableByColumn(), x_ExpandTable(), x_ExpandTableByColumn(), x_MakeProblemsColumnReadOnly(), x_OnCopyCells(), x_PasteCells(), x_SelectHiddenRows(), x_SortByRowLabel(), x_SortTableByColumn(), x_UpdateCollapsedRow(), and x_UpdateCountSelectedDisplay().
Definition at line 307 of file seq_table_grid.hpp.
Referenced by GetRowIndex(), InitMapRowLabelToIndex(), OnLabelLeftDClick(), x_SortByRowLabel(), and x_SortTableByColumn().
|
private |
Definition at line 335 of file seq_table_grid.hpp.
Referenced by Init(), OnCollapseColumn(), OnCopyCells(), OnCopyCellsFromId(), OnDeleteColumn(), OnExpandColumn(), OnPasteAppendCells(), OnPasteCells(), OnRenameColumn(), and OnSearchTable().
|
private |
Definition at line 333 of file seq_table_grid.hpp.
Referenced by GetModified(), Init(), OnCellDoubleLeftClick(), OnCellDoubleLeftClick2(), OnCellLeftClick(), OnDeleteColumn(), OnRenameColumn(), and x_PasteCells().
Definition at line 332 of file seq_table_grid.hpp.
Referenced by MakeColumnReadOnly(), and x_UpdateCollapsedRow().
|
private |
Definition at line 305 of file seq_table_grid.hpp.
Referenced by Init(), OnLabelLeftClick(), OnLabelLeftDClick(), and OnSortTableByColumn().
|
private |
Definition at line 306 of file seq_table_grid.hpp.
Referenced by GetValuesTable(), Init(), OnSortTableByColumn(), and x_SortByRowLabel().
|
private |
Definition at line 334 of file seq_table_grid.hpp.
Referenced by Init(), and OnSortTableByColumn().
|
private |
Definition at line 302 of file seq_table_grid.hpp.
Referenced by CreateControls().