GME
13
|
#include <ObjectInspectorCtl.h>
Public Types | |
enum | { dispidMgaProject = 1L, dispidMgaObject = 2L, dispidShowPanel = 3L, dispidEditName = 4L, dispidCyclePanel = 5L, eventidRootFolderNameChanged = 1L, eventidConvertPathToCustom = 2L } |
Public Member Functions | |
CObjectInspectorCtrl () | |
virtual void | OnDraw (CDC *pdc, const CRect &rcBounds, const CRect &rcInvalid) |
virtual void | DoPropExchange (CPropExchange *pPX) |
virtual void | OnResetState () |
void | FireRootFolderNameChanged () |
void | FireConvertPathToCustom (LPUNKNOWN pMgaObject) |
STDMETHOD (GlobalEvent(globalevent_enum event)) | |
STDMETHOD (ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v)) | |
void | WriteNameToMga (const CString &strName) |
void | UndoRedo (bool undo=true) |
void | WriteAttributeItemToMga (CListItem ListItem) |
void | WritePreferenceItemToMga (CListItem ListItem, bool bIsForKind) |
void | RefreshReferencePanel () |
void | RefreshAttributePanel () |
void | RefreshPropertyPanel () |
void | RefreshPanels () |
bool | IsInitialized (bool withObject=false) const |
void | IgnoreNextEvents (void) |
Public Attributes | |
CAttribute | m_Attribute |
CPreference | m_Preference |
CProperty | m_Property |
Protected Member Functions | |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
~CObjectInspectorCtrl () | |
DECLARE_OLECREATE_EX (CObjectInspectorCtrl) DECLARE_OLETYPELIB(CObjectInspectorCtrl) DECLARE_PROPPAGEIDS(CObjectInspectorCtrl) DECLARE_OLECTLTYPE(CObjectInspectorCtrl) CInspectorDlg m_inspectorDlg | |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg LPUNKNOWN | GetMgaProject () |
afx_msg void | SetMgaProject (LPUNKNOWN newValue) |
afx_msg LPUNKNOWN | GetMgaObjects () |
afx_msg void | SetMgaObjects (LPUNKNOWN newValue) |
afx_msg void | ShowPanel (long panelID) |
afx_msg void | EditName () |
afx_msg void | CyclePanel (VARIANT_BOOL frwd) |
afx_msg void | AboutBox () |
void | OnMgaObjectEvent (IMgaObject *obj, unsigned long eventmask) |
void | OnMgaGlobalEvent (globalevent_enum event) |
void | RemoveZombies () |
Protected Attributes | |
CComPtr< IMgaTerritory > | m_territory |
CComPtr< IMgaProject > | m_project |
CComPtr< IMgaObjects > | m_objects |
CMgaFCOPtrList | m_FCOList |
CMgaFolderPtrList | m_FolderList |
bool | ignoreNextEvents |
Definition at line 36 of file ObjectInspectorCtl.h.
anonymous enum |
dispidMgaProject | |
dispidMgaObject | |
dispidShowPanel | |
dispidEditName | |
dispidCyclePanel | |
eventidRootFolderNameChanged | |
eventidConvertPathToCustom |
Definition at line 136 of file ObjectInspectorCtl.h.
Definition at line 172 of file ObjectInspectorCtl.cpp.
CObjectInspectorCtrl::~CObjectInspectorCtrl | ( | ) | [protected] |
Definition at line 190 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::AboutBox | ( | ) | [protected] |
Definition at line 270 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::CyclePanel | ( | VARIANT_BOOL | frwd | ) | [protected] |
Definition at line 308 of file ObjectInspectorCtl.cpp.
CObjectInspectorCtrl::DECLARE_OLECREATE_EX | ( | CObjectInspectorCtrl | ) | [protected] |
void CObjectInspectorCtrl::DoPropExchange | ( | CPropExchange * | pPX | ) | [virtual] |
Definition at line 246 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::EditName | ( | ) | [protected] |
Definition at line 302 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::FireConvertPathToCustom | ( | LPUNKNOWN | pMgaObject | ) | [inline] |
Definition at line 104 of file ObjectInspectorCtl.h.
void CObjectInspectorCtrl::FireRootFolderNameChanged | ( | ) | [inline] |
Definition at line 102 of file ObjectInspectorCtl.h.
LPUNKNOWN CObjectInspectorCtrl::GetMgaObjects | ( | ) | [protected] |
Definition at line 374 of file ObjectInspectorCtl.cpp.
LPUNKNOWN CObjectInspectorCtrl::GetMgaProject | ( | ) | [protected] |
Definition at line 314 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::IgnoreNextEvents | ( | void | ) |
Definition at line 533 of file ObjectInspectorCtl.cpp.
bool CObjectInspectorCtrl::IsInitialized | ( | bool | withObject = false | ) | const |
Definition at line 528 of file ObjectInspectorCtl.cpp.
int CObjectInspectorCtrl::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 280 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::OnDraw | ( | CDC * | pdc, |
const CRect & | rcBounds, | ||
const CRect & | rcInvalid | ||
) | [virtual] |
Definition at line 205 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::OnMgaGlobalEvent | ( | globalevent_enum | event | ) | [protected] |
Definition at line 764 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::OnMgaObjectEvent | ( | IMgaObject * | obj, |
unsigned long | eventmask | ||
) | [protected] |
Definition at line 637 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::OnResetState | ( | ) | [virtual] |
Definition at line 259 of file ObjectInspectorCtl.cpp.
BOOL CObjectInspectorCtrl::PreCreateWindow | ( | CREATESTRUCT & | cs | ) | [protected, virtual] |
Definition at line 290 of file ObjectInspectorCtl.cpp.
Definition at line 570 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::RefreshPanels | ( | ) |
Definition at line 485 of file ObjectInspectorCtl.cpp.
Definition at line 615 of file ObjectInspectorCtl.cpp.
Definition at line 538 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::RemoveZombies | ( | ) | [protected] |
Definition at line 839 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::SetMgaObjects | ( | LPUNKNOWN | newValue | ) | [protected] |
Definition at line 406 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::SetMgaProject | ( | LPUNKNOWN | newValue | ) | [protected] |
Definition at line 327 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::ShowPanel | ( | long | panelID | ) | [protected] |
Definition at line 296 of file ObjectInspectorCtl.cpp.
CObjectInspectorCtrl::STDMETHOD | ( | GlobalEvent(globalevent_enum event) | ) |
CObjectInspectorCtrl::STDMETHOD | ( | ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v) | ) |
void CObjectInspectorCtrl::UndoRedo | ( | bool | undo = true | ) |
Definition at line 1145 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::WriteAttributeItemToMga | ( | CListItem | ListItem | ) |
Definition at line 872 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::WriteNameToMga | ( | const CString & | strName | ) |
Definition at line 1046 of file ObjectInspectorCtl.cpp.
void CObjectInspectorCtrl::WritePreferenceItemToMga | ( | CListItem | ListItem, |
bool | bIsForKind | ||
) |
Definition at line 922 of file ObjectInspectorCtl.cpp.
bool CObjectInspectorCtrl::ignoreNextEvents [protected] |
Definition at line 73 of file ObjectInspectorCtl.h.
Definition at line 128 of file ObjectInspectorCtl.h.
CMgaFCOPtrList CObjectInspectorCtrl::m_FCOList [protected] |
Definition at line 70 of file ObjectInspectorCtl.h.
CMgaFolderPtrList CObjectInspectorCtrl::m_FolderList [protected] |
Definition at line 71 of file ObjectInspectorCtl.h.
CComPtr<IMgaObjects> CObjectInspectorCtrl::m_objects [protected] |
Definition at line 68 of file ObjectInspectorCtl.h.
Definition at line 129 of file ObjectInspectorCtl.h.
CComPtr<IMgaProject> CObjectInspectorCtrl::m_project [protected] |
Definition at line 67 of file ObjectInspectorCtl.h.
Definition at line 130 of file ObjectInspectorCtl.h.
CComPtr<IMgaTerritory> CObjectInspectorCtrl::m_territory [protected] |
Definition at line 66 of file ObjectInspectorCtl.h.