Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_WIDGETS_EDIT___FIELD_NAME_PANEL__HPP
2 #define GUI_WIDGETS_EDIT___FIELD_NAME_PANEL__HPP
63 virtual vector<string> GetChoices(
bool& allow_other);
64 virtual vector<string> GetMacroValues();
71 eFieldType_Unknown = 0,
96 static string GetFieldTypeName(EFieldType field_type);
97 static EFieldType GetFieldTypeFromName(
const string & field_type_name);
98 static bool IsFeature(
const string& target);
99 static bool IsDescriptor(
const string& target);
102 void x_UpdateParent(
void);
103 bool x_IsParentAECRDlg(
void);
104 void x_UpdateAECRDlgLayout(
void);
106 bool x_ShouldDecreaseStrConstrPanel(
void);
virtual ~CFieldNamePanelParent()
virtual void UpdateEditor()=0
virtual string GetFieldName(const bool subfield=false)=0
Returns the name of the field as selected in the panel.
virtual void SetShowLegalOnly(bool show)
virtual string GetMacroFieldName(const string &target, const string &selected_field=kEmptyStr)
@ eFieldType_BankITComment
@ eFieldType_TaxnameAfterBinomial
@ eFieldType_StructuredComment
virtual bool SetFieldName(const string &field)=0
virtual string GetMacroFieldLabel(const string &target, const string &selected_field=kEmptyStr)
CFieldNamePanel()
Constructors.
~CFieldNamePanel()
Destructor.
virtual void ClearValues(void)
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.
#define NCBI_GUIWIDGETS_EDIT_EXPORT