private:
//Menus
+ /**
+ * Recently opened projects menu
+ */
+ wxMenu* menu_Recent;
/**
* File menu
*/
* 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
*/
//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.
* @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.
* @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
/**
* @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.