NCBI C++ ToolKit
Modules | Classes | Typedefs | Functions | Variables | Friends
GUI Core Classes and Modules

Core routines offering full framework support for Genome Workbench and other GUI applications. More...

+ Collaboration diagram for GUI Core Classes and Modules:

Modules

 Plugin Architecture Support Classes
 
 Document/View Architecture Support Classes
 
 overridables
 

Classes

class  CTableView
 CTableView. More...
 
class  CTableViewFactory
 CTableViewFactory. More...
 
class  CProjectTableViewFactory
 CProjectTableViewFactory. More...
 
class  CAsnObjectLoader
 CAsnObjectLoader. More...
 
class  CLBLASTObjectLoader
 CLBLASTObjectLoader. More...
 
class  CRMObjectLoader
 
class  CTableObjectLoader
 CTableObjectLoader. More...
 

Typedefs

typedef vector< CRef< CObject > > CAsnObjectLoader::TOrigObjects
 
typedef CRef< objects::CSeq_annot > CTableObjectLoader::TAnnotRef
 

Functions

 CTableView::CTableView ()
 
virtual void CTableView::x_OnSetSelection (CSelectionEvent &evt)
 override in derived classes in order to handle selection broadcast More...
 
virtual CIRef< ITableDataCTableView::x_CreateTableData (TConstScopedObjects &objects)
 
void CTableView::x_OnUrlHover (CEvent *evt)
 
void CTableView::x_QueryStatusChange (CEvent *evt)
 
void CTableView::x_OnRowDClick (CEvent *evt)
 
 CTableView::DECLARE_EVENT_MAP ()
 
 CAsnObjectLoader::CAsnObjectLoader ()
 
 CAsnObjectLoader::CAsnObjectLoader (const vector< wxString > &filenames)
 
 CAsnObjectLoader::CAsnObjectLoader (const string &asnTextData)
 
void CAsnObjectLoader::Init ()
 
void CAsnObjectLoader::LoadFromStream (CNcbiIstream &istr, TObjects &objects, ESerialDataFormat fmt, ICanceled *canceled=0)
 
bool CAsnObjectLoader::x_OnTopObjectFound (const CObjectInfo &objInfo)
 
 CLBLASTObjectLoader::CLBLASTObjectLoader (const CLBLASTLoadParams &params)
 
static CRef< objects::CLoaderDescriptor > CLBLASTObjectLoader::CreateLoader (const string &db, bool nucleotide)
 
static string CLBLASTObjectLoader::GetLoaderName (const objects::CUser_object &obj)
 
static string CLBLASTObjectLoader::AddDataLoader (const objects::CUser_object &obj)
 
static int CLBLASTObjectLoader::CountSeqs (const string &db, bool proteins)
 
static string CLBLASTObjectLoader::x_GetQuotedDBName (const string db)
 
 CRMObjectLoader::CRMObjectLoader (const vector< wxString > &filenames)
 
void CRMObjectLoader::x_ReadAsnObject (ESerialDataFormat sfmt, CNcbiIstream &istream)
 
bool CRMObjectLoader::x_OnTopObjectFound (const CObjectInfo &objInfo)
 
 CTableObjectLoader::CTableObjectLoader (CTableAnnotDataSource &annotTableData, const vector< wxString > &filenames)
 

Variables

TConstScopedObjects CTableView::m_OrigObjects
 
wxWindow * CTableView::m_Window
 
vector< wxString > CAsnObjectLoader::m_FileNames
 
const string CAsnObjectLoader::m_AsnTextData
 
TObjects CAsnObjectLoader::m_Objects
 Final complete object list with description set. More...
 
TOrigObjects CAsnObjectLoader::m_OrigObjects
 Original object list for current file. More...
 
wxString CAsnObjectLoader::m_CurrentFileName
 
CRef< objects::CScope > CAsnObjectLoader::m_Scope
 
string CLBLASTObjectLoader::m_Dir
 
TObjects CLBLASTObjectLoader::m_Objects
 
