(parent,
id, caption, pos,
size, style);
96 bool CLowerQuals::Create( wxWindow* parent, wxWindowID
id,
constwxString& caption,
constwxPoint& pos,
constwxSize&
size,
longstyle )
99SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
105GetSizer()->SetSizeHints(
this);
146wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
147itemCBulkCmdDlg1->SetSizer(itemBoxSizer2);
151vector<CFieldNamePanel::EFieldType> field_types;
166wxBoxSizer* itemBoxSizer6 =
newwxBoxSizer(wxHORIZONTAL);
167itemBoxSizer2->Add(itemBoxSizer6, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 0);
169wxRadioButton* itemRadioButton1 =
newwxRadioButton( itemCBulkCmdDlg1,
wxID_ANY,
_(
"Descriptors and Features"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
170itemRadioButton1->SetValue(
true);
171itemBoxSizer6->Add(itemRadioButton1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
175itemBoxSizer6->Add(
m_RadioDesc, 0, wxALIGN_CENTER_VERTICAL |wxALL, 5);
179itemBoxSizer6->Add(
m_RadioFeat, 0, wxALIGN_CENTER_VERTICAL |wxALL, 5);
187itemBoxSizer2->Add(
m_OkCancel, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
242vector<CRef<edit::CApplyObject> > objs = col->
GetApplyObjects(seh, constraint_field, string_constraint);
245wxMessageBox(
wxT(
"No features found!"),
wxT(
"Error"),
246wxOK | wxICON_ERROR,
NULL);
253 if(!(*src_it)->PreExists())
257 string val= col->
GetVal((*src_it)->GetObject());
258 stringnew_val =
val;
259 const CSeqdesc* desc =
dynamic_cast<const CSeqdesc*
>((*src_it)->GetOriginalObject());
260 const CSeq_feat* feat =
dynamic_cast<const CSeq_feat*
>((*src_it)->GetOriginalObject());
261 boolis_src_org =
false;
281 cmd->AddCommand(*ecmd);
objects::CSeq_entry_Handle m_TopSeqEntry
bool Create(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
bool GetTopLevelSeqEntryAndProcessor()
void UpdateChildrenFeaturePanels(wxSizer *sizer)
wxRadioButton * m_CapTolower
objects::ECapChange GetCapitalizationRequest()
virtual string GetFieldName(const bool subfield=false)
Returns the name of the field as selected in the panel.
bool SetFieldType(CFieldNamePanel::EFieldType field_type, bool is_pair=false)
void ProcessUpdateFeatEvent(wxCommandEvent &event)
CLowerQuals()
Constructors.
virtual string GetErrorMessage()
CFieldChoicePanel * m_FieldType
void CreateControls()
Creates the controls and sizers.
bool Create(wxWindow *parent, wxWindowID id=10147, const wxString &caption=_("Lowercase Qualifiers"), 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.
virtual CRef< CCmdComposite > GetCommand()
~CLowerQuals()
Destructor.
wxRadioButton * m_RadioFeat
static bool ShowToolTips()
Should we show tooltips?
wxRadioButton * m_RadioDesc
COkCancelPanel * m_OkCancel
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void Init()
Initialises member variables.
CCapChangePanel * m_CapChangeOptions
vector< CRef< objects::edit::CApplyObject > > GetApplyObjects(objects::CBioseq_Handle bsh)
string GetVal(const CObject &object)
bool SetVal(CObject &object, const string &val, objects::edit::EExistingText existing_text)
namespace ncbi::objects::
IWorkbench is the central interface in the application framework.
static auto & FixCapitalizationInString
#define EVT_UPDATE_FEATURE_LIST(id, fn)
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
bool IsSetOrg(void) const
Check if a value has been assigned to Org data member.
bool IsSetData(void) const
the specific data Check if a value has been assigned to Data data member.
const TData & GetData(void) const
Get the Data member data.
const TBiosrc & GetBiosrc(void) const
Get the variant data.
bool IsBiosrc(void) const
Check if variant Biosrc is selected.
const TSource & GetSource(void) const
Get the variant data.
bool IsSource(void) const
Check if variant Source is selected.
CRef< CCmdComposite > GetCommandFromApplyObject(objects::edit::CApplyObject &obj)
const struct ncbi::grid::netcache::search::fields::SIZE size
@ eExistingText_replace_old
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4