]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMMainFrame.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMMainFrame.h
index ece3090202d277923a66a490a200b4d34f1b3661..c3e578d27603ea4a2653689a88d0f6420ed1a9e9 100755 (executable)
@@ -2,7 +2,7 @@
 # ---------------------------------------------------------------------
 #
 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
-#                        pour la Santé)
+#                        pour la Sant)
 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
@@ -31,6 +31,7 @@
 
 #include <creaWx.h>
 #include <wx/aui/aui.h>
+#include <wx/treectrl.h>
 #include "wxCDMProjectsTreeCtrl.h"
 #include "modelCDMMain.h"
 
@@ -42,7 +43,7 @@ public:
   wxCDMMainFrame(
       wxWindow* parent,
       wxWindowID id = -1,
-      const wxString& caption = wxString("CREATIS CreaDevManager"),
+      const wxString& caption = wxT("CREATIS CreaDevManager"),
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& size = wxDefaultSize,
       long style = wxDEFAULT_FRAME_STYLE
@@ -53,12 +54,14 @@ public:
   bool Create(
       wxWindow* parent,
       wxWindowID id = -1,
-      const wxString& caption = wxString("CREATIS CreaDevManager"),
+      const wxString& caption = wxT("CREATIS CreaDevManager"),
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& size = wxDefaultSize,
       long style = wxDEFAULT_FRAME_STYLE
   );
 
+  void RefreshProject();
+
 protected:
   void CreateMenus();
   void CreateControls();
@@ -112,6 +115,12 @@ protected:
   void OnMenuReportBug(wxCommandEvent& event);
   void OnMenuAboutCreaDevManager(wxCommandEvent& event);
   void OnMenuAboutCreatis(wxCommandEvent& event);
+
+  //Tree
+  void OnTreeSelectionChanged(wxTreeEvent& event);
+
+  //PropertiesPanel
+  void OnCreationComplete(wxCommandEvent& event);
 };
 
 #endif