47 vector<string> choices;
53 vector<string> values;
59 wxWindow* w = this->GetParent();
100 val =
"Source Qualifier";
106 val =
"Feature Qualifier";
109 val =
"CDS-Gene-Prot Qualifier";
112 val =
"RNA Qualifier";
118 val =
"Protein Field";
121 val =
"MolInfo Qualifier";
124 val =
"Pub Qualifier";
127 val =
"Structured Comment";
130 val =
"DBLink Field";
136 val =
"Misc Qualifiers";
230 return target == macro::CMacroBioData::sm_CdRegion ||
231 target == macro::CMacroBioData::sm_Gene ||
232 target == macro::CMacroBioData::sm_ImpFeat ||
233 target == macro::CMacroBioData::sm_Miscfeat ||
234 target == macro::CMacroBioData::sm_miscRNA ||
235 target == macro::CMacroBioData::sm_mRNA ||
236 target == macro::CMacroBioData::sm_rRNA ||
237 target == macro::CMacroBioData::sm_RNA ||
238 target == macro::CMacroBioData::sm_Protein ||
239 target == macro::CMacroBioData::sm_SeqFeat;
244 return target == macro::CMacroBioData::sm_Seqdesc ||
245 target == macro::CMacroBioData::sm_BioSource ||
246 target == macro::CMacroBioData::sm_MolInfo ||
247 target == macro::CMacroBioData::sm_UserObject ||
248 target == macro::CMacroBioData::sm_DBLink ||
249 target == macro::CMacroBioData::sm_StrComm ||
250 target == macro::CMacroBioData::sm_Pubdesc;
virtual void UpdateEditor()=0
static bool IsDescriptor(const string &target)
bool x_IsParentAECRDlg(void)
virtual vector< string > GetChoices(bool &allow_other)
@ eFieldType_BankITComment
@ eFieldType_TaxnameAfterBinomial
@ eFieldType_StructuredComment
bool x_ShouldDecreaseStrConstrPanel(void)
static string GetFieldTypeName(EFieldType field_type)
void x_UpdateParent(void)
static EFieldType GetFieldTypeFromName(const string &field_type_name)
static bool IsFeature(const string &target)
void x_UpdateAECRDlgLayout(void)
virtual vector< string > GetMacroValues()
const char * kDefinitionLineLabel
const char * kFieldTypeSeqId
const char * kTaxnameAfterBinomial
const char * kBankITComment
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)
Check if a string starts with a specified prefix value.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
@ eNocase
Case insensitive compare.