]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmickView.h
create a TreeView and display it for addDB event
[creaImageIO.git] / src2 / creaImageIOGimmickView.h
index d028b5d3ea952d9da29f92a529860193fd39f47b..347471561d4dffdf660f05fa2be4eb880aa7ea4c 100644 (file)
@@ -73,7 +73,7 @@ namespace creaImageIO
          virtual void GetImages(int dim, std::vector<std::string> files, std::vector<vtkImageData*>& s) 
          { GimmickError("INTERNAL ERROR : GetImages not implemented"); }
 
-      virtual void OnSelectionChange(std::vector<tree::Node*>& s, bool isSelection, int selection, bool mProcess)
+      virtual void OnSelectionChange(const std::vector<tree::Node*>& s, bool isSelection, int selection, bool mProcess)
       { GimmickError("INTERNAL ERROR : OnSelectionChange not implemented"); }
 
           virtual void ClearSelection()
@@ -100,8 +100,11 @@ namespace creaImageIO
       /// Create the tree views 
       void CreateTreeViews();
 
+         /// Create a tree view with a given name
+         void CreateSingleTreeView(std::string &i_name);
+
       /// Create the tree view for TreeHandler provided
-      virtual void CreateTreeView( TreeHandler*) 
+      virtual void CreateTreeView( TreeHandler*, TimestampDatabaseHandler* 
       { GimmickError("INTERNAL ERROR : CreateTreeView not implemented"); }
 
       /// Updates the TreeView of given name from level l to bottom
@@ -131,6 +134,7 @@ namespace creaImageIO
       void ConnectValidationObserver(ValidationCallbackType callback);
      //==================================================================
 
+       void modifyValidationSignal(bool ivalid);
 
     private: