NCBI C++ ToolKit
Public Member Functions | Private Types | List of all members
PT::CProject Class Reference

Search Toolkit Book for PT::CProject

#include <gui/core/pt_project.hpp>

+ Inheritance diagram for PT::CProject:
+ Collaboration diagram for PT::CProject:

Public Member Functions

 CProject (const TParent::TDataType &data)
 
void Initialize (wxTreeCtrl &treeCtrl)
 
size_t CountDisabledItems (wxTreeCtrl &treeCtrl)
 
void UpdateDisabledItems (wxTreeCtrl &treeCtrl)
 
void UpdateLabel (wxTreeCtrl &treeCtrl)
 
void UpdateViews (wxTreeCtrl &treeCtrl)
 
void UpdateProjectItems (wxTreeCtrl &treeCtrl)
 
void UpdateViewLabel (wxTreeCtrl &treeCtrl, IProjectView &view)
 
void ProjectStateChanged (wxTreeCtrl &treeCtrl)
 
virtual bool CanDoProperties ()
 
virtual bool DoProperties (wxTreeCtrl &treeCtrl)
 
virtual void BeginLabelEdit (wxTreeCtrl &treeCtrl, wxTreeEvent &event)
 
virtual bool EndLabelEdit (wxTreeCtrl &treeCtrl, wxTreeEvent &event)
 
- Public Member Functions inherited from PT::TPTItem< CRef< CGBDocument >, eProject >
 TPTItem (const CRef< CGBDocument > &data)
 
const CRef< CGBDocument > & GetData () const
 
CRef< CGBDocument > & GetData ()
 
void SetData (const CRef< CGBDocument > &data)
 
virtual int GetType () const
 
- Public Member Functions inherited from PT::CItem
 CItem ()
 
virtual ~CItem ()
 
wxString GetLabel (wxTreeCtrl &treeCtrl) const
 
CItemGetParent (wxTreeCtrl &treeCtrl) const
 
wxTreeItemId GetTreeItemId () const
 
void SetTreeItemId (wxTreeItemId treeItemId)
 
void AppendChildItem (wxTreeCtrl &treeCtrl, CItem &ch_item)
 
void InsertChildItem (wxTreeCtrl &treeCtrl, CItem &ch_item, size_t pos)
 
virtual void OnItemExpandedCollapsed (wxTreeCtrl &)
 
virtual bool CanDoNewFolder () const
 
virtual void DoNewFolder (wxTreeCtrl &)
 
virtual bool CanDoRemove (wxTreeCtrl &) const
 
virtual bool DoRemove (wxTreeCtrl &)
 
virtual bool CanCopyToClipboard (wxTreeCtrl &) const
 
virtual bool CanCutToClipboard (wxTreeCtrl &) const
 
virtual bool CanPaste (wxTreeCtrl &) const
 
virtual bool Paste (wxTreeCtrl &, vector< CItem * > &, bool)
 

Private Types

typedef TPTItem< CRef< CGBDocument >, eProjectTParent
 

Additional Inherited Members

- Public Types inherited from PT::TPTItem< CRef< CGBDocument >, eProject >
typedef CRef< CGBDocumentTDataType
 
- Static Public Member Functions inherited from PT::CItem
static void LogInstanceCount ()
 
- Protected Attributes inherited from PT::TPTItem< CRef< CGBDocument >, eProject >
CRef< CGBDocumentm_Data
 
- Protected Attributes inherited from PT::CItem
wxTreeItemId m_TreeItemId
 
- Static Protected Attributes inherited from PT::CItem
static size_t m_InstanceCount = 0
 

Detailed Description

Definition at line 43 of file pt_project.hpp.

Member Typedef Documentation

◆ TParent

Definition at line 45 of file pt_project.hpp.

Constructor & Destructor Documentation

◆ CProject()

PT::CProject::CProject ( const TParent::TDataType data)
inline

Definition at line 47 of file pt_project.hpp.

Member Function Documentation

◆ BeginLabelEdit()

void CProject::BeginLabelEdit ( wxTreeCtrl &  treeCtrl,
wxTreeEvent &  event 
)
virtual

◆ CanDoProperties()

bool CProject::CanDoProperties ( )
virtual

Reimplemented from PT::CItem.

Definition at line 206 of file pt_project.cpp.

References PT::TPTItem< CRef< CGBDocument >, eProject >::GetData().

◆ CountDisabledItems()

size_t CProject::CountDisabledItems ( wxTreeCtrl &  treeCtrl)

◆ DoProperties()

bool CProject::DoProperties ( wxTreeCtrl &  treeCtrl)
virtual

◆ EndLabelEdit()

bool CProject::EndLabelEdit ( wxTreeCtrl &  treeCtrl,
wxTreeEvent &  event 
)
virtual

Reimplemented from PT::CItem.

Definition at line 254 of file pt_project.cpp.

References PT::TPTItem< CRef< CGBDocument >, eProject >::GetData(), ToStdString(), and UpdateLabel().

◆ Initialize()

void CProject::Initialize ( wxTreeCtrl &  treeCtrl)

◆ ProjectStateChanged()

void CProject::ProjectStateChanged ( wxTreeCtrl &  treeCtrl)

◆ UpdateDisabledItems()

void CProject::UpdateDisabledItems ( wxTreeCtrl &  treeCtrl)

◆ UpdateLabel()

void CProject::UpdateLabel ( wxTreeCtrl &  treeCtrl)

◆ UpdateProjectItems()

void CProject::UpdateProjectItems ( wxTreeCtrl &  treeCtrl)

◆ UpdateViewLabel()

void CProject::UpdateViewLabel ( wxTreeCtrl &  treeCtrl,
IProjectView view 
)

◆ UpdateViews()

void CProject::UpdateViews ( wxTreeCtrl &  treeCtrl)

The documentation for this class was generated from the following files:
Modified on Wed Jun 19 17:04:43 2024 by modify_doxy.py rev. 669887