X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.h;h=6cbaf9f1751337ed8bf4eb693722bf515bd1c9fd;hb=refs%2Fheads%2Fvtk7itk4wx3-mingw64;hp=5c440cc23914b0387010e7171655a7994d612579;hpb=c1c0272929da71783e2d520a24acfb23fe8e24a5;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.h b/lib/creaDevManagerLib/wxCDMMainFrame.h index 5c440cc..6cbaf9f 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.h +++ b/lib/creaDevManagerLib/wxCDMMainFrame.h @@ -125,6 +125,10 @@ protected: private: //Menus + /** + * Recently opened projects menu + */ + wxMenu* menu_Recent; /** * File menu */ @@ -151,6 +155,10 @@ private: * Tree control for an open project */ wxCDMProjectsTreeCtrl* tree_Projects; + /** + * Tree item for the selected item in the tree. + */ + wxTreeItemId actualTreeItem; /** * Description panel for a selected project item */ @@ -173,6 +181,13 @@ private: //events protected: + + /** + * Starts when the menu bar is opened. + * @param event The event object that triggers the handler. + */ + void OnMenuBarOpen(wxMenuEvent& event); + //File /** * New project handler. Launches a new project dialog and creates a project model if the project is correctly created. @@ -184,6 +199,11 @@ protected: * @param event The event object that triggers the handler. */ void OnMenuOpenProject(wxCommandEvent& event); + /** + * Open recent project handler. Creates a project model if the project is correctly opened given its path. + * @param event The event object that triggers the handler. + */ + void OnMenuOpenRecent(wxCommandEvent& event); /** * Close project handler. Remove the project from the model and restarts the user interface. * @param event The event object that triggers the handler. @@ -206,6 +226,11 @@ protected: * @param event The event object that triggers the handler. */ void OnMenuRefreshProject(wxCommandEvent& event); + /** + * Open the settings dialog. + * @param event The event object that triggers the handler. + */ + void OnMenuSettings(wxCommandEvent& event); //Tools /** @@ -241,6 +266,11 @@ protected: * @param event The event object that triggers the handler. */ void OnMenuToggleHelp(wxCommandEvent& event); + /** + * Open the road map for crea projects. + * @param event The event object that triggers the handler. + */ + void OnMenuShowProjectMap(wxCommandEvent& event); /** * Open the default web browser and redirects to the CreaTools Documentation page. * @param event The event object that triggers the handler.