NCBI C++ ToolKit
|
Search Toolkit Book for CSubpanel
#include <gui/packages/pkg_sequence_edit/apply_edit_convert_panel.hpp>
Public Member Functions | |
CSubpanel () | |
CSubpanel (wxWindow *parent, wxGrid *grid, wxArrayString &choices, wxWindowID id, const wxPoint &pos, const wxSize &size, long style) | |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) |
virtual | ~CSubpanel () |
bool | ShowToolTips () |
wxBitmap | GetBitmapResource (const wxString &name) |
wxIcon | GetIconResource (const wxString &name) |
objects::edit::EExistingText | GetExistingTextHandling (const string &field) |
virtual void | Init () |
virtual void | CreateControls () |
virtual void | ApplyToAll (int col) |
virtual void | ApplyToSelected (int col, const std::set< int > &selected) |
virtual void | SetColumns (wxArrayString &columns) |
void | ChangeValue (const string &new_value, int row, int col) |
CApplyEditconvertPanel * | GetBaseFrame () |
wxListBox * | GetListBox () |
int | GetColumn2 () |
Protected Attributes | |
wxGrid * | m_Grid |
wxListBox * | m_ListBox |
wxListBox * | m_ListBox2 |
wxArrayString * | m_Choices |
Definition at line 170 of file apply_edit_convert_panel.hpp.
|
inline |
Definition at line 176 of file apply_edit_convert_panel.hpp.
References Init().
|
inline |
Definition at line 177 of file apply_edit_convert_panel.hpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
|
inlinevirtual |
Definition at line 193 of file apply_edit_convert_panel.hpp.
|
inlinevirtual |
Reimplemented in CChangeCaseSubpanel, CParseSubpanel, CConvertSubpanel, CSwapSubpanel, CRemoveSubpanel, CEditSubpanel, and CApplySubpanel.
Definition at line 200 of file apply_edit_convert_panel.hpp.
Referenced by CApplyEditconvertPanel::OnApplyToAllButtonClick().
Reimplemented in CChangeCaseSubpanel, CParseSubpanel, CConvertSubpanel, CSwapSubpanel, CRemoveSubpanel, CEditSubpanel, and CApplySubpanel.
Definition at line 201 of file apply_edit_convert_panel.hpp.
Referenced by CApplyEditconvertPanel::OnApplyToSelButtonClick().
Definition at line 496 of file apply_edit_convert_panel.cpp.
References CApplyEditconvertPanel::AddUndo(), GetBaseFrame(), m_Grid, and row.
Referenced by CApplySubpanel::ApplyToAll(), CEditSubpanel::ApplyToAll(), CRemoveSubpanel::ApplyToAll(), CSwapSubpanel::ApplyToAll(), CConvertSubpanel::ApplyToAll(), CParseSubpanel::ApplyToAll(), CChangeCaseSubpanel::ApplyToAll(), CApplySubpanel::ApplyToSelected(), CEditSubpanel::ApplyToSelected(), CRemoveSubpanel::ApplyToSelected(), CSwapSubpanel::ApplyToSelected(), CConvertSubpanel::ApplyToSelected(), CParseSubpanel::ApplyToSelected(), and CChangeCaseSubpanel::ApplyToSelected().
|
inline |
Definition at line 182 of file apply_edit_convert_panel.hpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CApplySubpanel::CApplySubpanel(), CChangeCaseSubpanel::CChangeCaseSubpanel(), CConvertSubpanel::CConvertSubpanel(), CEditSubpanel::CEditSubpanel(), CParseSubpanel::CParseSubpanel(), CRemoveSubpanel::CRemoveSubpanel(), CSubpanel(), and CSwapSubpanel::CSwapSubpanel().
|
inlinevirtual |
Reimplemented in CChangeCaseSubpanel, CParseSubpanel, CConvertSubpanel, CSwapSubpanel, CRemoveSubpanel, CEditSubpanel, and CApplySubpanel.
Definition at line 199 of file apply_edit_convert_panel.hpp.
Referenced by Create().
CApplyEditconvertPanel * CSubpanel::GetBaseFrame | ( | ) |
Definition at line 483 of file apply_edit_convert_panel.cpp.
References NULL.
Referenced by ChangeValue(), and GetColumn2().
|
inline |
Definition at line 195 of file apply_edit_convert_panel.hpp.
int CSubpanel::GetColumn2 | ( | ) |
Definition at line 509 of file apply_edit_convert_panel.cpp.
References GetBaseFrame(), GetBulkSourceFrame(), SrcEditDialog::GetNewColumn(), i, m_Grid, m_ListBox, and m_ListBox2.
Referenced by CSwapSubpanel::ApplyToAll(), CConvertSubpanel::ApplyToAll(), CParseSubpanel::ApplyToAll(), CSwapSubpanel::ApplyToSelected(), CConvertSubpanel::ApplyToSelected(), and CParseSubpanel::ApplyToSelected().
objects::edit::EExistingText CSubpanel::GetExistingTextHandling | ( | const string & | field | ) |
Definition at line 457 of file apply_edit_convert_panel.cpp.
References CExistingTextDlg::AllowAdditionalQual(), column, eExistingText_cancel, eExistingText_replace_old, CExistingTextDlg::GetExistingTextHandler(), msg(), ToWxString(), and wxT.
Referenced by CApplySubpanel::ApplyToAll(), CConvertSubpanel::ApplyToAll(), CParseSubpanel::ApplyToAll(), CApplySubpanel::ApplyToSelected(), CConvertSubpanel::ApplyToSelected(), and CParseSubpanel::ApplyToSelected().
|
inline |
Definition at line 196 of file apply_edit_convert_panel.hpp.
|
inline |
Definition at line 205 of file apply_edit_convert_panel.hpp.
References m_ListBox.
Referenced by CApplyEditconvertPanel::GetListBox().
|
inlinevirtual |
Definition at line 198 of file apply_edit_convert_panel.hpp.
References m_ListBox, m_ListBox2, and NULL.
Referenced by CApplySubpanel::CApplySubpanel(), CChangeCaseSubpanel::CChangeCaseSubpanel(), CConvertSubpanel::CConvertSubpanel(), CEditSubpanel::CEditSubpanel(), CParseSubpanel::CParseSubpanel(), CRemoveSubpanel::CRemoveSubpanel(), CSubpanel(), and CSwapSubpanel::CSwapSubpanel().
|
inlinevirtual |
Reimplemented in CParseSubpanel, CConvertSubpanel, and CSwapSubpanel.
Definition at line 202 of file apply_edit_convert_panel.hpp.
References columns, and m_ListBox.
Referenced by CApplyEditconvertPanel::SetColumns(), CSwapSubpanel::SetColumns(), CConvertSubpanel::SetColumns(), and CParseSubpanel::SetColumns().
|
inline |
Definition at line 194 of file apply_edit_convert_panel.hpp.
|
protected |
Definition at line 212 of file apply_edit_convert_panel.hpp.
Referenced by CApplySubpanel::CApplySubpanel(), CChangeCaseSubpanel::CChangeCaseSubpanel(), CConvertSubpanel::CConvertSubpanel(), CEditSubpanel::CEditSubpanel(), CParseSubpanel::CParseSubpanel(), CRemoveSubpanel::CRemoveSubpanel(), and CSwapSubpanel::CSwapSubpanel().
|
protected |
Definition at line 209 of file apply_edit_convert_panel.hpp.
Referenced by CApplySubpanel::ApplyToAll(), CEditSubpanel::ApplyToAll(), CRemoveSubpanel::ApplyToAll(), CSwapSubpanel::ApplyToAll(), CConvertSubpanel::ApplyToAll(), CParseSubpanel::ApplyToAll(), CChangeCaseSubpanel::ApplyToAll(), CApplySubpanel::ApplyToSelected(), CEditSubpanel::ApplyToSelected(), CRemoveSubpanel::ApplyToSelected(), CSwapSubpanel::ApplyToSelected(), CConvertSubpanel::ApplyToSelected(), CParseSubpanel::ApplyToSelected(), CChangeCaseSubpanel::ApplyToSelected(), CApplySubpanel::CApplySubpanel(), CChangeCaseSubpanel::CChangeCaseSubpanel(), CConvertSubpanel::CConvertSubpanel(), CEditSubpanel::CEditSubpanel(), ChangeValue(), CParseSubpanel::CParseSubpanel(), CRemoveSubpanel::CRemoveSubpanel(), CSwapSubpanel::CSwapSubpanel(), and GetColumn2().
|
protected |
Definition at line 210 of file apply_edit_convert_panel.hpp.
Referenced by GetColumn2(), GetListBox(), Init(), and SetColumns().
|
protected |
Definition at line 211 of file apply_edit_convert_panel.hpp.
Referenced by GetColumn2(), Init(), CSwapSubpanel::SetColumns(), CConvertSubpanel::SetColumns(), and CParseSubpanel::SetColumns().