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

Search Toolkit Book for PT::CProjectItem

#include <gui/core/pt_project_item.hpp>

+ Inheritance diagram for PT::CProjectItem:
+ Collaboration diagram for PT::CProjectItem:

Public Member Functions

 CProjectItem (const TParent::TDataType &data)
 
void Initialize (wxTreeCtrl &treeCtrl, CGBDocument &doc)
 
virtual bool CanDoProperties ()
 
virtual bool DoProperties (wxTreeCtrl &treeCtrl)
 
virtual void BeginLabelEdit (wxTreeCtrl &treeCtrl, wxTreeEvent &event)
 
virtual bool EndLabelEdit (wxTreeCtrl &treeCtrl, wxTreeEvent &event)
 
virtual bool CanDoRemove (wxTreeCtrl &treeCtrl) const
 
virtual bool DoRemove (wxTreeCtrl &treeCtrl)
 
virtual bool CanCopyToClipboard (wxTreeCtrl &treeCtrl) const
 
virtual bool CanCutToClipboard (wxTreeCtrl &treeCtrl) const
 
virtual bool CanPaste (wxTreeCtrl &treeCtrl) const
 
virtual bool Paste (wxTreeCtrl &treeCtrl, PT::TItems &items, bool move)
 
- Public Member Functions inherited from PT::TPTItem< CRef< objects::CProjectItem >, eProjectItem >
 TPTItem (const CRef< objects::CProjectItem > &data)
 
const CRef< objects::CProjectItem > & GetData () const
 
CRef< objects::CProjectItem > & GetData ()
 
void SetData (const CRef< objects::CProjectItem > &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 Paste (wxTreeCtrl &, vector< CItem * > &, bool)
 

Private Types

typedef TPTItem< CRef< objects::CProjectItem >, eProjectItemTParent
 

Additional Inherited Members

- Public Types inherited from PT::TPTItem< CRef< objects::CProjectItem >, eProjectItem >
typedef CRef< objects::CProjectItem > TDataType
 
- Static Public Member Functions inherited from PT::CItem
static void LogInstanceCount ()
 
- Protected Attributes inherited from PT::TPTItem< CRef< objects::CProjectItem >, eProjectItem >
CRef< objects::CProjectItem > m_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 45 of file pt_project_item.hpp.

Member Typedef Documentation

◆ TParent

typedef TPTItem<CRef<objects::CProjectItem>, eProjectItem> PT::CProjectItem::TParent
private

Definition at line 47 of file pt_project_item.hpp.

Constructor & Destructor Documentation

◆ CProjectItem()

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

Definition at line 49 of file pt_project_item.hpp.

Member Function Documentation

◆ BeginLabelEdit()

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

Reimplemented from PT::CItem.

Definition at line 174 of file pt_project_item.cpp.

◆ CanCopyToClipboard()

virtual bool PT::CProjectItem::CanCopyToClipboard ( wxTreeCtrl &  treeCtrl) const
inlinevirtual

Reimplemented from PT::CItem.

Definition at line 62 of file pt_project_item.hpp.

◆ CanCutToClipboard()

virtual bool PT::CProjectItem::CanCutToClipboard ( wxTreeCtrl &  treeCtrl) const
inlinevirtual

Reimplemented from PT::CItem.

Definition at line 63 of file pt_project_item.hpp.

◆ CanDoProperties()

virtual bool PT::CProjectItem::CanDoProperties ( )
inlinevirtual

Reimplemented from PT::CItem.

Definition at line 53 of file pt_project_item.hpp.

◆ CanDoRemove()

virtual bool PT::CProjectItem::CanDoRemove ( wxTreeCtrl &  treeCtrl) const
inlinevirtual

Reimplemented from PT::CItem.

Definition at line 59 of file pt_project_item.hpp.

◆ CanPaste()

bool CProjectItem::CanPaste ( wxTreeCtrl &  treeCtrl) const
virtual

Reimplemented from PT::CItem.

Definition at line 244 of file pt_project_item.cpp.

References PT::CItem::CanPaste(), and PT::CItem::GetParent().

◆ DoProperties()

bool CProjectItem::DoProperties ( wxTreeCtrl &  treeCtrl)
virtual

◆ DoRemove()

bool CProjectItem::DoRemove ( wxTreeCtrl &  treeCtrl)
virtual

◆ EndLabelEdit()

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

◆ Initialize()

void CProjectItem::Initialize ( wxTreeCtrl &  treeCtrl,
CGBDocument doc 
)

◆ Paste()

bool CProjectItem::Paste ( wxTreeCtrl &  treeCtrl,
PT::TItems items,
bool  move 
)
virtual

Definition at line 252 of file pt_project_item.cpp.

References PT::CItem::GetParent(), and PT::CItem::Paste().


The documentation for this class was generated from the following files:
Modified on Mon Jun 17 05:11:23 2024 by modify_doxy.py rev. 669887