28 #ifndef _BULK_EDIT_FEAT_DLG_H_
29 #define _BULK_EDIT_FEAT_DLG_H_
49 #include <wx/radiobut.h>
50 #include <wx/choice.h>
51 #include <wx/notebook.h>
52 #include <wx/combobox.h>
53 #include <wx/radiobox.h>
74 #define ID_CBULKEDITFEATDLG 10268
75 #define ID_EFL_FEATURETYPE 10269
76 #define ID_EFL_CONSTRAINT 10272
77 #define ID_EFL_OKCANCEL 10275
78 #define SYMBOL_CBULKEDITFEATDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
79 #define SYMBOL_CBULKEDITFEATDLG_TITLE _("BulkEditFeatDlg")
80 #define SYMBOL_CBULKEDITFEATDLG_IDNAME ID_CBULKEDITFEATDLG
81 #define SYMBOL_CBULKEDITFEATDLG_SIZE wxSize(800, 300)
82 #define SYMBOL_CBULKEDITFEATDLG_POSITION wxDefaultPosition
178 DECLARE_EVENT_TABLE()
182 CEvidencePanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
183 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
196 DECLARE_EVENT_TABLE()
200 CBlkEdtFeatLocationPanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
201 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
216 DECLARE_EVENT_TABLE()
220 CStrandPanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
221 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
237 DECLARE_EVENT_TABLE()
241 CRevIntPanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
242 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
255 DECLARE_EVENT_TABLE()
259 CResyncPanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
260 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
273 DECLARE_EVENT_TABLE()
277 CPseudoPanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
278 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
293 DECLARE_EVENT_TABLE()
297 CExceptionPanel( wxWindow* parent,
bool is_refseq, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
298 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
316 DECLARE_EVENT_TABLE()
320 CExperimentPanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
321 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
339 DECLARE_EVENT_TABLE()
343 CEditInferencePanel( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
344 bool Create( wxWindow* parent, wxWindowID
id =
wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize&
size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
#define SYMBOL_CBULKEDITFEATDLG_IDNAME
#define SYMBOL_CBULKEDITFEATDLG_TITLE
#define SYMBOL_CBULKEDITFEATDLG_STYLE
#define SYMBOL_CBULKEDITFEATDLG_POSITION
#define SYMBOL_CBULKEDITFEATDLG_SIZE
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
wxIcon GetIconResource(const wxString &name)
CBlkEdtFeatLocationPanel()
CEditFeatLocPanel * m_EditLoc
static bool ShowToolTips()
~CBlkEdtFeatLocationPanel()
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
wxBitmap GetBitmapResource(const wxString &name)
CBulkEditFeatDlg()
Constructors.
virtual void UpdateEditor()
virtual string GetErrorMessage()
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
virtual void LoadSettings()
CFeatureTypePanel * m_FeatureType
virtual void SetRegistryPath(const string ®_path)
virtual CRef< CCmdComposite > GetCommand()
void SetEditingType(EEditingType editing_type)
COkCancelPanel * m_OkCancel
void Init()
Initialises member variables.
void UpdateChildrenFeaturePanels(wxWindow *win)
void ProcessUpdateFeatEvent(wxCommandEvent &event)
bool Create(wxWindow *parent, IWorkbench *wb, wxWindowID id=10268, const wxString &caption=_("BulkEditFeatDlg"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
~CBulkEditFeatDlg()
Destructor.
virtual void SaveSettings() const
static bool ShowToolTips()
Should we show tooltips?
void CreateControls()
Creates the controls and sizers.
CConstraintPanel * m_Constraint
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
virtual ~CBulkFeatEditCmdPanel()
void OnCreateOrDelete(wxCommandEvent &event)
CInferencePanel * m_SingleInference
wxBitmap GetBitmapResource(const wxString &name)
wxRadioBox * m_CreateOrDelete
wxIcon GetIconResource(const wxString &name)
static bool ShowToolTips()
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
wxIcon GetIconResource(const wxString &name)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
wxBitmap GetBitmapResource(const wxString &name)
static bool ShowToolTips()
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
wxRadioBox * m_FeatureProduct
static bool ShowToolTips()
wxCheckBox * m_MoveToComment
wxIcon GetIconResource(const wxString &name)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
wxBitmap GetBitmapResource(const wxString &name)
void OnCreateOrDelete(wxCommandEvent &event)
wxIcon GetIconResource(const wxString &name)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
static bool ShowToolTips()
wxRadioBox * m_CreateOrDelete
wxBitmap GetBitmapResource(const wxString &name)
CSingleExperimentPanel * m_SingleExperiment
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
static bool ShowToolTips()
wxBitmap GetBitmapResource(const wxString &name)
wxChoice * m_PseudogeneChoice
wxIcon GetIconResource(const wxString &name)
wxIcon GetIconResource(const wxString &name)
wxBitmap GetBitmapResource(const wxString &name)
static bool ShowToolTips()
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
static bool ShowToolTips()
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
wxIcon GetIconResource(const wxString &name)
wxBitmap GetBitmapResource(const wxString &name)
wxIcon GetIconResource(const wxString &name)
virtual bool AddCommand(vector< CConstRef< CObject > > &objs, CRef< CCmdComposite > cmd, CScope &scope)
wxBitmap GetBitmapResource(const wxString &name)
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
static bool ShowToolTips()
IWorkbench is the central interface in the application framework.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#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