#include <wm_client.hpp>
Inheritance diagram for IWMClient:

Definition at line 47 of file wm_client.hpp.
Public Types | |
| enum | ELabel { eContent, eDetailed, eDefault = eDetailed } |
| Different flavors of label types for different GUI aspects. More... | |
Public Member Functions | |
| virtual wxWindow * | GetWindow ()=0 |
| returns a pointer to the wxWindow representing the client | |
| virtual wxEvtHandler * | GetCommandHandler ()=0 |
| returns a pointer to the command handler (for menu commands and updates) | |
| virtual string | GetClientLabel (IWMClient::ELabel ltype=IWMClient::eDefault) const =0 |
| returns the client label (name) to be displayed in UI | |
| virtual string | GetIconAlias () const =0 |
| returns an icon alias that can be used to retrieve the client's icon | |
| virtual const CRgbaColor * | GetColor () const =0 |
| returns a color associated with the client, n/a if NULL | |
| virtual void | SetColor (const CRgbaColor &color)=0 |
| returns a color associated with the client | |
| virtual const wxMenu * | GetMenu ()=0 |
| returns menu that can be merged with main menu of an application | |
| virtual void | UpdateMenu (wxMenu &root_menu)=0 |
| virtual CFingerprint | GetFingerprint () const =0 |
| returns a fingerprint identifying the client | |
| virtual | ~IWMClient () |
Classes | |
| class | CFingerprint |
| CFingerprint identifies an instance of IWMClient and is used for labeling layout positions. More... | |
|
|
Different flavors of label types for different GUI aspects.
Definition at line 75 of file wm_client.hpp. |
|
|
Definition at line 108 of file wm_client.hpp. |
|
|
returns the client label (name) to be displayed in UI
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CClockPanelWMClient, CTextWMClient, CHTMLWMClient, CTreeWMClient, and CGLTestWMClient. Referenced by CMinPanelContainer::OnContextMenu(), CGBDocument::x_AssignViewIndex(), CWindowManager::x_GetClientLabelForMenu(), CDockNotebook::x_GetPageNameByWindow(), CDockContainer::x_GetPageNameByWindow(), and CAppExplorerService::x_GetViewLabel(). |
|
|
returns a color associated with the client, n/a if NULL
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CClockPanelWMClient, CTextWMClient, CHTMLWMClient, CTreeWMClient, and CGLTestWMClient. Referenced by CDockManager::GetDockPanelMenu(), and CWindowManager::OnSetClientColor(). |
|
|
returns a pointer to the command handler (for menu commands and updates)
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CSeqTextView, CTextView, CClockPanelWMClient, and CGLTestWMClient. Referenced by CDockPanel::ProcessEvent(). |
|
|
returns a fingerprint identifying the client
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CClockPanelWMClient, CTextWMClient, CHTMLWMClient, CTreeWMClient, and CGLTestWMClient. Referenced by CDockContainer::AddClientToDefaultLocation(), CDockManager::AddToDefaultLocation(), FNodeHasFingerprint::operator()(), FCountWindowsWithFingerprint::operator()(), FNodeFingerprintEquals::operator()(), CDockContainer::x_DestroyNode(), CDockContainer::x_Full_RemoveNode(), and CDockContainer::x_ToUserObject(). |
|
|
returns an icon alias that can be used to retrieve the client's icon
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CClockPanelWMClient, and CGLTestWMClient. Referenced by CDockPanel::x_DrawClientElements(), CMinPanelContainer::x_DrawItem(), and CMinPanelContainer::x_MeasureItem(). |
|
|
returns menu that can be merged with main menu of an application
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CViewGraphic, CClockPanelWMClient, CTextWMClient, CHTMLWMClient, CTreeWMClient, and CGLTestWMClient. |
|
|
|
returns a color associated with the client
Implemented in CDataMiningView, CProjectTreeView, CProjectViewBase, CSelectionView, CwxGLTestView, CDiagConsoleView, CEventView, CTaskView, CClockPanelWMClient, CTextWMClient, CHTMLWMClient, CTreeWMClient, and CGLTestWMClient. Referenced by CWindowManager::OnSetClientColor(). |
|
1.4.6
Modified on Mon Dec 07 16:24:27 2009 by modify_doxy.py rev. 173732