#include <selection_view.hpp>
Inheritance diagram for CSelectionView:


Definition at line 156 of file selection_view.hpp.
Public Member Functions | |
| CSelectionView () | |
| virtual | ~CSelectionView () |
IView | |
| virtual const CViewTypeDescriptor & | GetTypeDescriptor () const |
| IView interface implementation. | |
| virtual void | SetWorkbench (IWorkbench *workbench) |
| connect / disconnect this view with / from Workbench | |
| virtual void | CreateViewWindow (wxWindow *parent) |
| create Window corresponding to the view | |
| virtual void | DestroyViewWindow () |
| destroy Window corresponding to the view | |
IWMClient interface implementation | |
| virtual wxWindow * | GetWindow () |
| IWMClient interface implementation. | |
| virtual wxEvtHandler * | GetCommandHandler () |
| returns a pointer to the command handler (for menu commands and updates) | |
| virtual string | GetClientLabel (IWMClient::ELabel ltype=IWMClient::eDefault) const |
| returns the client label (name) to be displayed in UI | |
| virtual string | GetIconAlias () const |
| returns an icon alias that can be used to retrieve the client's icon | |
| virtual const CRgbaColor * | GetColor () const |
| returns a color associated with the client, n/a if NULL | |
| virtual void | SetColor (const CRgbaColor &aColor) |
| returns a color associated with the client | |
| virtual const wxMenu * | GetMenu () |
| returns menu that can be merged with main menu of an application | |
| virtual void | UpdateMenu (wxMenu &aRootMenu) |
| virtual CFingerprint | GetFingerprint () const |
| returns a fingerprint identifying the client | |
IRegSettings interface implementation | |
| virtual void | SetRegistryPath (const string ®_path) |
| IRegSettings interface implementation. | |
| virtual void | LoadSettings () |
| virtual void | SaveSettings () const |
IObserver interface implementation | |
| virtual void | OnUpdate (IObserverUpdate &update) |
ISelectionClient interface implementation | |
| virtual void | GetSelection (TConstScopedObjects &objects) const |
| shall return data objects representing selected things, return one data object for every selected thing. | |
| virtual void | SetSelectionService (ISelectionService *service) |
| virtual string | GetSelClientLabel () |
| returns a string identifying the client in UI | |
| virtual void | GetSelection (CSelectionEvent &evt) const |
| get selection for broadcasting | |
| virtual void | SetSelection (CSelectionEvent &evt) |
| set broadcasted selection | |
| virtual void | GetMainObject (TConstScopedObjects &objects) const |
| Adds the main data objects represented by the client to "objects". | |
| virtual CRef< objects::CScope > | GetScope () const |
| if all selected elements belong to the same scope - return it, otherwise return NULL | |
Protected Attributes | |
| CSelectionService * | m_Service |
| bool | m_Broadcasting |
| CSelectionPanel * | m_Panel |
| wxEvtHandler * | m_Handler |
Static Protected Attributes | |
| static CViewTypeDescriptor | m_TypeDescr |
Private Member Functions | |
| CSelectionView (const CSelectionView &) | |
| CSelectionView & | operator= (const CSelectionView &) |
Friends | |
| class | CSelectionViewFactory |
|
|
Definition at line 544 of file selection_view.cpp. |
|
|
Definition at line 552 of file selection_view.cpp. References m_Handler, and SetWorkbench(). |
|
|
|
|
|
create Window corresponding to the view
Implements IView. Definition at line 622 of file selection_view.cpp. References CSelectionPanel::Create(), GetWindow(), m_Handler, m_Panel, and PushFrontEventHandler(). |
|
|
destroy Window corresponding to the view
Implements IView. Definition at line 633 of file selection_view.cpp. References CSelectionPanel::Destroy(), GetWindow(), m_Handler, m_Panel, and PopFrontEventHandler(). |
|
|
returns the client label (name) to be displayed in UI
Implements IWMClient. Definition at line 654 of file selection_view.cpp. References CUIObject::GetLabel(), and m_TypeDescr. |
|
|
returns a color associated with the client, n/a if NULL
Implements IWMClient. Definition at line 666 of file selection_view.cpp. |
|
|
returns a pointer to the command handler (for menu commands and updates)
Implements IWMClient. Definition at line 181 of file selection_view.hpp. References GetWindow(). |
|
|
returns a fingerprint identifying the client
Implements IWMClient. Definition at line 689 of file selection_view.cpp. References CUIObject::GetLabel(), and m_TypeDescr. |
|
|
returns an icon alias that can be used to retrieve the client's icon
Implements IWMClient. Definition at line 660 of file selection_view.cpp. References CUIObject::GetIconAlias(), and m_TypeDescr. |
|
|
Adds the main data objects represented by the client to "objects". Implementation shall not clear the container as it can be used for accumulating objects. Implements ISelectionClient. Definition at line 757 of file selection_view.cpp. |
|
|
returns menu that can be merged with main menu of an application
Implements IWMClient. Definition at line 678 of file selection_view.cpp. |
|
|
if all selected elements belong to the same scope - return it, otherwise return NULL
Implements ISelectionClient. Definition at line 763 of file selection_view.cpp. |
|
|
returns a string identifying the client in UI
Implements ISelectionClient. Definition at line 728 of file selection_view.cpp. |
|
|
get selection for broadcasting
Implements ISelectionClient. Definition at line 734 of file selection_view.cpp. References CSelectionEvent::AddObjectSelection(), GetSelection(), and ITERATE. |
|
|
shall return data objects representing selected things, return one data object for every selected thing. Implementation shall not clear the container as it can be used for accumulating objects. Implements ISelectionClient. Definition at line 715 of file selection_view.cpp. References CSelectionPanel::GetSelection(), and m_Panel. Referenced by GetSelection(). |
|
|
IView interface implementation.
Implements IView. Definition at line 597 of file selection_view.cpp. References m_TypeDescr. |
|
|
IWMClient interface implementation.
Implements IWMClient. Definition at line 648 of file selection_view.cpp. References m_Panel. Referenced by CreateViewWindow(), DestroyViewWindow(), and GetCommandHandler(). |
|
|
Implements IRegSettings. Definition at line 709 of file selection_view.cpp. References CSelectionPanel::LoadSettings(), and m_Panel. |
|
|
Implements IObserver. Definition at line 558 of file selection_view.cpp. References _ASSERT, CObserverUpdate::eAttached, CObserverUpdate::ePreDetach, CObserverUpdate::eStateChanged, CObserverUpdate::GetObservable(), CObserverUpdate::GetType(), m_Panel, m_Service, CSelectionPanel::OnSelServiceStateChange(), CSelectionPanel::SetSelectionService(), and CSelectionPanel::Update(). |
|
|
|
|
|
Implements IRegSettings. Definition at line 703 of file selection_view.cpp. References m_Panel, and CSelectionPanel::SaveSettings(). |
|
|
returns a color associated with the client
Implements IWMClient. Definition at line 672 of file selection_view.cpp. |
|
|
IRegSettings interface implementation.
Implements IRegSettings. Definition at line 698 of file selection_view.cpp. References m_Panel, and CSelectionPanel::SetRegistryPath(). |
|
|
set broadcasted selection
Implements ISelectionClient. Definition at line 751 of file selection_view.cpp. |
|
|
Implements ISelectionClient. Definition at line 721 of file selection_view.cpp. References m_Service. |
|
|
connect / disconnect this view with / from Workbench
Implements IView. Definition at line 603 of file selection_view.cpp. References IObservable::DetachObserver(), IServiceLocator::GetServiceByType(), and m_Service. Referenced by ~CSelectionView(). |
|
|
Implements IWMClient. Definition at line 684 of file selection_view.cpp. |
|
|
Definition at line 164 of file selection_view.hpp. |
|
|
Definition at line 222 of file selection_view.hpp. |
|
|
Definition at line 225 of file selection_view.hpp. Referenced by CreateViewWindow(), DestroyViewWindow(), and ~CSelectionView(). |
|
|
Definition at line 224 of file selection_view.hpp. Referenced by CreateViewWindow(), DestroyViewWindow(), GetSelection(), GetWindow(), LoadSettings(), OnUpdate(), SaveSettings(), and SetRegistryPath(). |
|
|
Definition at line 220 of file selection_view.hpp. Referenced by OnUpdate(), SetSelectionService(), and SetWorkbench(). |
|
|
Definition at line 219 of file selection_view.hpp. Referenced by CSelectionViewFactory::CreateInstanceByFingerprint(), GetClientLabel(), GetFingerprint(), GetIconAlias(), GetTypeDescriptor(), and CSelectionViewFactory::GetViewTypeDescriptor(). |
1.4.6
Modified on Mon Dec 07 16:23:55 2009 by modify_doxy.py rev. 173732