28 #ifndef _EDIT_SEQ_ID_H_
29 #define _EDIT_SEQ_ID_H_
43 #include "wx/wxprec.h"
69 #define ID_CEDIT_SEQ_ID 10420
70 #define SYMBOL_CEDIT_SEQ_ID_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
71 #define SYMBOL_CEDIT_SEQ_ID_TITLE _("Edit Sequence Id")
72 #define SYMBOL_CEDIT_SEQ_ID_IDNAME ID_CEDIT_SEQ_ID
73 #define SYMBOL_CEDIT_SEQ_ID_SIZE wxSize(400, 300)
74 #define SYMBOL_CEDIT_SEQ_ID_POSITION wxDefaultPosition
109 DECLARE_EVENT_TABLE()
206 #define ID_REMOVE_GENERAL_ID 10420
207 #define SYMBOL_REMOVE_GENERAL_ID_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
208 #define SYMBOL_REMOVE_GENERAL_ID_TITLE _("Remove General Id")
209 #define SYMBOL_REMOVE_GENERAL_ID_IDNAME ID_REMOVE_GENERAL_ID
210 #define SYMBOL_REMOVE_GENERAL_ID_SIZE wxSize(400, 300)
211 #define SYMBOL_REMOVE_GENERAL_ID_POSITION wxDefaultPosition
217 DECLARE_EVENT_TABLE()
CAccessionToLocalId(objects::CSeq_entry_Handle seh, CSeq_inst::EMol filter, bool force_name)
void x_GetReplacementIds(CConstRef< CSeq_id > id, bool force_name)
CRef< CCmdComposite > GetRemoveOriginalIdCommand(void)
wxRadioButton * m_Proteins
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void x_CollectChangedIds(void)
bool Create(wxWindow *parent, wxWindowID id=10420, const wxString &caption=_("Edit Sequence Id"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
wxRadioButton * m_GeneralTag
CStringConstraintPanel * m_StringConstraintPanel
CEditSeqId()
Constructors.
CParseTextOptionsDlg * m_ParseOptions
static bool ShowToolTips()
Should we show tooltips?
CEditSeqId(wxWindow *parent, objects::CSeq_entry_Handle seh, wxWindowID id=10420, const wxString &caption=_("Edit Sequence Id"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
virtual CRef< CCmdComposite > GetCommand(void)
virtual ~CEditSeqId()
Destructor.
void Init()
Initialises member variables.
wxCheckBox * m_RemoveOrig
void CreateControls()
Creates the controls and sizers.
wxRadioButton * m_GeneralDb
CGeneralToLocalId(objects::CSeq_entry_Handle seh, CSeq_inst::EMol filter=CSeq_inst::eMol_not_set)
CLocalToGeneralId(objects::CSeq_entry_Handle seh, CSeq_inst::EMol filter=CSeq_inst::eMol_not_set)
vector< pair< CConstRef< CSeq_id >, CRef< CSeq_id > > > m_old_to_new_id
void x_ChangeId(objects::CSeq_id &id)
virtual CRef< CCmdComposite > GetCommand(void)
void x_UpdateSeqAlign(objects::CSeq_align &align)
virtual void x_UpdateBioseq(CRef< CBioseq > new_seq)
void x_UpdateSeqAnnot(objects::CSeq_annot &annot)
void x_GetRemoveOriginalIdCommand(CRef< CCmdComposite > cmd)
objects::CSeq_entry_Handle m_TopSeqEntry
set< string > m_remove_ids
void x_UpdateLoc(objects::CSeq_loc &loc)
void x_UpdateVariation(objects::CVariation_ref &var)
CModifySeqId(objects::CSeq_entry_Handle seh, const string &name)
void x_UpdateFeat(objects::CSeq_feat &feat)
CStringConstraintPanel * m_StringConstraintPanel
void Init()
Initialises member variables.
static bool ShowToolTips()
Should we show tooltips?
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
bool Create(wxWindow *parent, wxWindowID id=10420, const wxString &caption=_("Remove General Id"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
void x_CollectChangedIds(void)
CRemoveGeneralId()
Constructors.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
virtual ~CRemoveGeneralId()
Destructor.
void CreateControls()
Creates the controls and sizers.
virtual CRef< CCmdComposite > GetCommand(void)
CRemoveGeneralId(wxWindow *parent, objects::CSeq_entry_Handle seh, wxWindowID id=10420, const wxString &caption=_("Remove General Id"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
CRemoveName(objects::CSeq_entry_Handle seh)
void x_GetReplacementIds(CConstRef< CSeq_id > id)
virtual void x_UpdateBioseq(CRef< CBioseq > new_seq)
CRef< CCmdComposite > GetRemoveOriginalIdCommand()
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define SYMBOL_REMOVE_GENERAL_ID_IDNAME
#define SYMBOL_REMOVE_GENERAL_ID_POSITION
#define SYMBOL_CEDIT_SEQ_ID_SIZE
#define SYMBOL_REMOVE_GENERAL_ID_TITLE
#define SYMBOL_CEDIT_SEQ_ID_TITLE
#define SYMBOL_CEDIT_SEQ_ID_IDNAME
#define SYMBOL_REMOVE_GENERAL_ID_STYLE
#define SYMBOL_CEDIT_SEQ_ID_POSITION
#define SYMBOL_CEDIT_SEQ_ID_STYLE
#define SYMBOL_REMOVE_GENERAL_ID_SIZE
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
EMol
molecule class in living organism
@ eMol_not_set
> cdna = rna
const struct ncbi::grid::netcache::search::fields::SIZE size