X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainFrame.cpp;h=6b8536a194ad31f50ae33ba5c4e592886a430173;hb=f5cd0d2ab363ef8d6fd89d547ace70ca31d2bf3e;hp=76d18f4f4927a0bf435f87d643413768483e102a;hpb=79cec83ea4c3a99dacc93663e9f0ea52f7f5cf1b;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.cpp b/lib/creaDevManagerLib/wxCDMMainFrame.cpp index 76d18f4..6b8536a 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.cpp +++ b/lib/creaDevManagerLib/wxCDMMainFrame.cpp @@ -55,6 +55,7 @@ #include "wxCDMFolderDescriptionPanel.h" #include "wxCDMFileDescriptionPanel.h" #include "wxCDMPackageManagerPanel.h" +#include "wxCDMProjectMapDialog.h" #include "wxCDMSettingsDialog.h" @@ -83,6 +84,7 @@ EVT_MENU(ID_MENU_CODE_EDITOR, wxCDMMainFrame::OnMenuCodeEditor) EVT_MENU(ID_MENU_COMMAND_LINE, wxCDMMainFrame::OnMenuCommandLine) EVT_MENU(ID_MENU_TOGGLE_HELP, wxCDMMainFrame::OnMenuToggleHelp) EVT_MENU(ID_MENU_HELP, wxCDMMainFrame::OnMenuHelp) +EVT_MENU(ID_MENU_SHOW_PROJECT_MAP, wxCDMMainFrame::OnMenuShowProjectMap) EVT_MENU(ID_MENU_REPORT_BUG, wxCDMMainFrame::OnMenuReportBug) EVT_MENU(ID_MENU_ABOUT_CREADEVMANAGER, wxCDMMainFrame::OnMenuAboutCreaDevManager) EVT_MENU(ID_MENU_ABOUT_CREATIS, wxCDMMainFrame::OnMenuAboutCreatis) @@ -232,10 +234,10 @@ void wxCDMMainFrame::CreateMenus() //ToolsMenu menu_Tools = new wxMenu(); - menu_Tools->Append(ID_MENU_BBTK_GRAPHICAL_EDITOR, wxT("BBTK &Graphical Editor")); - menu_Tools->Append(ID_MENU_MINITOOLS, wxT("&MiniTools")); - menu_Tools->Append(ID_MENU_CODE_EDITOR, wxT("&Code Editor")); - menu_Tools->Append(ID_MENU_COMMAND_LINE, wxT("&Command Line")); + menu_Tools->Append(ID_MENU_BBTK_GRAPHICAL_EDITOR, wxT("Open BBEditor (BBTK &Graphical Editor)")); + menu_Tools->Append(ID_MENU_MINITOOLS, wxT("Open &CreaTools")); + menu_Tools->Append(ID_MENU_CODE_EDITOR, wxT("Open Code &Editor")); + menu_Tools->Append(ID_MENU_COMMAND_LINE, wxT("Open Command &Line")); menuBar->Append(menu_Tools, wxT("&Tools")); @@ -243,6 +245,7 @@ void wxCDMMainFrame::CreateMenus() menu_Help = new wxMenu(); menu_Help->AppendCheckItem(ID_MENU_TOGGLE_HELP, wxT("He&lp Dialogs")); menu_Help->Check(ID_MENU_TOGGLE_HELP, this->help); + menu_Help->Append(ID_MENU_SHOW_PROJECT_MAP, wxT("&Show Project Map")); menu_Help->Append(ID_MENU_HELP, wxT("&Help")); menu_Help->Append(ID_MENU_REPORT_BUG, wxT("Report &Bug")); menu_Help->Append(ID_MENU_ABOUT_CREADEVMANAGER, wxT("&About CreaDevManager")); @@ -751,10 +754,18 @@ void wxCDMMainFrame::OnMenuCommandLine(wxCommandEvent& event) } } +//Help Menu +void wxCDMMainFrame::OnMenuShowProjectMap(wxCommandEvent& event) +{ + wxCDMProjectMapDialog* dialog = new wxCDMProjectMapDialog(this); + + dialog->Show(true); +} + //Help Menu void wxCDMMainFrame::OnMenuHelp(wxCommandEvent& event) { - wxLaunchDefaultBrowser(_T("http://www.creatis.insa-lyon.fr/site/en/CreatoolsDocumentation"), 0); + wxLaunchDefaultBrowser(_T("http://www.creatis.insa-lyon.fr/~gonzalez/documentationSWDoc.html"), 0); } void wxCDMMainFrame::OnMenuReportBug(wxCommandEvent& event) {