X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.h;h=6cbaf9f1751337ed8bf4eb693722bf515bd1c9fd;hb=f10df58dfa9c4d8489fe35f57f796bcf37e5f9b4;hp=9df0879c5d120e1c09613e96035e7e25dc9d934e;hpb=e6d99bba438e086b10239a42492532ff194edb88;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.h b/lib/creaDevManagerLib/wxCDMMainFrame.h index 9df0879..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 */ @@ -177,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. @@ -188,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. @@ -210,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 /** @@ -245,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.