]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickView.h
Changed validation methods from TreeView to GimmickView (Abstract)
[creaImageIO.git] / src2 / creaImageIOWxGimmickView.h
index bc5eaf14571df83edadb5cf259bffb4c1c232cd1..a156b164fdf3d91fced2062258cadb466ab3f119 100644 (file)
@@ -39,11 +39,14 @@ namespace creaImageIO
          /// Returns the selected Images so that they comply with the given parameter(<4D)
          ///(overloaded from GimmickView)
          vtkImageData* GetSelectedImage(int dim);
+         /// Returns the selected files
+         ///(overloaded from GimmickView)
+         void GetSelectedFiles(std::vector<std::string>& s);
       /// Returns the selected Images so that they comply with the given parameter(4D)
       //(overloaded from GimmickView)
          void GetSelectedImages(std::vector<vtkImageData*>& s, int dim);
-         /// Sets the message state
-         void SetMessage(const wxString& mess);
+         /// Validates the selected images
+         bool ValidateSelection(void *);
 
     protected:
       /// Creates the tool bar
@@ -79,6 +82,7 @@ namespace creaImageIO
       void OnAddDir(wxCommandEvent& event);
          /// Callback for removing files
       void OnRemove(wxCommandEvent& event);
+       
          /// Display a message box with the last addition statistics
       void DisplayAddSummary();
 
@@ -88,9 +92,9 @@ namespace creaImageIO
      
       /// Progress dialog
       wxProgressDialog* mProgressDialog;
-         //The selection's maximum dimension
+         ///The selection's maximum dimension
          int mSelectionMaxDimension;
-         //The selection's minimum dimension
+         ///The selection's minimum dimension
          int mSelectionMinDimension;