]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMMainFrame.h
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / wxCDMMainFrame.h
index 5c440cc23914b0387010e7171655a7994d612579..6cbaf9f1751337ed8bf4eb693722bf515bd1c9fd 100755 (executable)
@@ -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.