#include <view.hpp>
Inheritance diagram for IView:

IView usually implements other UI-related interfaces such as IWMClient, IMenuContributor, IToolBarContext, IHelpContext etc.
IView lifetime shall be managed using CIRef and CRef smart pointers. Because of this classes that implement IView shall not derive from wxWindow. wxWindow has its own lifetime management policy that is not compatible with smart pointers.
It is recommended that all classes inherited from IView implement IRegSettings interface, this will allow the framework to save / restore view's settings automatically.
Definition at line 72 of file view.hpp.
Public Member Functions | |
| virtual | ~IView () |
| virtual const CViewTypeDescriptor & | GetTypeDescriptor () const =0 |
| return an object providing meta information about thei view type | |
| virtual void | SetWorkbench (IWorkbench *workbench)=0 |
| connect / disconnect this view with / from Workbench | |
| virtual void | CreateViewWindow (wxWindow *parent)=0 |
| create Window corresponding to the view | |
| virtual void | DestroyViewWindow ()=0 |
| destroy Window corresponding to the view | |
|
|
|
|
|
create Window corresponding to the view
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CClockView, CDiagConsoleView, CEventView, CTaskView, CAlignSpanView, CAnnotCompareView, CCrossAlignView, CDotMatrixView, CMPCrossAlignView, CMultiAlignView, CPhyTreeView, CSeqTextView, CTextView, CFeatTableView, CViewGraphic, and CSnpTableView. Referenced by CViewManagerService::x_DoAddToWorkbench(). |
|
|
destroy Window corresponding to the view
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CClockView, CDiagConsoleView, CEventView, CTaskView, CAlignSpanView, CAnnotCompareView, CCrossAlignView, CDotMatrixView, CMPCrossAlignView, CMultiAlignView, CPhyTreeView, CSeqTextView, CTextView, CFeatTableView, CViewGraphic, and CSnpTableView. |
|
|
return an object providing meta information about thei view type
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CClockView, CDiagConsoleView, CEventView, CTaskView, CAlignSpanView, CAnnotCompareView, CCrossAlignView, CDotMatrixView, CMPCrossAlignView, CMultiAlignView, CPhyTreeView, CSeqTextView, CTextView, CFeatTableView, CViewGraphic, and CSnpTableView. Referenced by CViewManagerService::AddToWorkbench(), CAppExplorerService::x_CreateProjectViewTreeItem(), CViewManagerService::x_DoRemoveViewFromWorkbench(), and CViewManagerService::x_GetViewRegistryPath(). |
|
|
connect / disconnect this view with / from Workbench
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CProjectView, CSelectionView, CwxGLTestView, CClockView, CDiagConsoleView, CEventView, CTaskView, and CViewGraphic. Referenced by CViewManagerService::x_DoRemoveViewFromWorkbench(). |
1.4.6
Modified on Wed Dec 09 08:20:14 2009 by modify_doxy.py rev. 173732