NCBI C++ ToolKit
|
Search Toolkit Book for CTextPanelContext
#include <gui/widgets/text_widget/text_item_panel.hpp>
Public Attributes | |
bool | m_ItemCollapsed |
Protected Attributes | |
CTextItemPanel * | m_Panel |
CRef< objects::CScope > | m_Scope |
CConstRef< CSerialObject > | m_SO |
vector< ITextItem * > | m_Hier |
ITextItem * | m_MouseOverItem |
set< ITextItem * > | m_SelectedItems |
wxString | m_WorkDir |
Private Attributes | |
int | m_LeftMargin |
ITextItem * | m_HighlightedItem |
wxSize | m_WSize |
wxPoint | m_DeviceOrigin |
wxString | m_FontDesc |
ICanceled * | m_Canceled |
Friends | |
class | CTextItemPanel |
class | CItemStackGuard |
Definition at line 62 of file text_item_panel.hpp.
|
inline |
Definition at line 69 of file text_item_panel.hpp.
CTextPanelContext::~CTextPanelContext | ( | ) |
Definition at line 73 of file text_item_panel.cpp.
References m_Panel.
void CTextPanelContext::AddHier | ( | ITextItem * | item | ) |
Definition at line 238 of file text_item_panel.cpp.
References m_Hier.
Referenced by CAsnViewContext::MouseMoveInContainer().
void CTextPanelContext::CalcWSize | ( | wxDC & | dc | ) |
Definition at line 80 of file text_item_panel.cpp.
void CTextPanelContext::ClearMouseMove | ( | ) |
Definition at line 232 of file text_item_panel.cpp.
References m_Hier, and m_MouseOverItem.
|
inlinevirtual |
Reimplemented in CFastaViewContext, CFlatFileViewContext, and CAsnViewContext.
Definition at line 114 of file text_item_panel.hpp.
|
inlinevirtual |
Reimplemented in CAsnViewContext.
Definition at line 107 of file text_item_panel.hpp.
References NULL.
Reimplemented in CFlatFileViewContext.
Definition at line 147 of file text_item_panel.cpp.
Reimplemented in CFlatFileViewContext.
Definition at line 145 of file text_item_panel.hpp.
void CTextPanelContext::GetActiveObjects | ( | TConstScopedObjects & | objects | ) |
Definition at line 186 of file text_item_panel.cpp.
References GetMainObjects(), GetSelectedObjects(), and GetVisibleObjects().
void CTextPanelContext::GetActiveObjects | ( | vector< TConstScopedObjects > & | objects | ) |
Definition at line 193 of file text_item_panel.cpp.
References GetMainObjects(), GetSelectedObjects(), and GetVisibleObjects().
|
inline |
Definition at line 132 of file text_item_panel.hpp.
References m_DeviceOrigin.
|
inline |
Definition at line 128 of file text_item_panel.hpp.
References m_FontDesc.
|
inline |
Definition at line 111 of file text_item_panel.hpp.
References m_HighlightedItem.
|
inline |
Definition at line 80 of file text_item_panel.hpp.
References GetWWidth().
|
inlinevirtual |
Reimplemented in CFlatFileViewContext.
Definition at line 81 of file text_item_panel.hpp.
References GetWWidth(), and m_LeftMargin.
|
virtual |
Definition at line 222 of file text_item_panel.cpp.
References m_Scope, m_SO, SConstScopedObject::object, and SConstScopedObject::scope.
Referenced by GetActiveObjects().
|
inline |
Definition at line 77 of file text_item_panel.hpp.
References m_Panel.
|
inline |
Definition at line 118 of file text_item_panel.hpp.
References CRef< C, Locker >::GetPointerOrNull(), and m_Scope.
void CTextPanelContext::GetSelectedObjects | ( | TConstObjects & | objs | ) |
Definition at line 156 of file text_item_panel.cpp.
References set< Key, Compare >::end(), set< Key, Compare >::find(), set< Key, Compare >::insert(), ITERATE, and m_SelectedItems.
Referenced by GetActiveObjects().
void CTextPanelContext::GetSelectedObjects | ( | TConstScopedObjects & | objects | ) |
Definition at line 168 of file text_item_panel.cpp.
References set< Key, Compare >::end(), set< Key, Compare >::find(), CRef< C, Locker >::GetPointerOrNull(), set< Key, Compare >::insert(), ITERATE, m_Scope, m_SelectedItems, SConstScopedObject::object, CRef< C, Locker >::Reset(), and SConstScopedObject::scope.
Definition at line 98 of file text_item_panel.hpp.
References m_SelectedItems.
|
inlinevirtual |
Reimplemented in CFlatFileViewContext.
Definition at line 96 of file text_item_panel.hpp.
Referenced by GetActiveObjects().
|
inline |
Definition at line 124 of file text_item_panel.hpp.
References m_WSize.
|
inline |
Definition at line 121 of file text_item_panel.hpp.
References m_WSize.
|
inline |
Definition at line 123 of file text_item_panel.hpp.
References m_WSize.
Referenced by GetIndentWidth(), CFlatFileViewContext::GetLeftMargin(), and GetLeftMargin().
|
inlinevirtual |
Reimplemented in CFlatFileViewContext.
Definition at line 147 of file text_item_panel.hpp.
|
inline |
Definition at line 143 of file text_item_panel.hpp.
References ICanceled::IsCanceled(), and m_Canceled.
|
inlinevirtual |
Reimplemented in CFlatFileViewContext.
Definition at line 149 of file text_item_panel.hpp.
Definition at line 151 of file text_item_panel.cpp.
References set< Key, Compare >::end(), set< Key, Compare >::find(), and m_SelectedItems.
|
inlinevirtual |
Reimplemented in CAsnViewContext.
Definition at line 106 of file text_item_panel.hpp.
void CTextPanelContext::MouseOverItem | ( | ITextItem * | item | ) |
Definition at line 243 of file text_item_panel.cpp.
References m_MouseOverItem.
|
inlinevirtual |
Reimplemented in CFlatFileViewContext, and CAsnViewContext.
Definition at line 83 of file text_item_panel.hpp.
Definition at line 104 of file text_item_panel.cpp.
References set< Key, Compare >::begin(), set< Key, Compare >::clear(), set< Key, Compare >::end(), multimap_checker< Container >::equal_range(), set< Key, Compare >::erase(), set< Key, Compare >::find(), ITextItem::GetAssosiatedObject(), CTextItemPanel::GetObjectToItem(), CConstRef< C, Locker >::GetPointer(), set< Key, Compare >::insert(), m_Panel, m_SelectedItems, and CTextItemPanel::ObjectSelectionChanged().
Definition at line 136 of file text_item_panel.hpp.
References m_Canceled.
Referenced by CCancelGuard::CCancelGuard(), and CCancelGuard::~CCancelGuard().
|
inline |
Definition at line 134 of file text_item_panel.hpp.
References m_DeviceOrigin.
|
inline |
Definition at line 133 of file text_item_panel.hpp.
References m_DeviceOrigin.
|
inline |
Definition at line 127 of file text_item_panel.hpp.
References m_FontDesc.
void CTextPanelContext::SetFontDesc | ( | wxWindow & | wnd | ) |
Definition at line 98 of file text_item_panel.cpp.
References m_FontDesc.
|
inline |
Definition at line 112 of file text_item_panel.hpp.
References m_HighlightedItem.
|
virtual |
Reimplemented in CFlatFileViewContext, and CAsnViewContext.
Definition at line 85 of file text_item_panel.cpp.
References m_Panel.
Referenced by CAsnViewContext::SetPanel(), and CFlatFileViewContext::SetPanel().
void CTextPanelContext::SetSelectedObjects | ( | const TConstObjects & | objs | ) |
Definition at line 254 of file text_item_panel.cpp.
References set< Key, Compare >::begin(), set< Key, Compare >::clear(), set< Key, Compare >::empty(), multimap_checker< Container >::equal_range(), CTextItemPanel::GetObjectToItem(), CTextItemPanel::GetTrackSelection(), set< Key, Compare >::insert(), ITERATE, m_Panel, m_SelectedItems, CTextItemPanel::MakeItemVisible(), and set< Key, Compare >::size().
|
inline |
Definition at line 151 of file text_item_panel.hpp.
References m_WorkDir.
|
inline |
Definition at line 122 of file text_item_panel.hpp.
References m_WSize.
void CTextPanelContext::TriggerTooltip | ( | ) |
Definition at line 248 of file text_item_panel.cpp.
References m_Panel, and CTextItemPanel::TriggerTooltip().
|
friend |
Definition at line 66 of file text_item_panel.hpp.
|
friend |
Definition at line 65 of file text_item_panel.hpp.
Referenced by CAsnViewContext::CreateTooltipWindow().
|
private |
Definition at line 173 of file text_item_panel.hpp.
Referenced by IsCanceled(), and SetCanceled().
|
private |
Definition at line 169 of file text_item_panel.hpp.
Referenced by GetDeviceOrigin(), and SetDeviceOrigin().
|
private |
Definition at line 171 of file text_item_panel.hpp.
Referenced by GetFontDesc(), and SetFontDesc().
|
protected |
Definition at line 159 of file text_item_panel.hpp.
Referenced by AddHier(), ClearMouseMove(), and CAsnViewContext::CreateTooltipWindow().
|
private |
Definition at line 166 of file text_item_panel.hpp.
Referenced by GetHighlightedItem(), and SetHighlightedItem().
bool CTextPanelContext::m_ItemCollapsed |
Definition at line 109 of file text_item_panel.hpp.
|
private |
Definition at line 165 of file text_item_panel.hpp.
Referenced by GetLeftMargin().
|
protected |
Definition at line 160 of file text_item_panel.hpp.
Referenced by ClearMouseMove(), CAsnViewContext::CreateTooltipWindow(), and MouseOverItem().
|
protected |
Definition at line 154 of file text_item_panel.hpp.
Referenced by CAsnViewContext::CreateTooltipWindow(), CFlatFileViewContext::FindSequence(), GetPanel(), CFlatFileViewContext::GetVisibleObjects(), CFlatFileViewContext::OnCollapseSequences(), CFlatFileViewContext::OnExpandAll(), CFastaViewContext::OnExpandAll(), CAsnViewContext::RootInitialized(), CFlatFileViewContext::RootInitialized(), SelectItem(), CAsnViewContext::SetPanel(), CFlatFileViewContext::SetPanel(), SetPanel(), SetSelectedObjects(), TriggerTooltip(), CAsnViewContext::~CAsnViewContext(), CFlatFileViewContext::~CFlatFileViewContext(), and ~CTextPanelContext().
|
protected |
Definition at line 155 of file text_item_panel.hpp.
Referenced by CAsnViewContext::CreateTooltipWindow(), CAsnViewContext::GetCurrentSelection(), GetMainObjects(), GetScope(), GetSelectedObjects(), and CAsnViewContext::RootInitialized().
Definition at line 161 of file text_item_panel.hpp.
Referenced by CAsnViewContext::GetCurrentSelection(), CFlatFileViewContext::GetCurrentSelection(), CFlatFileViewContext::GetItemSelection(), GetSelectedObjects(), GetSelectedTextItems(), IsItemSelected(), SelectItem(), and SetSelectedObjects().
|
protected |
Definition at line 156 of file text_item_panel.hpp.
Referenced by GetMainObjects().
|
protected |
Definition at line 162 of file text_item_panel.hpp.
Referenced by CAsnViewContext::GetWorkDir(), CFlatFileViewContext::GetWorkDir(), and SetWorkDir().
|
private |
Definition at line 168 of file text_item_panel.hpp.
Referenced by CalcWSize(), GetWHeight(), GetWSize(), GetWWidth(), and SetWSize().