29 #ifndef _BULK_MISCFEAT_EDIT_H_
30 #define _BULK_MISCFEAT_EDIT_H_
45 #define SYMBOL_MISCFEATEDITDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
46 #define SYMBOL_MISCFEATEDITDIALOG_TITLE _("Misc Feature Editing")
47 #define SYMBOL_MISCFEATEDITDIALOG_IDNAME wxID_ANY
48 #define SYMBOL_MISCFEATEDITDIALOG_SIZE wxDefaultSize
49 #define SYMBOL_MISCFEATEDITDIALOG_POSITION wxDefaultPosition
61 objects::CSeq_entry_Handle seh,
71 const vector<CSeq_feat_Handle> &feat_handles,
80 bool Create( wxWindow* parent,
106 return (column_name ==
"location" || column_name.empty() || column_name ==
"expand");
#define SYMBOL_MISCFEATEDITDIALOG_IDNAME
#define SYMBOL_MISCFEATEDITDIALOG_POSITION
#define SYMBOL_MISCFEATEDITDIALOG_SIZE
#define SYMBOL_MISCFEATEDITDIALOG_STYLE
#define SYMBOL_MISCFEATEDITDIALOG_TITLE
bool IsReadOnlyColumn(string column_name)
CBulkMiscFeat(wxWindow *parent, objects::CSeq_entry_Handle seh, IWorkbench *workbench, CConstRef< objects::CSeq_submit > seqSubmit, wxWindowID id=wxID_ANY, const wxString &caption=_("Misc Feature Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Misc Feature Editing"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
CRef< CCmdComposite > GetCommand()
wxBitmap GetBitmapResource(const wxString &name)
CRef< CCmdComposite > GetCommandFromValuesTable(CRef< objects::CSeq_table >)
void CreateControls()
Creates the controls and sizers.
vector< CSeq_feat_Handle > m_FeatHandles
CSeqTableGridPanel * m_GridPanel
CRef< objects::CSeq_table > GetValuesTableFromSeqEntry()
void OnClickCancel(wxCommandEvent &event)
CBulkMiscFeat()
Constructors.
virtual const CObject * RowToScopedObjects(int row, TConstScopedObjects &objects, CBioseq_Handle &bsh)
CRef< objects::CSeq_table > GetChoices(CRef< objects::CSeq_table > values_table)
void Init()
Initialises member variables.
CApplyEditconvertPanel * m_AecrPanel
static bool ShowToolTips()
Should we show tooltips?
void OnClickOk(wxCommandEvent &event)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
~CBulkMiscFeat()
Destructor.
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)