NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <wx/sizer.h>
#include <wx/choice.h>
#include <wx/stattext.h>
#include <wx/checkbox.h>
#include <wx/textctrl.h>
#include <wx/button.h>
#include <wx/bmpbuttn.h>
#include <wx/bitmap.h>
#include <wx/icon.h>
#include <wx/msgdlg.h>
#include <wx/filedlg.h>
#include <wx/dcclient.h>
#include <wx/settings.h>
#include <objmgr/bioseq_ci.hpp>
#include <gui/utils/view_event.hpp>
#include <gui/widgets/text_widget/text_item_panel.hpp>
#include <gui/widgets/text_widget/composite_traverser.hpp>
#include <gui/widgets/text_widget/plain_text_item.hpp>
#include <gui/widgets/seq/fasta_view_params.hpp>
#include <gui/widgets/wx/ieditor_factory.hpp>
#include <gui/widgets/wx/ui_command.hpp>
#include <gui/widgets/wx/fileartprov.hpp>
#include <gui/widgets/wx/aui_toolbar.hpp>
#include <gui/utils/extension_impl.hpp>
#include <gui/widgets/seq/text_panel.hpp>
#include <gui/widgets/seq/text_ds.hpp>
#include <gui/widgets/seq/asn_view_context.hpp>
#include <gui/widgets/text_widget/expand_item.hpp>
#include <gui/widgets/text_widget/expand_traverser.hpp>
#include <gui/widgets/seq/flat_file_header_item.hpp>
#include <gui/widgets/wx/richtextctrl.hpp>
#include <gui/widgets/seq/flat_file_retrieve_job.hpp>
#include <gui/widgets/seq/flat_file_context.hpp>
#include "text_commands.hpp"
#include "fasta_context.hpp"
#include <objects/seqloc/Seq_loc.hpp>
#include <objects/seqfeat/Seq_feat.hpp>
#include <objects/submit/Seq_submit.hpp>
#include <gui/objutils/registry.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include "text_view_options_dlg.hpp"
#include "select_sequence_dlg.hpp"
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CSaveTreeTraverser |
class | CRestoreTreeTraverser |
Functions | |
USING_SCOPE (objects) | |
static const CSeq_entry * | GetSeqEntryFromSeqSubmit (const CSerialObject *so) |
static CSeq_entry_Handle | GetSeqEntryHandle (CScope &scope, const CSerialObject &so) |
static CFlatFileConfig::EMode | s_FFMode (int val) |
static CFlatFileConfig::EStyle | s_FFStyle (bool showSequence) |
Variables | |
static const wxChar * | pszFlatFile = wxT("Flat File") |
static const wxChar * | pszFastA = wxT("FastA") |
static const wxChar * | pszASN = wxT("ASN") |
static const wxChar * | pszXML = wxT("XML") |
static const wxChar * | pszMainToolbar = wxT("Main Toolbar") |
static const wxChar * | pszSequenceToolbar = wxT("Sequence Toolbar") |
static const char * | kAllNucleotides = "Nucleotides" |
static const char * | kAllSequences = "All" |
static const char * | kMoreSequences = "More..." |
const size_t | kMaxSeqNumber = 25 |
static wxColor | m_BackgroundColor = *wxWHITE |
static bool | s_BackgroundColorSet = false |
static const char * | kTextViewPath = "GBENCH.TextView" |
static const char * | kFindMode = "FindMode" |
static const char * | kViewTypeSeq = "ViewTypeSeq" |
static const char * | kViewTypeFeat = "ViewTypeFeat" |
static const char * | kViewTypeGeneric = "ViewTypeGeneric" |
static const char * | kFontSize = "FontSize" |
static const char * | kFlatFileMode = "FlatFileMode" |
static const char * | kShowSequence = "ShowSequence" |
static const char * | kFlatFileSequence = "kFlatFileSequence" |
static const char * | kFeatureMode = "FeatureMode" |
static const char * | kASNShowTypes = "ASNShowTypes" |
static const char * | kASNShowPathToRoot = "ASNShowPathToRoot" |
static const char * | kFFHideVariations = "FFHideVariations" |
static const char * | kFFHideSTS = "FFHideSTS" |
static const char * | kOpenExpanded = "OpenExpanded" |
|
static |
Definition at line 476 of file text_panel.cpp.
References data, entries, CSeq_submit_Base::GetData(), and CSeq_submit_Base::IsSetData().
Referenced by CTextPanel::CanShowFlatFile(), GetSeqEntryHandle(), CTextPanel::InitWidget(), CTextPanel::x_LoadASN(), CTextPanel::x_LoadXML(), and CTextPanel::x_SaveViewType().
|
static |
Definition at line 493 of file text_panel.cpp.
References CScope::GetBioseq_setHandle(), CScope::GetBioseqHandle(), CScope::GetSeq_entryHandle(), GetSeqEntryFromSeqSubmit(), CBioseq_Handle::GetTopLevelEntry(), and CBioseq_set_Handle::GetTopLevelEntry().
Referenced by CTextPanel::CanShowFastA(), CTextPanel::x_LoadASN(), CTextPanel::x_LoadFastA(), CTextPanel::x_LoadFlatFile(), and CTextPanel::x_LoadXML().
|
static |
Definition at line 533 of file text_panel.cpp.
References CFlatFileConfig::eMode_Dump, CFlatFileConfig::eMode_Entrez, CFlatFileConfig::eMode_GBench, CFlatFileConfig::eMode_Release, and val.
Referenced by CTextPanel::x_CreateFlatFileContext(), CTextPanel::x_LoadFlatFile(), and CTextPanel::x_SelectFlatFileSequence().
|
static |
Definition at line 543 of file text_panel.cpp.
References CFlatFileConfig::eStyle_Master, and CFlatFileConfig::eStyle_Normal.
Referenced by CTextPanel::x_CreateFlatFileContext(), CTextPanel::x_LoadFlatFile(), and CTextPanel::x_SelectFlatFileSequence().
USING_SCOPE | ( | objects | ) |
|
static |
Definition at line 125 of file text_panel.cpp.
Referenced by CTextPanel::SequenceListLoaded(), CTextPanel::x_FillSeqList(), and CTextPanel::x_SelectFlatFileSequence().
|
static |
Definition at line 126 of file text_panel.cpp.
Referenced by CTextPanel::SequenceListLoaded(), CTextPanel::x_FillSeqList(), and CTextPanel::x_SelectFlatFileSequence().
|
static |
Definition at line 255 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 254 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 253 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 257 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 256 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 245 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 250 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 252 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 249 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
const size_t kMaxSeqNumber = 25 |
Definition at line 128 of file text_panel.cpp.
Referenced by CTextPanel::x_FillSeqList().
|
static |
Definition at line 127 of file text_panel.cpp.
Referenced by CTextPanel::x_FillSeqList(), and CTextPanel::x_SelectFlatFileSequence().
|
static |
Definition at line 258 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Definition at line 251 of file text_panel.cpp.
Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().
|
static |
Member initialisation
Definition at line 244 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), CTextPanel::UpdateRegistry(), CTextPanel::x_ReadRegistry(), and CTextPanel::x_SaveViewType().
|
static |
Definition at line 247 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), and CTextPanel::x_SaveViewType().
|
static |
Definition at line 248 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), and CTextPanel::x_SaveViewType().
|
static |
Definition at line 246 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), and CTextPanel::x_SaveViewType().
|
static |
Definition at line 130 of file text_panel.cpp.
Referenced by CTextPanel::CreateControls(), and CTextPanel::SetTextBackground().
Definition at line 119 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), and CTextPanel::SetInitialViewType().
Definition at line 118 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), CTextPanel::SetInitialViewType(), and CTextPanel::x_UpdateViewType().
CTextPanel type definition
CTextPanel event table definition
Definition at line 117 of file text_panel.cpp.
Referenced by CTextPanel::InitWidget(), CTextPanel::SetInitialViewType(), and CTextPanel::x_UpdateViewType().
Definition at line 122 of file text_panel.cpp.
Referenced by CTextPanel::AddExtensionToolbar(), and CTextPanel::x_CreateMainToolbar().
Definition at line 123 of file text_panel.cpp.
Referenced by CTextPanel::x_FillSeqList().
Definition at line 120 of file text_panel.cpp.
Referenced by CTextPanel::SetInitialViewType().
Definition at line 131 of file text_panel.cpp.
Referenced by CTextPanel::CreateControls(), and CTextPanel::SetTextBackground().