GME  13
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends
CMainFrame Class Reference

#include <MainFrm.h>

Collaboration diagram for CMainFrame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMainFrame ()
void ActivateView (CView *view)
void CreateNewView (CView *view, CComPtr< IMgaModel > &model)
void DestroyView (CView *view)
void WriteStatusZoom (int zoomPct)
void WriteStatusParadigm (const CString &txt)
void WriteStatusMode (const CString &txt)
void WriteStatusText (int pane, const CString &txt)
void UpdateTitle (LPCTSTR title)
void SetPartBrowserMetaModel (CGuiMetaModel *meta)
void SetPartBrowserBg (COLORREF bgColor)
void RePaintPartBrowser ()
void ChangePartBrowserAspect (int ind)
void CyclePartBrowserAspect ()
void SetGMEViewMetaModel (CGuiMetaModel *meta)
void ChangeGMEViewAspect (int ind)
void CycleGMEViewAspect ()
void GMEViewInvalidate ()
BOOL VerifyBarState (LPCTSTR lpszProfileName)
void ShowObjectInspector ()
void ShowFindDlg ()
void HideFindDlg ()
void StartAutosaveTimer (int secs)
void StopAutosaveTimer ()
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual BOOL DestroyWindow ()
virtual BOOL PreTranslateMessage (MSG *pMsg)
virtual ~CMainFrame ()
void setGmeOleApp (CGMEOLEApp *the_ole_app)
void setMgaProj ()
void clearGmeOleApp ()
void clearMgaProj ()
afx_msg void OnDropFiles (HDROP p_hDropInfo)
void ShowNavigationAndModeToolbars (bool isVisible)
void EnableActivateLastActive (BOOL enable)
void CheckForOffscreenPanes ()

Public Attributes

int timePaneNo
int paradigmPaneNo
int modePaneNo
int zoomPaneNo
CGMEOLEAppmGmeOleApp
CGMEPanningWindow m_panningWindow
CGMEConsole m_console
CComponentBar m_wndComponentBar

Static Public Attributes

static CMainFrametheInstance = 0

Protected Member Functions

