51 static string sid(
"align_project_item_extension");
57 static string slabel(
"Alignment package Project item extension");
74 TAlign& an_align = annot.
SetData().SetAlign();
User-defined methods of the data storage class.
static const string kBLASTProjectItemTag
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual string GetExtensionIdentifier() const
CAlignProjectItemExtension.
virtual void ProjectItemDetached(objects::CProjectItem &item, CGBDocument &doc, IServiceLocator *service_locator)
virtual void ProjectItemAttached(objects::CProjectItem &item, CGBDocument &doc, IServiceLocator *service_locator)
calculate scores, this is done in a separate function that is called before inserting the Project Ite...
void RemoveTag(const string &tag)
bool HasTag(const string &tag) const
void AddScore(CScope &scope, CSeq_align &align, EScoreType score)
deprecated: use CSeq_align::EScoreType directly
IServiceLocator - an abstract mechanism for locating services.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
bool IsAnnot(void) const
Check if variant Annot is selected.
const TItem & GetItem(void) const
Get the Item member data.
void SetItem(TItem &value)
Assign a value to Item data member.
void SetData(TData &value)
Assign a value to Data data member.
list< CRef< CSeq_align > > TAlign