NCBI C++ ToolKit
Public Member Functions | Private Attributes
CMultiAlignViewFactory Class Reference

Search Toolkit Book for CMultiAlignViewFactory

CMultiAlignViewFactory. More...

#include <gui/packages/pkg_alignment/multi_align_view.hpp>

+ Inheritance diagram for CMultiAlignViewFactory:
+ Collaboration diagram for CMultiAlignViewFactory:

List of all members.

Public Member Functions

 CMultiAlignViewFactory ()
IExtension interface implementation
virtual string GetExtensionIdentifier () const
 CMultiAlignViewFactory.
virtual string GetExtensionLabel () const
 returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
IProjectViewFactory interface implementation
virtual IViewCreateInstance () const
 creates a view instance
virtual IViewCreateInstanceByFingerprint (const TFingerprint &fingerprint) const
 if fingerprint is recognized - creates and returns a new instance
virtual void RegisterIconAliases (wxFileArtProvider &provider)
 called by the framework to give Factory a chance to register images used by view
virtual void RegisterCommands (CUICommandRegistry &cmd_reg, wxFileArtProvider &provider)
 called by the framework to give Factory a chance to register commands used by view
virtual const
CProjectViewTypeDescriptor
GetProjectViewTypeDescriptor () const
 returns a Descriptor for the View Type supported by the Factory
virtual IOpenViewManagerGetOpenViewManager ()
virtual bool IsCompatibleWith (const CObject &object, objects::CScope &scope)
virtual int TestInputObjects (TConstScopedObjects &objects)
 tests input objects (probably using object conversion, or not) and returns a combination of ETestResult flags better name is IsCompatibleWith()

Private Attributes

CRef< COpenViewManagerm_ViewManager

Detailed Description

CMultiAlignViewFactory.

Definition at line 158 of file multi_align_view.hpp.


Constructor & Destructor Documentation

Definition at line 1249 of file multi_align_view.cpp.

References m_ViewManager.


Member Function Documentation

creates a view instance

Implements IViewFactory.

Definition at line 665 of file multi_align_view.cpp.

if fingerprint is recognized - creates and returns a new instance

Implements IViewFactory.

Definition at line 671 of file multi_align_view.cpp.

CMultiAlignViewFactory.

Implements IExtension.

Definition at line 631 of file multi_align_view.cpp.

returns a displayable label for this extension ( please capitalize the key words - "My Extension" )

Implements IExtension.

Definition at line 637 of file multi_align_view.cpp.

Reimplemented from IProjectViewFactory.

Definition at line 179 of file multi_align_view.hpp.

returns a Descriptor for the View Type supported by the Factory

Implements IProjectViewFactory.

Definition at line 659 of file multi_align_view.cpp.

References s_MultiAlignViewTypeDescr.

bool CMultiAlignViewFactory::IsCompatibleWith ( const CObject object,
objects::CScope &  scope 
) [virtual]

Reimplemented from IProjectViewFactory.

Definition at line 682 of file multi_align_view.cpp.

References CSeq_annot::IsAlign().

Referenced by TestInputObjects().

called by the framework to give Factory a chance to register commands used by view

Reimplemented from IViewFactory.

Definition at line 651 of file multi_align_view.cpp.

References WidgetsData_RegisterCommands().

called by the framework to give Factory a chance to register images used by view

Implements IViewFactory.

Definition at line 644 of file multi_align_view.cpp.

References CUIObject::GetIconAlias(), IProjectViewFactory::GetViewTypeDescriptor(), wxFileArtProvider::RegisterFileAlias(), ToWxString(), and wxT.

tests input objects (probably using object conversion, or not) and returns a combination of ETestResult flags better name is IsCompatibleWith()

Implements IProjectViewFactory.

Definition at line 704 of file multi_align_view.cpp.

References IProjectViewFactory::fCanShowAll, IProjectViewFactory::fCanShowNone, IProjectViewFactory::fCanShowSeparated, IProjectViewFactory::fCanShowSome, IsCompatibleWith(), and NON_CONST_ITERATE.


Member Data Documentation

Definition at line 184 of file multi_align_view.hpp.

Referenced by CMultiAlignViewFactory().


The documentation for this class was generated from the following files:
Modified on Sat Jul 12 17:02:48 2014 by modify_doxy.py rev. 426318