GME  13
Public Member Functions | Public Attributes | Static Public Attributes | Friends
CGMEApp Class Reference

#include <GMEApp.h>

Collaboration diagram for CGMEApp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual BOOL PreTranslateMessage (MSG *pMsg)
 CGMEApp ()
virtual ~CGMEApp ()
bool isMultiUserProj () const
bool isMgaProj () const
CString connString () const
void getMgaPaths (CString &filename, CString &dirname)
BOOL OpenCommandLineProject ()
BOOL ShowWelcomeWindow ()
void SetCompFiltering (bool pOn)
bool GetCompFiltering ()
void DisableComp (const CString &pCompToFind, bool pbHide)
void DisableCompForKinds (const CString &pComp, const CString &pKindSeq)
void UpdateCompList4CurrentKind (const CString &kind)
bool SetWorkingDirectory (LPCTSTR pPath)
void ImportDroppedFile (const CString &fname)
void RegisterDroppedFile (const CString &fname, bool userReg=true)
bool SafeCloseProject ()
void CloseProject (bool updateStatusBar=true, bool force_abort=false)
void OpenProject (const CString &conn)
void Importxml (CString fullPath, CString fname, CString ftitle)
void SaveProject (const CString &conn)
void CreateProject (const CString &metaname, const CString &dataconn)
void UpdateProjectName (bool retrievePath=false)
void UpdateMainFrameTitle (const CString &projName, bool retrievePath=false)
void AfterOpenOrCreateProject (const CString &conn)
void UpdateComponentLists (bool restart_addons=false)
void UpdateDynMenus (CMenu *filemenu)
void FindConstraintManager ()
void RunComponent (const CString &progid)
void exit ()
void consoleMessage (const CString &p_msg, short type)
void Autosave ()
CString getDefZoomLev ()
bool isMouseOverNotifyEnabled ()
bool isHistoryEnabled ()
CString getRealFmtStr ()
void ChangedProjectConnStrings ()
void GetSettings ()
void UpdateMainTitle (bool retrievePath=false)
bool IsUndoPossible (void) const
virtual BOOL InitInstance ()
virtual int ExitInstance ()
virtual void OnAppExit ()
virtual BOOL SaveAllModified ()
void OnUniquePrintSetup ()
afx_msg void OnAppAbout ()
afx_msg void OnFileOpen ()
afx_msg void OnFileNew ()
afx_msg void OnUpdateRecentProjectMenu (CCmdUI *pCmdUI)
afx_msg BOOL OnOpenRecentProject (UINT nID)
afx_msg void OnUpdateFileCloseproject (CCmdUI *pCmdUI)
afx_msg void OnFileCloseproject ()
afx_msg void OnUpdateFileNew (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileOpen (CCmdUI *pCmdUI)
afx_msg void OnEditUndo ()
afx_msg void OnEditRedo ()
afx_msg void OnUpdateEditRedo (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileExportxml (CCmdUI *pCmdUI)
afx_msg void OnFileExportxml ()
afx_msg void OnFileImportxml ()
afx_msg void OnUpdateEditProjectproperties (CCmdUI *pCmdUI)
afx_msg void OnEditProjectproperties ()
afx_msg void OnFileSettings ()
afx_msg void OnFileClearLocks ()
afx_msg void OnEditClearUndo ()
afx_msg void OnUpdateEditClearUndo (CCmdUI *pCmdUI)
afx_msg void OnHelpContents ()
afx_msg void OnFileCheckall ()
afx_msg void OnUpdateFileCheckall (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileSave (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileSaveAs (CCmdUI *pCmdUI)
afx_msg void OnFileSaveAs ()
afx_msg void OnFileSave ()
afx_msg void OnFileAbortProject ()
afx_msg void OnUpdateFileAbortProject (CCmdUI *pCmdUI)
afx_msg void OnFileRegcomponents ()
afx_msg void OnFileRegparadigms ()
afx_msg void OnUpdateFileRegcomponents (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileXMLUpdate (CCmdUI *pCmdUI)
afx_msg void OnFileXMLUpdate ()
afx_msg void OnRunPlugin (UINT nID)
afx_msg void OnRunInterpreter (UINT nID)
afx_msg void OnUpdateFilePluginX (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileInterpretX (CCmdUI *pCmdUI)
afx_msg void OnFileDisplayConstraints ()
afx_msg void OnUpdateFileDisplayConstraints (CCmdUI *pCmdUI)
afx_msg void OnUpdateEditUndo (CCmdUI *pCmdUI)
afx_msg void OnFocusBrowser ()
afx_msg void OnFocusInspector ()

Public Attributes

CMultiDocTemplate * pDocTemplate
CComPtr< IMgaProjectmgaProject
CComPtr< IMgaClientmgaClient
CComPtr< IMgaMetaProjectmgaMetaProject
CStringArray plugins
CStringArray interpreters
CStringArray addons
CStringArray pluginTooltips
CStringArray interpreterTooltips
CStringArray addonToolTips
bool dynmenus_need_refresh
UINT m_nAppLook
CMFCToolBarImages m_userImages
CComPtr< IMgaComponentExmgaConstMgr
CGuiMetaProjectguiMetaProject
CString projectName
CString bitmapPath
CString projectDir
CString paradigmDir
bool multipleView
bool useAutoRouting
bool labelAvoidance
HACCEL m_GMEView_hAccel
CRecentConnStrList m_RecentProjectList
bool bNoProtect

Static Public Attributes

static const TCHAR * m_no_model_open_string = _T("_NO_MODEL_IS_OPEN_")

Friends

class CGMEOLEApp

Detailed Description

Definition at line 39 of file GMEApp.h.


Constructor & Destructor Documentation

Definition at line 155 of file GMEApp.cpp.

CGMEApp::~CGMEApp ( ) [virtual]

Definition at line 175 of file GMEApp.cpp.


Member Function Documentation

void CGMEApp::AfterOpenOrCreateProject ( const CString &  conn)

Definition at line 1229 of file GMEApp.cpp.

Definition at line 664 of file GMEApp.cpp.

Definition at line 788 of file GMEApp.cpp.

void CGMEApp::CloseProject ( bool  updateStatusBar = true,
bool  force_abort = false 
)

Definition at line 725 of file GMEApp.cpp.

CString CGMEApp::connString ( ) const [inline]

Definition at line 72 of file GMEApp.h.

void CGMEApp::consoleMessage ( const CString &  p_msg,
short  type 
)

Definition at line 3267 of file GMEApp.cpp.

void CGMEApp::CreateProject ( const CString &  metaname,
const CString &  dataconn 
)

Definition at line 1640 of file GMEApp.cpp.

void CGMEApp::DisableComp ( const CString &  pCompToFind,
bool  pbHide 
)

Definition at line 3045 of file GMEApp.cpp.

void CGMEApp::DisableCompForKinds ( const CString &  pComp,
const CString &  pKindSeq 
)

Definition at line 3102 of file GMEApp.cpp.

void CGMEApp::exit ( ) [inline]

Definition at line 162 of file GMEApp.h.

int CGMEApp::ExitInstance ( ) [virtual]

Definition at line 1967 of file GMEApp.cpp.

Definition at line 904 of file GMEApp.cpp.

Definition at line 3175 of file GMEApp.cpp.

CString CGMEApp::getDefZoomLev ( ) [inline]

Definition at line 166 of file GMEApp.h.

void CGMEApp::getMgaPaths ( CString &  filename,
CString &  dirname 
) [inline]

Definition at line 74 of file GMEApp.h.

CString CGMEApp::getRealFmtStr ( ) [inline]

Definition at line 169 of file GMEApp.h.

Definition at line 1721 of file GMEApp.cpp.

void CGMEApp::ImportDroppedFile ( const CString &  fname)

Definition at line 2966 of file GMEApp.cpp.

void CGMEApp::Importxml ( CString  fullPath,
CString  fname,
CString  ftitle 
)

Definition at line 2221 of file GMEApp.cpp.

BOOL CGMEApp::InitInstance ( ) [virtual]

Definition at line 250 of file GMEApp.cpp.

bool CGMEApp::isHistoryEnabled ( ) [inline]

Definition at line 168 of file GMEApp.h.

bool CGMEApp::isMgaProj ( ) const [inline]

Definition at line 71 of file GMEApp.h.

Definition at line 167 of file GMEApp.h.

bool CGMEApp::isMultiUserProj ( ) const [inline]

Definition at line 70 of file GMEApp.h.

bool CGMEApp::IsUndoPossible ( void  ) const

Definition at line 3193 of file GMEApp.cpp.

Definition at line 57 of file AboutDlg.cpp.

void CGMEApp::OnAppExit ( ) [virtual]

Definition at line 1924 of file GMEApp.cpp.

Definition at line 2792 of file GMEApp.cpp.

Definition at line 2768 of file GMEApp.cpp.

Definition at line 2786 of file GMEApp.cpp.

Definition at line 2780 of file GMEApp.cpp.

Definition at line 2128 of file GMEApp.cpp.

Definition at line 2628 of file GMEApp.cpp.

Definition at line 2591 of file GMEApp.cpp.

Definition at line 2082 of file GMEApp.cpp.

Definition at line 2638 of file GMEApp.cpp.

Definition at line 2149 of file GMEApp.cpp.

Definition at line 2195 of file GMEApp.cpp.

Definition at line 1980 of file GMEApp.cpp.

Definition at line 1888 of file GMEApp.cpp.

Definition at line 2542 of file GMEApp.cpp.

Definition at line 2650 of file GMEApp.cpp.

Definition at line 2117 of file GMEApp.cpp.

Definition at line 2104 of file GMEApp.cpp.

Definition at line 2578 of file GMEApp.cpp.

Definition at line 2418 of file GMEApp.cpp.

Definition at line 3208 of file GMEApp.cpp.

Definition at line 3261 of file GMEApp.cpp.

Definition at line 2616 of file GMEApp.cpp.

Definition at line 2024 of file GMEApp.cpp.

void CGMEApp::OnRunInterpreter ( UINT  nID)

Definition at line 2886 of file GMEApp.cpp.

void CGMEApp::OnRunPlugin ( UINT  nID)

Definition at line 2877 of file GMEApp.cpp.

Definition at line 2955 of file GMEApp.cpp.

void CGMEApp::OnUpdateEditClearUndo ( CCmdUI *  pCmdUI)

Definition at line 2834 of file GMEApp.cpp.

void CGMEApp::OnUpdateEditProjectproperties ( CCmdUI *  pCmdUI)

Definition at line 2846 of file GMEApp.cpp.

void CGMEApp::OnUpdateEditRedo ( CCmdUI *  pCmdUI)

Definition at line 2822 of file GMEApp.cpp.

void CGMEApp::OnUpdateEditUndo ( CCmdUI *  pCmdUI)

Definition at line 2810 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileAbortProject ( CCmdUI *  pCmdUI)

Definition at line 2723 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileCheckall ( CCmdUI *  pCmdUI)

Definition at line 2738 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileCloseproject ( CCmdUI *  pCmdUI)

Definition at line 2708 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileDisplayConstraints ( CCmdUI *  pCmdUI)

Definition at line 2743 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileExportxml ( CCmdUI *  pCmdUI)

Definition at line 2728 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileInterpretX ( CCmdUI *  pCmdUI)

Definition at line 3029 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileNew ( CCmdUI *  pCmdUI)

Definition at line 2698 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileOpen ( CCmdUI *  pCmdUI)

Definition at line 2703 of file GMEApp.cpp.

void CGMEApp::OnUpdateFilePluginX ( CCmdUI *  pCmdUI)

Definition at line 3022 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileRegcomponents ( CCmdUI *  pCmdUI)

Definition at line 2749 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileSave ( CCmdUI *  pCmdUI)

Definition at line 2713 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileSaveAs ( CCmdUI *  pCmdUI)

Definition at line 2718 of file GMEApp.cpp.

void CGMEApp::OnUpdateFileXMLUpdate ( CCmdUI *  pCmdUI)

Definition at line 2733 of file GMEApp.cpp.

void CGMEApp::OnUpdateRecentProjectMenu ( CCmdUI *  pCmdUI)

Definition at line 2754 of file GMEApp.cpp.

Definition at line 504 of file GMEApp.cpp.

void CGMEApp::OpenProject ( const CString &  conn)

Definition at line 1396 of file GMEApp.cpp.

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

Definition at line 455 of file GMEApp.cpp.

void CGMEApp::RegisterDroppedFile ( const CString &  fname,
bool  userReg = true 
)

Definition at line 2992 of file GMEApp.cpp.

void CGMEApp::RunComponent ( const CString &  progid)

Definition at line 2897 of file GMEApp.cpp.

Definition at line 2049 of file GMEApp.cpp.

Definition at line 1933 of file GMEApp.cpp.

void CGMEApp::SaveProject ( const CString &  conn)

Definition at line 1690 of file GMEApp.cpp.

void CGMEApp::SetCompFiltering ( bool  pOn)

Definition at line 3146 of file GMEApp.cpp.

bool CGMEApp::SetWorkingDirectory ( LPCTSTR  pPath)

Definition at line 3180 of file GMEApp.cpp.

Definition at line 549 of file GMEApp.cpp.

void CGMEApp::UpdateCompList4CurrentKind ( const CString &  kind)

Definition at line 3123 of file GMEApp.cpp.

void CGMEApp::UpdateComponentLists ( bool  restart_addons = false)

Definition at line 1064 of file GMEApp.cpp.

void CGMEApp::UpdateDynMenus ( CMenu *  filemenu)

Definition at line 1119 of file GMEApp.cpp.

void CGMEApp::UpdateMainFrameTitle ( const CString &  projName,
bool  retrievePath = false 
)

Definition at line 864 of file GMEApp.cpp.

void CGMEApp::UpdateMainTitle ( bool  retrievePath = false)

Definition at line 3187 of file GMEApp.cpp.

void CGMEApp::UpdateProjectName ( bool  retrievePath = false)

Definition at line 837 of file GMEApp.cpp.


Friends And Related Function Documentation

friend class CGMEOLEApp [friend]

Definition at line 41 of file GMEApp.h.


Member Data Documentation

CStringArray CGMEApp::addons

Definition at line 52 of file GMEApp.h.

CStringArray CGMEApp::addonToolTips

Definition at line 53 of file GMEApp.h.

Definition at line 62 of file GMEApp.h.

Definition at line 69 of file GMEApp.h.

Definition at line 54 of file GMEApp.h.

Definition at line 60 of file GMEApp.h.

CStringArray CGMEApp::interpreters

Definition at line 52 of file GMEApp.h.

Definition at line 53 of file GMEApp.h.

Definition at line 65 of file GMEApp.h.

Definition at line 67 of file GMEApp.h.

Definition at line 57 of file GMEApp.h.

const TCHAR * CGMEApp::m_no_model_open_string = _T("_NO_MODEL_IS_OPEN_") [static]

Definition at line 141 of file GMEApp.h.

Definition at line 68 of file GMEApp.h.

CMFCToolBarImages CGMEApp::m_userImages

Definition at line 58 of file GMEApp.h.

Definition at line 49 of file GMEApp.h.

Definition at line 59 of file GMEApp.h.

Definition at line 50 of file GMEApp.h.

Definition at line 48 of file GMEApp.h.

Definition at line 63 of file GMEApp.h.

Definition at line 62 of file GMEApp.h.

CMultiDocTemplate* CGMEApp::pDocTemplate

Definition at line 47 of file GMEApp.h.

CStringArray CGMEApp::plugins

Definition at line 52 of file GMEApp.h.

Definition at line 53 of file GMEApp.h.

Definition at line 62 of file GMEApp.h.

Definition at line 61 of file GMEApp.h.

Definition at line 64 of file GMEApp.h.


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