,
60 "annot_compare_view",
61 "Annotation Comparison View",
62 "Comparison of annotations, either through an alignment or in different annotation sets",
63 "ANNOT_COMPARE_VIEW",
86wxMenu* view_menu =
newwxMenu();
87wxMenu* dm_menu =
newwxMenu();
92view_menu->Append(
wxID_ANY,
wxT(
"Annotation Comparison"), dm_menu);
94wxMenu* bar_menu =
newwxMenu();
95bar_menu->Append(
wxID_ANY,
wxT(
"&View"), view_menu );
154 const CObject*
object= it->object.GetPointer();
165 if( aligns.size() > 0 ){
168 return objects[0].scope.GetPointer();
343 static stringsid(
"annot_compare_view_factory");
350 static stringslabel(
"Annotation Compare View Factory");
386 boolfound_good =
false;
387 boolfound_bad =
false;
388 for(
size_t i= 0;
i<
objects.size();
i++) {
390 consttype_info&
type=
typeid(*obj);
CProjectViewTypeDescriptor s_AnnotCompareViewTypeDescr("Annotation Comparison View", "annot_compare_view", "Annotation Comparison View", "Comparison of annotations, either through an alignment or in different annotation sets", "ANNOT_COMPARE_VIEW", "Alignment", false, "Seq-align", eOneObjectAccepted)
virtual void OnProjectChanged()
virtual void x_UpdateContentLabel()
unique_ptr< const wxMenu > m_MenuBarMenu
virtual bool x_HasProject() const
EEventSubtype GetSubtype() const
CProjectViewTypeDescriptor - holds description of a project view type.
CSelectionEvent CSelectionEvent is used for broadcasting selection between views.
EEventType GetType() const
CViewTypeDescriptor - holds description of a view type.
virtual const CViewTypeDescriptor & GetViewTypeDescriptor() const
returns a Descriptor for the View Type supported by the Factory
IView - represents a standard visual part of Workbench UI.
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
virtual void RegisterFileAlias(const wxArtID &anId, const wxArtClient &aClient, const wxSize &aSize, const wxString &aName, long aType=wxBITMAP_TYPE_ANY, int anIndex=-1)
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
virtual void CreateViewWindow(wxWindow *parent)
create Window corresponding to the view
vector< CConstRef< objects::CSeq_align > > TAlignVector
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual int TestInputObjects(TConstScopedObjects &objects)
tests input objects (not using object conversion) and returns a combination of ETestResult flags bett...
virtual objects::CScope * x_PreAttachToProject(TConstScopedObjects &objects)
void GetSelection(CSelectionEvent &evt) const
get selection for broadcasting
virtual const CProjectViewTypeDescriptor & GetProjectViewTypeDescriptor() const
returns a Descriptor for the View Type supported by the Factory
virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const
if fingerprint is recognized - creates and returns a new instance
virtual const CViewTypeDescriptor & GetTypeDescriptor() const
return an object providing meta information about thei view type
virtual string GetExtensionIdentifier() const
CAnnotCompareViewFactory.
virtual void x_OnSetSelection(CSelectionEvent &evt)
override in derived classes in order to handle selection broadcast
CAnnotCompareWidget * m_AnnWidget
virtual void GetVisibleRanges(CVisibleRange &vrange) const
populate a visible range event for broadcasting
virtual void RegisterIconAliases(wxFileArtProvider &provider)
called by the framework to give Factory a chance to register images used by view
virtual void DestroyViewWindow()
destroy Window corresponding to the view
virtual const CObject * x_GetOrigObject() const
virtual wxWindow * GetWindow()
returns a pointer to the wxWindow representing the client
virtual void x_PostAttachToProject()
virtual IView * CreateInstance() const
creates a view instance
virtual void x_CreateMenuBarMenu()
initializes m_MenuBarMenu; override in derived classes
virtual const string & GetIconAlias() const
vector< SConstScopedObject > TConstScopedObjects
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void ExtractSeqAligns(const T &obj, vector< CConstRef< objects::CSeq_align > > &aligns)
This is the place where elements of the new Alignment Library will be collected.
wxString ToWxString(const string &s)
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