2 # ---------------------------------------------------------------------
4 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
6 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
8 # This software is governed by the CeCILL-B license under French law and
9 # abiding by the rules of distribution of free software. You can use,
10 # modify and/ or redistribute the software under the terms of the CeCILL-B
11 # license as circulated by CEA, CNRS and INRIA at the following URL
12 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
13 # or in the file LICENSE.txt.
15 # As a counterpart to the access to the source code and rights to copy,
16 # modify and redistribute granted by the license, users are provided only
17 # with a limited warranty and the software's author, the holder of the
18 # economic rights, and the successive licensors have only limited
21 # The fact that you are presently reading this means that you have had
22 # knowledge of the CeCILL-B license and that you accept its terms.
23 # ------------------------------------------------------------------------ */
26 #ifndef WXCDMMAINFRAME_H_INCLUDED
27 #define WXCDMMAINFRAME_H_INCLUDED
30 #include <wx/aui/aui.h>
31 #include "wxCDMProjectsTreeCtrl.h"
32 #include "modelCDMMain.h"
34 class wxCDMMainFrame:public wxFrame
42 const wxString& caption = wxString("CREATIS CreaDevManager"),
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
45 long style = wxDEFAULT_FRAME_STYLE
53 const wxString& caption = wxString("CREATIS CreaDevManager"),
54 const wxPoint& pos = wxDefaultPosition,
55 const wxSize& size = wxDefaultSize,
56 long style = wxDEFAULT_FRAME_STYLE
61 void CreateControls();
72 wxAuiManager auiManager;
73 wxCDMProjectsTreeCtrl* tree_Projects;
74 wxPanel* panel_Properties;
75 wxPanel* panel_ProjectActions;
83 void OnMenuNewProject(wxCommandEvent& event);
84 void OnMenuOpenProject(wxCommandEvent& event);
85 void OnMenuOpenRecent(wxCommandEvent& event);
86 void OnMenuCloseProject(wxCommandEvent& event);
87 void OnMenuCloseAllProjects(wxCommandEvent& event);
88 void OnMenuExportHierarchy(wxCommandEvent& event);
89 void OnMenuExit(wxCommandEvent& event);
92 void OnMenuRefreshProject(wxCommandEvent& event);
93 void OnMenuMenuCut(wxCommandEvent& event);
94 void OnMenuMenuCopy(wxCommandEvent& event);
95 void OnMenuMenuPaste(wxCommandEvent& event);
96 void OnMenuMenuDelete(wxCommandEvent& event);
97 void OnMenuSelectAll(wxCommandEvent& event);
98 void OnMenuSelectNone(wxCommandEvent& event);
101 void OnMenuEventLog(wxCommandEvent& event);
102 void OnMenuBBTKGraphicalEditor(wxCommandEvent& event);
103 void OnMenuMiniTools(wxCommandEvent& event);
104 void OnMenuCodeEditor(wxCommandEvent& event);
105 void OnMenuCommandLine(wxCommandEvent& event);
108 void OnMenuHelp(wxCommandEvent& event);
109 void OnMenuReportBug(wxCommandEvent& event);
110 void OnMenuAboutCreaDevManager(wxCommandEvent& event);
111 void OnMenuAboutCreatis(wxCommandEvent& event);