afx_msg void OnUpdateTime (CCmdUI *pCmdUI)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnViewFullScreen ()
afx_msg void OnEditSearch ()
afx_msg void OnUpdateEditSearch (CCmdUI *pCmdUI)
afx_msg void OnTimer (UINT_PTR nIDEvent)
afx_msg void OnDestroy ()
afx_msg void OnViewMultiUserRefreshSourceControl ()
afx_msg void OnUpdateViewMultiUserRefreshSourceControl (CCmdUI *pCmdUI)
afx_msg void OnViewMultiUserActiveUsers ()
afx_msg void OnUpdateViewMultiUserActiveUsers (CCmdUI *pCmdUI)
afx_msg void OnUpdateViewMultiUserSubversion (CCmdUI *pCmdUI)
afx_msg void OnViewClearConsole ()
afx_msg void OnUpdateViewClearConsole (CCmdUI *pCmdUI)
template<class paneclass , typename paneclass CMainFrame::*const m_pane>
afx_msg void OnViewPane ()
template<class paneclass , typename paneclass CMainFrame::*const m_pane>
afx_msg void OnUpdateViewPane (CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowNew (CCmdUI *pCmdUI)
afx_msg void OnClose ()
afx_msg void OnUpdateApplicationLook (CCmdUI *pCmdUI)
afx_msg void OnBtnBack ()
afx_msg void OnBtnHome ()
afx_msg void OnUpdateBtnBack (CCmdUI *pCmdUI)
afx_msg void OnUpdateBtnHome (CCmdUI *pCmdUI)
afx_msg void OnWindowManager ()
afx_msg void OnViewCustomize ()
afx_msg void OnMdiMoveToNextGroup ()
afx_msg void OnMdiMoveToPrevGroup ()
afx_msg void OnMdiNewHorzTabGroup ()
afx_msg void OnMdiNewVertGroup ()
LRESULT OnToolbarCreateNew (WPARAM wp, LPARAM lp)
afx_msg BOOL OnBarCheck (UINT nID)
afx_msg void OnUpdateControlBarMenus (CCmdUI *pCmdUI)
afx_msg void OnWindowNewhorizontaltabgroup ()
afx_msg void OnWindowNewverticaltabgroup ()
afx_msg void OnWindowMovetoprevioustabgroup ()
afx_msg void OnWindowMovetonexttabgroup ()
afx_msg void OnUpdateWindowNewhorizontaltabgroup (CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowNewverticaltabgroup (CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowMovetoprevioustabgroup (CCmdUI *pCmdUI)
afx_msg void OnUpdateWindowMovetonexttabgroup (CCmdUI *pCmdUI)
afx_msg LRESULT OnGetTabTooltip (WPARAM wp, LPARAM lp)

Protected Attributes

CMFCStatusBar m_wndStatusBar
CMFCToolBar m_wndToolBarMain
CMFCToolBar m_wndToolBarModeling
CMFCToolBar m_wndToolBarWins
CMFCMenuBar m_wndMenuBar
CMFCToolBar m_wndModeBar
CMFCToolBar m_wndNaviBar
CGMEPartBrowser m_partBrowser
CGMEBrowser m_browser
CGMEObjectInspector m_objectInspector
CGMESearch m_search
UINT_PTR m_autosaveTimerID

Friends

class CGMEOLEApp
void CGMEApp::UpdateComponentLists (bool restart_addons)

Detailed Description

Definition at line 58 of file MainFrm.h.


Constructor & Destructor Documentation

Definition at line 164 of file MainFrm.cpp.

CMainFrame::~CMainFrame ( ) [virtual]

Definition at line 179 of file MainFrm.cpp.


Member Function Documentation

void CMainFrame::ActivateView ( CView *  view)

Definition at line 665 of file MainFrm.cpp.

Definition at line 909 of file MainFrm.cpp.

void CMainFrame::ChangePartBrowserAspect ( int  ind) [inline]

Definition at line 88 of file MainFrm.h.

Definition at line 1612 of file MainFrm.cpp.

Definition at line 221 of file MainFrm.cpp.

Definition at line 233 of file MainFrm.cpp.

void CMainFrame::CreateNewView ( CView *  view,
CComPtr< IMgaModel > &  model 
)

Definition at line 689 of file MainFrm.cpp.

Definition at line 923 of file MainFrm.cpp.

Definition at line 89 of file MainFrm.h.

void CMainFrame::DestroyView ( CView *  view)

Definition at line 657 of file MainFrm.cpp.

Definition at line 986 of file MainFrm.cpp.

void CMainFrame::EnableActivateLastActive ( BOOL  enable) [inline]

Definition at line 223 of file MainFrm.h.

Definition at line 937 of file MainFrm.cpp.

Definition at line 1001 of file MainFrm.cpp.

BOOL CMainFrame::OnBarCheck ( UINT  nID) [protected]

Definition at line 1493 of file MainFrm.cpp.

void CMainFrame::OnBtnBack ( ) [protected]

Definition at line 1347 of file MainFrm.cpp.

void CMainFrame::OnBtnHome ( ) [protected]

Definition at line 1358 of file MainFrm.cpp.

void CMainFrame::OnClose ( ) [protected]

Definition at line 239 of file MainFrm.cpp.

int CMainFrame::OnCreate ( LPCREATESTRUCT  lpCreateStruct) [protected]

Definition at line 439 of file MainFrm.cpp.

void CMainFrame::OnDestroy ( ) [protected]

Definition at line 1035 of file MainFrm.cpp.

void CMainFrame::OnDropFiles ( HDROP  p_hDropInfo)

Definition at line 1263 of file MainFrm.cpp.

void CMainFrame::OnEditSearch ( ) [protected]

Definition at line 864 of file MainFrm.cpp.

LRESULT CMainFrame::OnGetTabTooltip ( WPARAM  wp,
LPARAM  lp 
) [protected]

Definition at line 1579 of file MainFrm.cpp.

afx_msg void CMainFrame::OnMdiMoveToNextGroup ( ) [protected]
afx_msg void CMainFrame::OnMdiMoveToPrevGroup ( ) [protected]
afx_msg void CMainFrame::OnMdiNewHorzTabGroup ( ) [protected]
afx_msg void CMainFrame::OnMdiNewVertGroup ( ) [protected]
void CMainFrame::OnTimer ( UINT_PTR  nIDEvent) [protected]

Definition at line 1007 of file MainFrm.cpp.

LRESULT CMainFrame::OnToolbarCreateNew ( WPARAM  wp,
LPARAM  lp 
) [protected]

Definition at line 1465 of file MainFrm.cpp.

void CMainFrame::OnUpdateApplicationLook ( CCmdUI *  pCmdUI) [protected]

Definition at line 1369 of file MainFrm.cpp.

void CMainFrame::OnUpdateBtnBack ( CCmdUI *  pCmdUI) [protected]

Definition at line 1353 of file MainFrm.cpp.

void CMainFrame::OnUpdateBtnHome ( CCmdUI *  pCmdUI) [protected]

Definition at line 1364 of file MainFrm.cpp.

void CMainFrame::OnUpdateControlBarMenus ( CCmdUI *  pCmdUI) [protected]

Definition at line 1480 of file MainFrm.cpp.

void CMainFrame::OnUpdateEditSearch ( CCmdUI *  pCmdUI) [protected]

Definition at line 882 of file MainFrm.cpp.

void CMainFrame::OnUpdateTime ( CCmdUI *  pCmdUI) [protected]

Definition at line 834 of file MainFrm.cpp.

void CMainFrame::OnUpdateViewClearConsole ( CCmdUI *  pCmdUI) [protected]

Definition at line 1258 of file MainFrm.cpp.

void CMainFrame::OnUpdateViewMultiUserActiveUsers ( CCmdUI *  pCmdUI) [protected]

Definition at line 1243 of file MainFrm.cpp.

void CMainFrame::OnUpdateViewMultiUserRefreshSourceControl ( CCmdUI *  pCmdUI) [protected]

Definition at line 1227 of file MainFrm.cpp.

void CMainFrame::OnUpdateViewMultiUserSubversion ( CCmdUI *  pCmdUI) [protected]

Definition at line 1248 of file MainFrm.cpp.

template<class paneclass , typename paneclass CMainFrame::*const m_pane>
afx_msg void CMainFrame::OnUpdateViewPane ( CCmdUI *  pCmdUI) [inline, protected]

Definition at line 173 of file MainFrm.h.

void CMainFrame::OnUpdateWindowMovetonexttabgroup ( CCmdUI *  pCmdUI) [protected]

Definition at line 1566 of file MainFrm.cpp.

void CMainFrame::OnUpdateWindowMovetoprevioustabgroup ( CCmdUI *  pCmdUI) [protected]

Definition at line 1553 of file MainFrm.cpp.

void CMainFrame::OnUpdateWindowNew ( CCmdUI *  pCmdUI) [protected]

Definition at line 1607 of file MainFrm.cpp.

void CMainFrame::OnUpdateWindowNewhorizontaltabgroup ( CCmdUI *  pCmdUI) [protected]

Definition at line 1527 of file MainFrm.cpp.

void CMainFrame::OnUpdateWindowNewverticaltabgroup ( CCmdUI *  pCmdUI) [protected]

Definition at line 1540 of file MainFrm.cpp.

void CMainFrame::OnViewClearConsole ( ) [protected]

Definition at line 1253 of file MainFrm.cpp.

void CMainFrame::OnViewCustomize ( ) [protected]

Definition at line 1442 of file MainFrm.cpp.

void CMainFrame::OnViewFullScreen ( ) [protected]

Definition at line 1449 of file MainFrm.cpp.

Definition at line 1232 of file MainFrm.cpp.

Definition at line 1213 of file MainFrm.cpp.

template<class paneclass , typename paneclass CMainFrame::*const m_pane>
afx_msg void CMainFrame::OnViewPane ( ) [inline, protected]

Definition at line 169 of file MainFrm.h.

void CMainFrame::OnWindowManager ( ) [protected]

Definition at line 1437 of file MainFrm.cpp.

Definition at line 1522 of file MainFrm.cpp.

Definition at line 1517 of file MainFrm.cpp.

Definition at line 1507 of file MainFrm.cpp.

Definition at line 1512 of file MainFrm.cpp.

BOOL CMainFrame::PreCreateWindow ( CREATESTRUCT &  cs) [virtual]

Definition at line 626 of file MainFrm.cpp.

BOOL CMainFrame::PreTranslateMessage ( MSG *  pMsg) [virtual]

Definition at line 1341 of file MainFrm.cpp.

void CMainFrame::RePaintPartBrowser ( ) [inline]

Definition at line 87 of file MainFrm.h.

void CMainFrame::setGmeOleApp ( CGMEOLEApp the_ole_app)

Definition at line 184 of file MainFrm.cpp.

Definition at line 895 of file MainFrm.cpp.

Definition at line 212 of file MainFrm.cpp.

void CMainFrame::SetPartBrowserBg ( COLORREF  bgColor) [inline]

Definition at line 86 of file MainFrm.h.

Definition at line 85 of file MainFrm.h.

Definition at line 996 of file MainFrm.cpp.

Definition at line 1601 of file MainFrm.cpp.

Definition at line 991 of file MainFrm.cpp.

Definition at line 1017 of file MainFrm.cpp.

Definition at line 1025 of file MainFrm.cpp.

void CMainFrame::UpdateTitle ( LPCTSTR  title)

Definition at line 652 of file MainFrm.cpp.

BOOL CMainFrame::VerifyBarState ( LPCTSTR  lpszProfileName)

Definition at line 954 of file MainFrm.cpp.

void CMainFrame::WriteStatusMode ( const CString &  txt)

Definition at line 792 of file MainFrm.cpp.

void CMainFrame::WriteStatusParadigm ( const CString &  txt)

Definition at line 797 of file MainFrm.cpp.

void CMainFrame::WriteStatusText ( int  pane,
const CString &  txt 
)

Definition at line 809 of file MainFrm.cpp.

void CMainFrame::WriteStatusZoom ( int  zoomPct)

Definition at line 802 of file MainFrm.cpp.


Friends And Related Function Documentation

void CGMEApp::UpdateComponentLists ( bool  restart_addons) [friend]
friend class CGMEOLEApp [friend]

Definition at line 61 of file MainFrm.h.


Member Data Documentation

UINT_PTR CMainFrame::m_autosaveTimerID [protected]

Definition at line 148 of file MainFrm.h.

Definition at line 144 of file MainFrm.h.

Definition at line 126 of file MainFrm.h.

Definition at line 145 of file MainFrm.h.

Definition at line 125 of file MainFrm.h.

Definition at line 143 of file MainFrm.h.

Definition at line 146 of file MainFrm.h.

Definition at line 128 of file MainFrm.h.

CMFCMenuBar CMainFrame::m_wndMenuBar [protected]

Definition at line 134 of file MainFrm.h.

CMFCToolBar CMainFrame::m_wndModeBar [protected]

Definition at line 136 of file MainFrm.h.

CMFCToolBar CMainFrame::m_wndNaviBar [protected]

Definition at line 137 of file MainFrm.h.

CMFCStatusBar CMainFrame::m_wndStatusBar [protected]

Definition at line 130 of file MainFrm.h.

CMFCToolBar CMainFrame::m_wndToolBarMain [protected]

Definition at line 131 of file MainFrm.h.

CMFCToolBar CMainFrame::m_wndToolBarModeling [protected]

Definition at line 132 of file MainFrm.h.

CMFCToolBar CMainFrame::m_wndToolBarWins [protected]

Definition at line 133 of file MainFrm.h.

Definition at line 119 of file MainFrm.h.

Definition at line 72 of file MainFrm.h.

Definition at line 71 of file MainFrm.h.

Definition at line 68 of file MainFrm.h.

Definition at line 70 of file MainFrm.h.

Definition at line 73 of file MainFrm.h.


The documentation for this class was generated from the following files: