CObjectTextWidget Class Reference

Search Toolkit Book for CObjectTextWidget

#include <object_text.hpp>

Inheritance diagram for CObjectTextWidget:

Inheritance graph
[legend]
Collaboration diagram for CObjectTextWidget:

Collaboration graph
[legend]
List of all members.

Detailed Description

CObjectTextWidget - mediator widget.

Definition at line 54 of file object_text.hpp.

Public Member Functions

 CObjectTextWidget ()
 CObjectTextWidget.
 CObjectTextWidget (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
void Init (TConstScopedObjects &objects, bool brief=false)
void GetSelection (TConstScopedObjects &objects)
 ISelection-style API.

Protected Member Functions

void x_GenerateTextItemsFromObjects (vector< ITextItem * > &items)
void x_GetItems_Object (const CObject &object, objects::CScope *scope, vector< ITextItem * > &items)

Protected Attributes

TConstScopedObjects m_Objects
bool m_Brief

Private Attributes

objects::CScope * m_Scope


Constructor & Destructor Documentation

CObjectTextWidget::CObjectTextWidget  ) 
 

CObjectTextWidget.

Definition at line 180 of file object_text.cpp.

CObjectTextWidget::CObjectTextWidget wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize
 

Definition at line 187 of file object_text.cpp.

References _T, and CTextItemPanel::SetFont().


Member Function Documentation

void CObjectTextWidget::GetSelection TConstScopedObjects objects  ) 
 

ISelection-style API.

Definition at line 222 of file object_text.cpp.

References CTextItemPanel::GetContext(), CTextPanelContext::GetSelectedObjects(), and m_Scope.

Referenced by CSelectionPanel::GetSelection().

void CObjectTextWidget::Init TConstScopedObjects objects,
bool  brief = false
 

Definition at line 205 of file object_text.cpp.

References m_Brief, m_Objects, and m_Scope.

Referenced by CSelectionPanel::x_InitCurrentWidget().

void CObjectTextWidget::x_GenerateTextItemsFromObjects vector< ITextItem * > &  items  )  [protected]
 

Definition at line 237 of file object_text.cpp.

References m_Objects.

void CObjectTextWidget::x_GetItems_Object const CObject object,
objects::CScope *  scope,
vector< ITextItem * > &  items
[protected]
 


Member Data Documentation

bool CObjectTextWidget::m_Brief [protected]
 

Definition at line 78 of file object_text.hpp.

Referenced by Init().

TConstScopedObjects CObjectTextWidget::m_Objects [protected]
 

Definition at line 77 of file object_text.hpp.

Referenced by Init(), and x_GenerateTextItemsFromObjects().

objects::CScope* CObjectTextWidget::m_Scope [private]
 

Definition at line 81 of file object_text.hpp.

Referenced by GetSelection(), and Init().


The documentation for this class was generated from the following files:
Generated on Mon Dec 7 13:12:53 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:23:36 2009 by modify_doxy.py rev. 173732