CRef< objects::CScope > CLBLASTObjectLoader::m_Scope
 
CRef< objects::CLoaderDescriptor > CLBLASTObjectLoader::m_Loader
 
CLBLASTLoadParams CLBLASTObjectLoader::m_Params
 
vector< wxString > CRMObjectLoader::m_FileNames
 
const string CRMObjectLoader::m_AsnTextData
 
TObjects CRMObjectLoader::m_Objects
 
wxString CRMObjectLoader::m_CurrentFileName
 
CRef< objects::CScope > CRMObjectLoader::m_Scope
 
TObjects CTableObjectLoader::m_Objects
 

Friends

class CTableView::CTableViewFactory
 
class CAsnObjectLoader::CSniffReader
 
class CRMObjectLoader::CSniffReader
 

IWMClient interface implementation

virtual wxWindow * CTableView::GetWindow ()
 returns a pointer to the wxWindow representing the client More...
 
virtual wxEvtHandler * CTableView::GetCommandHandler ()
 IWMClient implementation. More...
 

IView implementation

@(

virtual const CViewTypeDescriptorCTableView::GetTypeDescriptor () const
 return an object providing meta information about thei view type More...
 
virtual void CTableView::CreateViewWindow (wxWindow *parent)
 create Window corresponding to the view More...
 
virtual void CTableView::DestroyViewWindow ()
 destroy Window corresponding to the view More...
 

IProjectView implementation

virtual bool CTableView::InitView (TConstScopedObjects &objects, const objects::CUser_object *params)
 initialize view with data, inside this function the view must call CProjectService::AttachView to connect to a project More...
 
virtual void CTableView::OnProjectChanged (CProjectViewEvent &evt)
 

ISelectionClient Implementation

virtual void CTableView::GetSelection (CSelectionEvent &evt) const
 get selection for broadcasting More...
 
virtual void CTableView::GetSelection (TConstScopedObjects &objs) const
 shall return data objects representing selected things, return one data object for every selected thing. More...
 
virtual void CTableView::GetMainObject (TConstScopedObjects &objs) const
 Adds the main data objects represented by the client to "objects". More...
 

IRegSettings interface implementation

virtual void CTableView::SetRegistryPath (const string &reg_path)
 
virtual void CTableView::LoadSettings ()
 
virtual void CTableView::SaveSettings () const
 

IExtension interface implementation

virtual string CTableViewFactory::GetExtensionIdentifier () const
 CTableViewFactory. More...
 
virtual string CTableViewFactory::GetExtensionLabel () const
 returns a displayable label for this extension ( please capitalize the key words - "My Extension" ) More...
 

IProjectViewFactory interface implementation

virtual IViewCTableViewFactory::CreateInstance () const
 creates a view instance More...
 
virtual IViewCTableViewFactory::CreateInstanceByFingerprint (const TFingerprint &fingerprint) const
 if fingerprint is recognized - creates and returns a new instance More...
 
virtual void CTableViewFactory::RegisterIconAliases (wxFileArtProvider &provider)
 called by the framework to give Factory a chance to register images used by view More...
 
virtual const CProjectViewTypeDescriptorCTableViewFactory::GetProjectViewTypeDescriptor () const
 returns a Descriptor for the View Type supported by the Factory More...
 
virtual int CTableViewFactory::TestInputObjects (TConstScopedObjects &objects)
 tests input objects (not using object conversion) and returns a combination of ETestResult flags better name is IsCompatibleWith() More...
 

COpenViewManager implementation

virtual string CTableViewFactory::GetTargetType () const
 
virtual bool CTableViewFactory::AllowMerge () const
 

IExtension interface implementation

virtual string CProjectTableViewFactory::GetExtensionIdentifier () const
 CProjectTableViewFactory. More...
 
virtual string CProjectTableViewFactory::GetExtensionLabel () const
 returns a displayable label for this extension ( please capitalize the key words - "My Extension" ) More...
 

IProjectViewFactory interface implementation

virtual IViewCProjectTableViewFactory::CreateInstance () const
 creates a view instance More...
 
virtual IViewCProjectTableViewFactory::CreateInstanceByFingerprint (const TFingerprint &fingerprint) const
 if fingerprint is recognized - creates and returns a new instance More...
 
virtual void CProjectTableViewFactory::RegisterIconAliases (wxFileArtProvider &provider)
 called by the framework to give Factory a chance to register images used by view More...
 
virtual const CProjectViewTypeDescriptorCProjectTableViewFactory::GetProjectViewTypeDescriptor () const
 returns a Descriptor for the View Type supported by the Factory More...
 
virtual bool CProjectTableViewFactory::IsCompatibleWith (const CObject &object, objects::CScope &scope)
 
virtual int CProjectTableViewFactory::TestInputObjects (TConstScopedObjects &objects)
 tests input objects (not using object conversion) and returns a combination of ETestResult flags better name is IsCompatibleWith() More...
 
virtual bool CProjectTableViewFactory::ShowInOpenViewDlg () const
 

IObjectLoader implementation

virtual TObjectsCAsnObjectLoader::GetObjects ()
 
virtual string CAsnObjectLoader::GetDescription () const
 

IExecuteUnit implementation

virtual bool CAsnObjectLoader::PreExecute ()
 
virtual bool CAsnObjectLoader::Execute (ICanceled &canceled)
 
virtual bool CAsnObjectLoader::PostExecute ()
 

IObjectLoader implementation

virtual TObjectsCLBLASTObjectLoader::GetObjects ()
 
virtual string CLBLASTObjectLoader::GetDescription () const
 
virtual CObjectCLBLASTObjectLoader::GetLoader ()
 

IExecuteUnit implementation

virtual bool CLBLASTObjectLoader::PreExecute ()
 
virtual bool CLBLASTObjectLoader::Execute (ICanceled &canceled)
 
virtual bool CLBLASTObjectLoader::PostExecute ()
 

IObjectLoader implementation

virtual TObjectsCRMObjectLoader::GetObjects ()
 
virtual string CRMObjectLoader::GetDescription () const
 

IExecuteUnit implementation

virtual bool CRMObjectLoader::PreExecute ()
 
virtual bool CRMObjectLoader::Execute (ICanceled &canceled)
 
virtual bool CRMObjectLoader::PostExecute ()
 

IObjectLoader implementation

virtual TObjectsCTableObjectLoader::GetObjects ()
 
virtual string CTableObjectLoader::GetDescription () const
 

IExecuteUnit implementation

virtual bool CTableObjectLoader::PreExecute ()
 
virtual bool CTableObjectLoader::Execute (ICanceled &)
 
virtual bool CTableObjectLoader::PostExecute ()
 

Detailed Description

Core routines offering full framework support for Genome Workbench and other GUI applications.

The core framework provides support for managing plugins as well as support for the document/view architecture of Genome Workbench

Typedef Documentation

◆ TAnnotRef

typedef CRef<objects::CSeq_annot> CTableObjectLoader::TAnnotRef

Definition at line 63 of file table_object_loader.hpp.

◆ TOrigObjects

Definition at line 69 of file asn_object_loader.hpp.

Function Documentation

◆ AddDataLoader()

string CLBLASTObjectLoader::AddDataLoader ( const objects::CUser_object &  obj)
static

◆ AllowMerge()

virtual bool CTableViewFactory::AllowMerge ( ) const
inlineprotectedvirtual

Definition at line 145 of file table_view.hpp.

◆ CAsnObjectLoader() [1/3]

CAsnObjectLoader::CAsnObjectLoader ( )

Definition at line 123 of file asn_object_loader.cpp.

◆ CAsnObjectLoader() [2/3]

CAsnObjectLoader::CAsnObjectLoader ( const string asnTextData)

Definition at line 132 of file asn_object_loader.cpp.

◆ CAsnObjectLoader() [3/3]

CAsnObjectLoader::CAsnObjectLoader ( const vector< wxString > &  filenames)

Definition at line 127 of file asn_object_loader.cpp.

◆ CLBLASTObjectLoader()

CLBLASTObjectLoader::CLBLASTObjectLoader ( const CLBLASTLoadParams params)

Definition at line 50 of file lblast_object_loader.cpp.

◆ CountSeqs()

int CLBLASTObjectLoader::CountSeqs ( const string db,
bool  proteins 
)
static

◆ CreateInstance() [1/2]

IView * CTableViewFactory::CreateInstance ( ) const
virtual

creates a view instance

Implements IViewFactory.

Definition at line 323 of file table_view.cpp.

◆ CreateInstance() [2/2]

IView * CProjectTableViewFactory::CreateInstance ( ) const
virtual

creates a view instance

Implements IViewFactory.

Definition at line 436 of file table_view.cpp.

◆ CreateInstanceByFingerprint() [1/2]

IView * CTableViewFactory::CreateInstanceByFingerprint ( const TFingerprint fingerprint) const
virtual

if fingerprint is recognized - creates and returns a new instance

Implements IViewFactory.

Definition at line 329 of file table_view.cpp.

References NULL.

◆ CreateInstanceByFingerprint() [2/2]

IView * CProjectTableViewFactory::CreateInstanceByFingerprint ( const TFingerprint fingerprint) const
virtual

if fingerprint is recognized - creates and returns a new instance

Implements IViewFactory.

Definition at line 451 of file table_view.cpp.

References NULL.

◆ CreateLoader()

CRef< CLoaderDescriptor > CLBLASTObjectLoader::CreateLoader ( const string db,
bool  nucleotide 
)
static

◆ CreateViewWindow()

void CTableView::CreateViewWindow ( wxWindow *  parent)
virtual

create Window corresponding to the view

Implements CProjectViewBase.

Reimplemented in CAlnSummaryView.

Definition at line 158 of file table_view.cpp.

References _ASSERT, CEventHandler::AddListener(), CEventHandler::ePool_Parent, CTableView::m_Window, and wxID_ANY.

◆ CRMObjectLoader()

CRMObjectLoader::CRMObjectLoader ( const vector< wxString > &  filenames)

Definition at line 48 of file rm_object_loader.cpp.

◆ CTableObjectLoader()

CTableObjectLoader::CTableObjectLoader ( CTableAnnotDataSource annotTableData,
const vector< wxString > &  filenames 
)

◆ CTableView()

CTableView::CTableView ( )

Definition at line 73 of file table_view.cpp.

◆ DECLARE_EVENT_MAP()

CTableView::DECLARE_EVENT_MAP ( )
protected

◆ DestroyViewWindow()

void CTableView::DestroyViewWindow ( )
virtual

destroy Window corresponding to the view

Implements CProjectViewBase.

Definition at line 168 of file table_view.cpp.

References CTableView::m_Window.

◆ Execute() [1/4]

virtual bool CTableObjectLoader::Execute ( ICanceled )
inlinevirtual

Implements IExecuteUnit.

Definition at line 76 of file table_object_loader.hpp.

◆ Execute() [2/4]

bool CAsnObjectLoader::Execute ( ICanceled canceled)
virtual

◆ Execute() [3/4]

bool CLBLASTObjectLoader::Execute ( ICanceled canceled)
virtual

◆ Execute() [4/4]

bool CRMObjectLoader::Execute ( ICanceled canceled)
virtual

◆ GetCommandHandler()

wxEvtHandler * CTableView::GetCommandHandler ( )
virtual

IWMClient implementation.

Reimplemented from CProjectViewBase.

Definition at line 94 of file table_view.cpp.

References _ASSERT, and CTableView::m_Window.

◆ GetDescription() [1/4]

string CAsnObjectLoader::GetDescription ( void  ) const
virtual

Implements IObjectLoader.

Definition at line 142 of file asn_object_loader.cpp.

◆ GetDescription() [2/4]

string CLBLASTObjectLoader::GetDescription ( void  ) const
virtual

Implements IObjectLoader.

Definition at line 60 of file lblast_object_loader.cpp.

◆ GetDescription() [3/4]

string CRMObjectLoader::GetDescription ( void  ) const
virtual

Implements IObjectLoader.

Definition at line 58 of file rm_object_loader.cpp.

◆ GetDescription() [4/4]

string CTableObjectLoader::GetDescription ( void  ) const
virtual

Implements IObjectLoader.

Definition at line 59 of file table_object_loader.cpp.

◆ GetExtensionIdentifier() [1/2]

string CTableViewFactory::GetExtensionIdentifier ( ) const
virtual

CTableViewFactory.

Implements IExtension.

Definition at line 296 of file table_view.cpp.

◆ GetExtensionIdentifier() [2/2]

string CProjectTableViewFactory::GetExtensionIdentifier ( ) const
virtual

CProjectTableViewFactory.

Implements IExtension.

Definition at line 411 of file table_view.cpp.

◆ GetExtensionLabel() [1/2]

string CTableViewFactory::GetExtensionLabel ( ) const
virtual

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

Implements IExtension.

Definition at line 303 of file table_view.cpp.

◆ GetExtensionLabel() [2/2]

string CProjectTableViewFactory::GetExtensionLabel ( ) const
virtual

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

Implements IExtension.

Definition at line 418 of file table_view.cpp.

◆ GetLoader()

CObject * CLBLASTObjectLoader::GetLoader ( )
virtual

Reimplemented from IObjectLoader.

Definition at line 65 of file lblast_object_loader.cpp.

References CRef< C, Locker >::GetPointerOrNull(), and CLBLASTObjectLoader::m_Loader.

◆ GetLoaderName()

string CLBLASTObjectLoader::GetLoaderName ( const objects::CUser_object &  obj)
static

◆ GetMainObject()

void CTableView::GetMainObject ( TConstScopedObjects objects) const
virtual

Adds the main data objects represented by the client to "objects".

Implementation shall not clear the container as it can be used for accumulating objects.

Reimplemented from CProjectView.

Definition at line 207 of file table_view.cpp.

References CConstRef< C, Locker >::GetPointer(), CRef< C, Locker >::GetPointer(), CTableView::m_OrigObjects, CTableView::m_Window, SConstScopedObject::object, SConstScopedObject::scope, and CProjectViewBase::x_HasProject().

Referenced by CProjectTableView::OnProjectChanged().

◆ GetObjects() [1/4]

IObjectLoader::TObjects & CAsnObjectLoader::GetObjects ( )
virtual

Implements IObjectLoader.

Definition at line 137 of file asn_object_loader.cpp.

References CAsnObjectLoader::m_Objects.

◆ GetObjects() [2/4]

IObjectLoader::TObjects & CLBLASTObjectLoader::GetObjects ( )
virtual

Implements IObjectLoader.

Definition at line 55 of file lblast_object_loader.cpp.

References CLBLASTObjectLoader::m_Objects.

◆ GetObjects() [3/4]

IObjectLoader::TObjects & CRMObjectLoader::GetObjects ( )
virtual

Implements IObjectLoader.

Definition at line 53 of file rm_object_loader.cpp.

References CRMObjectLoader::m_Objects.

◆ GetObjects() [4/4]

IObjectLoader::TObjects & CTableObjectLoader::GetObjects ( )
virtual

Implements IObjectLoader.

Definition at line 54 of file table_object_loader.cpp.

References CTableObjectLoader::m_Objects.

◆ GetProjectViewTypeDescriptor() [1/2]

const CProjectViewTypeDescriptor & CTableViewFactory::GetProjectViewTypeDescriptor ( ) const
virtual

returns a Descriptor for the View Type supported by the Factory

Implements IProjectViewFactory.

Definition at line 317 of file table_view.cpp.

References s_TableViewTypeDescr.

◆ GetProjectViewTypeDescriptor() [2/2]

const CProjectViewTypeDescriptor & CProjectTableViewFactory::GetProjectViewTypeDescriptor ( ) const
virtual

returns a Descriptor for the View Type supported by the Factory

Implements IProjectViewFactory.

Definition at line 430 of file table_view.cpp.

References s_ProjectTableViewTypeDescr.

◆ GetSelection() [1/2]

void CTableView::GetSelection ( CSelectionEvent evt) const
virtual

get selection for broadcasting

Reimplemented from CProjectView.

Definition at line 183 of file table_view.cpp.

References CTableView::m_Window, and CProjectViewBase::x_HasProject().

◆ GetSelection() [2/2]

void CTableView::GetSelection ( TConstScopedObjects objects) const
virtual

shall return data objects representing selected things, return one data object for every selected thing.

Implementation shall not clear the container as it can be used for accumulating objects.

Reimplemented from CProjectView.

Definition at line 199 of file table_view.cpp.

References CTableView::m_Window, and CProjectViewBase::x_HasProject().

◆ GetTargetType()

virtual string CTableViewFactory::GetTargetType ( ) const
inlineprotectedvirtual

Definition at line 143 of file table_view.hpp.

◆ GetTypeDescriptor()

const CViewTypeDescriptor & CTableView::GetTypeDescriptor ( ) const
virtual

return an object providing meta information about thei view type

Implements CProjectViewBase.

Reimplemented in CAlnSummaryView, and CProjectTableView.

Definition at line 178 of file table_view.cpp.

References s_TableViewTypeDescr.

◆ GetWindow()

virtual wxWindow* CTableView::GetWindow ( )
virtual

returns a pointer to the wxWindow representing the client

Implements CProjectViewBase.

Referenced by CProjectTableView::OnProjectChanged().

◆ Init()

void CAsnObjectLoader::Init ( void  )

◆ InitView()

bool CTableView::InitView ( TConstScopedObjects objects,
const objects::CUser_object *  params 
)
virtual

◆ IsCompatibleWith()

bool CProjectTableViewFactory::IsCompatibleWith ( const CObject object,
objects::CScope &  scope 
)
virtual

Reimplemented from IProjectViewFactory.

Definition at line 442 of file table_view.cpp.

References type.

Referenced by CProjectTableViewFactory::TestInputObjects().

◆ LoadFromStream()

void CAsnObjectLoader::LoadFromStream ( CNcbiIstream istr,
TObjects objects,
ESerialDataFormat  fmt,
ICanceled canceled = 0 
)

◆ LoadSettings()

void CTableView::LoadSettings ( )
virtual

Implements IRegSettings.

Definition at line 277 of file table_view.cpp.

References IRegSettings::LoadSettings(), and CTableView::m_Window.

◆ OnProjectChanged()

void CTableView::OnProjectChanged ( CProjectViewEvent evt)
virtual

◆ PostExecute() [1/4]

bool CAsnObjectLoader::PostExecute ( )
virtual

Implements IExecuteUnit.

Definition at line 421 of file asn_object_loader.cpp.

References wxT, and CReportLoaderErrors::x_ShowErrorsDlg().

◆ PostExecute() [2/4]

bool CLBLASTObjectLoader::PostExecute ( )
virtual

Implements IExecuteUnit.

Definition at line 226 of file lblast_object_loader.cpp.

◆ PostExecute() [3/4]

bool CRMObjectLoader::PostExecute ( )
virtual

Implements IExecuteUnit.

Definition at line 106 of file rm_object_loader.cpp.

References wxT, and CReportLoaderErrors::x_ShowErrorsDlg().

◆ PostExecute() [4/4]

virtual bool CTableObjectLoader::PostExecute ( )
inlinevirtual

Implements IExecuteUnit.

Definition at line 77 of file table_object_loader.hpp.

◆ PreExecute() [1/4]

bool CAsnObjectLoader::PreExecute ( )
virtual

Implements IExecuteUnit.

Definition at line 147 of file asn_object_loader.cpp.

◆ PreExecute() [2/4]

bool CLBLASTObjectLoader::PreExecute ( )
virtual

Implements IExecuteUnit.

Definition at line 70 of file lblast_object_loader.cpp.

◆ PreExecute() [3/4]

bool CRMObjectLoader::PreExecute ( )
virtual

Implements IExecuteUnit.

Definition at line 63 of file rm_object_loader.cpp.

◆ PreExecute() [4/4]

virtual bool CTableObjectLoader::PreExecute ( )
inlinevirtual

Implements IExecuteUnit.

Definition at line 75 of file table_object_loader.hpp.

◆ RegisterIconAliases() [1/2]

void CTableViewFactory::RegisterIconAliases ( wxFileArtProvider provider)
virtual

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

Implements IViewFactory.

Definition at line 310 of file table_view.cpp.

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

◆ RegisterIconAliases() [2/2]

void CProjectTableViewFactory::RegisterIconAliases ( wxFileArtProvider provider)
virtual

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

Implements IViewFactory.

Definition at line 425 of file table_view.cpp.

◆ SaveSettings()

void CTableView::SaveSettings ( ) const
virtual

Implements IRegSettings.

Definition at line 285 of file table_view.cpp.

References CTableView::m_Window, and IRegSettings::SaveSettings().

◆ SetRegistryPath()

void CTableView::SetRegistryPath ( const string reg_path)
virtual

Implements IRegSettings.

Definition at line 270 of file table_view.cpp.

References CTableView::m_Window, and IRegSettings::SetRegistryPath().

◆ ShowInOpenViewDlg()

virtual bool CProjectTableViewFactory::ShowInOpenViewDlg ( ) const
inlinevirtual

Reimplemented from IProjectViewFactory.

Definition at line 173 of file table_view.hpp.

◆ TestInputObjects() [1/2]

int CTableViewFactory::TestInputObjects ( TConstScopedObjects objects)
virtual

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

Implements IProjectViewFactory.

Definition at line 335 of file table_view.cpp.

References IProjectViewFactory::fCanShowAll, IProjectViewFactory::fCanShowSeparated, IProjectViewFactory::fCanShowSome, and i.

◆ TestInputObjects() [2/2]

int CProjectTableViewFactory::TestInputObjects ( TConstScopedObjects objects)
virtual

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

Implements IProjectViewFactory.

Definition at line 457 of file table_view.cpp.

References IProjectViewFactory::fCanShowAll, IProjectViewFactory::fCanShowSeparated, IProjectViewFactory::fCanShowSome, i, and CProjectTableViewFactory::IsCompatibleWith().

◆ x_CreateTableData()

CIRef< ITableData > CTableView::x_CreateTableData ( TConstScopedObjects objects)
protectedvirtual

Reimplemented in CAlnSummaryView.

Definition at line 259 of file table_view.cpp.

References NULL, and CRef< C, Locker >::Reset().

Referenced by CTableView::InitView().

◆ x_GetQuotedDBName()

string CLBLASTObjectLoader::x_GetQuotedDBName ( const string  db)
staticprivate

◆ x_OnRowDClick()

void CTableView::x_OnRowDClick ( CEvent evt)
protected

◆ x_OnSetSelection()

void CTableView::x_OnSetSelection ( CSelectionEvent evt)
protectedvirtual

override in derived classes in order to handle selection broadcast

override this function in derived classes

Reimplemented from CProjectView.

Definition at line 191 of file table_view.cpp.

References CTableView::m_Window, and CProjectViewBase::x_HasProject().

◆ x_OnTopObjectFound() [1/2]

bool CAsnObjectLoader::x_OnTopObjectFound ( const CObjectInfo objInfo)
private

◆ x_OnTopObjectFound() [2/2]

bool CRMObjectLoader::x_OnTopObjectFound ( const CObjectInfo objInfo)
private

◆ x_OnUrlHover()

void CTableView::x_OnUrlHover ( CEvent evt)
protected

◆ x_QueryStatusChange()

void CTableView::x_QueryStatusChange ( CEvent evt)
protected

◆ x_ReadAsnObject()

void CRMObjectLoader::x_ReadAsnObject ( ESerialDataFormat  sfmt,
CNcbiIstream istream 
)
private

Variable Documentation

◆ m_AsnTextData [1/2]

const string CAsnObjectLoader::m_AsnTextData
private

Definition at line 95 of file asn_object_loader.hpp.

Referenced by CAsnObjectLoader::Execute().

◆ m_AsnTextData [2/2]

const string CRMObjectLoader::m_AsnTextData
private

Definition at line 85 of file rm_object_loader.hpp.

◆ m_CurrentFileName [1/2]

wxString CAsnObjectLoader::m_CurrentFileName
private

◆ m_CurrentFileName [2/2]

wxString CRMObjectLoader::m_CurrentFileName
private

Definition at line 87 of file rm_object_loader.hpp.

◆ m_Dir

string CLBLASTObjectLoader::m_Dir
private

Definition at line 91 of file lblast_object_loader.hpp.

◆ m_FileNames [1/2]

vector<wxString> CAsnObjectLoader::m_FileNames
private

Definition at line 94 of file asn_object_loader.hpp.

Referenced by CAsnObjectLoader::Execute().

◆ m_FileNames [2/2]

vector<wxString> CRMObjectLoader::m_FileNames
private

Definition at line 84 of file rm_object_loader.hpp.

Referenced by CRMObjectLoader::Execute().

◆ m_Loader

CRef<objects::CLoaderDescriptor> CLBLASTObjectLoader::m_Loader
private

◆ m_Objects [1/4]

TObjects CAsnObjectLoader::m_Objects
private

Final complete object list with description set.

Definition at line 97 of file asn_object_loader.hpp.

Referenced by CAsnObjectLoader::Execute(), and CAsnObjectLoader::GetObjects().

◆ m_Objects [2/4]

TObjects CLBLASTObjectLoader::m_Objects
private

◆ m_Objects [3/4]

TObjects CRMObjectLoader::m_Objects
private

Definition at line 86 of file rm_object_loader.hpp.

Referenced by CRMObjectLoader::Execute(), and CRMObjectLoader::GetObjects().

◆ m_Objects [4/4]

TObjects CTableObjectLoader::m_Objects
private

◆ m_OrigObjects [1/2]

TConstScopedObjects CTableView::m_OrigObjects
protected

◆ m_OrigObjects [2/2]

TOrigObjects CAsnObjectLoader::m_OrigObjects
private

Original object list for current file.

Definition at line 99 of file asn_object_loader.hpp.

Referenced by CAsnObjectLoader::LoadFromStream(), and CAsnObjectLoader::x_OnTopObjectFound().

◆ m_Params

CLBLASTLoadParams CLBLASTObjectLoader::m_Params
private

Definition at line 96 of file lblast_object_loader.hpp.

Referenced by CLBLASTObjectLoader::Execute().

◆ m_Scope [1/3]

CRef<objects::CScope> CAsnObjectLoader::m_Scope
private

◆ m_Scope [2/3]

CRef<objects::CScope> CLBLASTObjectLoader::m_Scope
private

Definition at line 93 of file lblast_object_loader.hpp.

◆ m_Scope [3/3]

CRef<objects::CScope> CRMObjectLoader::m_Scope
private

Definition at line 89 of file rm_object_loader.hpp.

◆ m_Window

wxWindow* CTableView::m_Window
protected

Friends

◆ CSniffReader [1/2]

friend class CSniffReader
friend

Definition at line 66 of file asn_object_loader.hpp.

◆ CSniffReader [2/2]

friend class CSniffReader
friend

Definition at line 61 of file rm_object_loader.hpp.

◆ CTableViewFactory

friend class CTableViewFactory
friend

Definition at line 55 of file table_view.hpp.

Modified on Fri Sep 20 14:58:13 2024 by modify_doxy.py rev. 669887