NCBI C++ ToolKit
Classes | Functions | Variables
text_panel.cpp File Reference
#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"
+ Include dependency graph for text_panel.cpp:

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_entryGetSeqEntryFromSeqSubmit (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"
 

Function Documentation

◆ GetSeqEntryFromSeqSubmit()

static const CSeq_entry* GetSeqEntryFromSeqSubmit ( const CSerialObject so)
static

◆ GetSeqEntryHandle()

static CSeq_entry_Handle GetSeqEntryHandle ( CScope scope,
const CSerialObject so 
)
static

◆ s_FFMode()

static CFlatFileConfig::EMode s_FFMode ( int  val)
static

◆ s_FFStyle()

static CFlatFileConfig::EStyle s_FFStyle ( bool  showSequence)
static

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kAllNucleotides

const char* kAllNucleotides = "Nucleotides"
static

◆ kAllSequences

const char* kAllSequences = "All"
static

◆ kASNShowPathToRoot

const char * kASNShowPathToRoot = "ASNShowPathToRoot"
static

Definition at line 255 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kASNShowTypes

const char * kASNShowTypes = "ASNShowTypes"
static

Definition at line 254 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFeatureMode

const char * kFeatureMode = "FeatureMode"
static

Definition at line 253 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFFHideSTS

const char * kFFHideSTS = "FFHideSTS"
static

Definition at line 257 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFFHideVariations

const char * kFFHideVariations = "FFHideVariations"
static

Definition at line 256 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFindMode

const char * kFindMode = "FindMode"
static

Definition at line 245 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFlatFileMode

const char * kFlatFileMode = "FlatFileMode"
static

Definition at line 250 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFlatFileSequence

const char * kFlatFileSequence = "kFlatFileSequence"
static

Definition at line 252 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kFontSize

const char * kFontSize = "FontSize"
static

Definition at line 249 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kMaxSeqNumber

const size_t kMaxSeqNumber = 25

Definition at line 128 of file text_panel.cpp.

Referenced by CTextPanel::x_FillSeqList().

◆ kMoreSequences

const char* kMoreSequences = "More..."
static

◆ kOpenExpanded

const char * kOpenExpanded = "OpenExpanded"
static

Definition at line 258 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kShowSequence

const char * kShowSequence = "ShowSequence"
static

Definition at line 251 of file text_panel.cpp.

Referenced by CTextPanel::UpdateRegistry(), and CTextPanel::x_ReadRegistry().

◆ kTextViewPath

const char* kTextViewPath = "GBENCH.TextView"
static

◆ kViewTypeFeat

const char * kViewTypeFeat = "ViewTypeFeat"
static

Definition at line 247 of file text_panel.cpp.

Referenced by CTextPanel::InitWidget(), and CTextPanel::x_SaveViewType().

◆ kViewTypeGeneric

const char * kViewTypeGeneric = "ViewTypeGeneric"
static

Definition at line 248 of file text_panel.cpp.

Referenced by CTextPanel::InitWidget(), and CTextPanel::x_SaveViewType().

◆ kViewTypeSeq

const char * kViewTypeSeq = "ViewTypeSeq"
static

Definition at line 246 of file text_panel.cpp.

Referenced by CTextPanel::InitWidget(), and CTextPanel::x_SaveViewType().

◆ m_BackgroundColor

wxColor m_BackgroundColor = *wxWHITE
static

Definition at line 130 of file text_panel.cpp.

Referenced by CTextPanel::CreateControls(), and CTextPanel::SetTextBackground().

◆ pszASN

const wxChar* pszASN = wxT("ASN")
static

Definition at line 119 of file text_panel.cpp.

Referenced by CTextPanel::InitWidget(), and CTextPanel::SetInitialViewType().

◆ pszFastA

const wxChar* pszFastA = wxT("FastA")
static

◆ pszFlatFile

const wxChar* pszFlatFile = wxT("Flat File")
static

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().

◆ pszMainToolbar

const wxChar* pszMainToolbar = wxT("Main Toolbar")
static

◆ pszSequenceToolbar

const wxChar* pszSequenceToolbar = wxT("Sequence Toolbar")
static

Definition at line 123 of file text_panel.cpp.

Referenced by CTextPanel::x_FillSeqList().

◆ pszXML

const wxChar* pszXML = wxT("XML")
static

Definition at line 120 of file text_panel.cpp.

Referenced by CTextPanel::SetInitialViewType().

◆ s_BackgroundColorSet

bool s_BackgroundColorSet = false
static

Definition at line 131 of file text_panel.cpp.

Referenced by CTextPanel::CreateControls(), and CTextPanel::SetTextBackground().

Modified on Fri Sep 20 14:57:36 2024 by modify_doxy.py rev. 669887