Go to the documentation of this file.Go to the SVN repository for this file.
28 #ifndef _REMOVE_SEQ_FROM_ALIGN_DLG_H_
29 #define _REMOVE_SEQ_FROM_ALIGN_DLG_H_
36 #include <wx/dialog.h>
45 #include <wx/listctrl.h>
46 #include <wx/radiobut.h>
47 #include <wx/checkbox.h>
48 #include <wx/textctrl.h>
68 #define ID_CREMOVE_SEQ_FROM_ALIGN_DLG 12000
69 #define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
70 #define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_TITLE _("Remove Sequences From Alignments")
71 #define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_IDNAME ID_CREMOVE_SEQ_FROM_ALIGN_DLG
72 #define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_SIZE wxDefaultSize
73 #define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_POSITION wxDefaultPosition
75 #define ID_LISTCTRL_SEQ_ALIGN 12001
95 void Init(objects::CSeq_entry_Handle seh);
98 void CreateControls();
101 wxBitmap GetBitmapResource(
const wxString& name );
104 wxIcon GetIconResource(
const wxString& name );
107 static bool ShowToolTips();
110 static void ApplyToCSeq_entry (objects::CSeq_entry_Handle tse,
CCmdComposite* composite,
const vector<string> &
names);
116 static bool RemoveIdLabel(
const CSeq_align& align,
string name,
bool& modified);
119 void SearchSeq_entry (objects::CSeq_entry_Handle tse,
const CSeq_entry& se);
120 static bool GetIdsFromLocs(
const CStd_seg::TLoc& locs,
set<string> &labels,
const string name=
"",
bool detect=
false,
bool found=
false);
121 static bool GetIdsFromLoc(
const CSeq_loc& loc,
set<string> &labels,
const string name=
"",
bool detect=
false,
bool found=
false);
objects::CSeq_entry_Handle m_TopSeqEntry
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const struct name_t names[]
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
vector< CRef< CSeq_loc > > TLoc
const struct ncbi::grid::netcache::search::fields::SIZE size
#define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_STYLE
#define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_IDNAME
#define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_SIZE
#define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_TITLE
#define SYMBOL_CREMOVE_SEQ_FROM_ALIGN_DLG_POSITION