28 #ifndef _BULK_CDS_EDIT_H_
29 #define _BULK_CDS_EDIT_H_
38 #include <wx/dialog.h>
42 #define SYMBOL_CDSEDITDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
43 #define SYMBOL_CDSEDITDIALOG_TITLE _("CDS Editing")
44 #define SYMBOL_CDSEDITDIALOG_IDNAME wxID_ANY
45 #define SYMBOL_CDSEDITDIALOG_SIZE wxDefaultSize
46 #define SYMBOL_CDSEDITDIALOG_POSITION wxDefaultPosition
82 bool IsReadOnlyColumn(
string column_name) {
if (column_name ==
"location" || column_name.empty() || column_name ==
"expand")
return true;
return false; };
#define SYMBOL_CDSEDITDIALOG_STYLE
#define SYMBOL_CDSEDITDIALOG_IDNAME
#define SYMBOL_CDSEDITDIALOG_TITLE
#define SYMBOL_CDSEDITDIALOG_POSITION
#define SYMBOL_CDSEDITDIALOG_SIZE
vector< CSeq_feat_Handle > m_FeatHandles
static bool ShowToolTips()
Should we show tooltips?
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("CDS Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
void CreateControls()
Creates the controls and sizers.
CRef< CCmdComposite > GetCommandFromValuesTable(CRef< objects::CSeq_table >)
void OnClickCancel(wxCommandEvent &event)
CSeqTableGridPanel * m_GridPanel
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void GetUpdateMRNAProductNameCmd(CRef< CSeq_feat > cds, CScope &scope, const string &prot_name, CRef< CCmdComposite > composite)
void Init()
Initialises member variables.
wxCheckBox * m_CopyProtNameToComment
virtual const CObject * RowToScopedObjects(int row, TConstScopedObjects &objects, CBioseq_Handle &bsh)
CRef< objects::CSeq_table > GetChoices(CRef< objects::CSeq_table > values_table)
CRef< CCmdComposite > GetCommand()
CApplyEditconvertPanel * m_AecrPanel
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
CRef< objects::CSeq_table > GetValuesTableFromSeqEntry()
CStringConstraintSelect * m_StringConstraintPanel
void OnClickOk(wxCommandEvent &event)
bool IsReadOnlyColumn(string column_name)
IWorkbench is the central interface in the application framework.
Include a standard set of the NCBI C++ Toolkit most basic headers.
vector< SConstScopedObject > TConstScopedObjects
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
#define row(bind, expected)