]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickView.h
Added local copy functionality.
[creaImageIO.git] / src2 / creaImageIOWxGimmickView.h
index 7dd38c9c73feb3c4640f552f553477cbcc3c6ae1..3881c8543c1e07f1be260a0d14fe9c50134bd4e7 100644 (file)
@@ -59,8 +59,12 @@ namespace creaImageIO
                           bool isSelection, int selection, bool mProcess);
     ///Stops the player
     void StopPlayer(){mViewer->StopPlayer();}
+    ///Adds a file to ignore
+    void AddIgnoreFile(tree::Node* toRemove);
     ///Resets the default image
     void ClearSelection();
+       ///Copies selected files
+       void CopyFiles(const std::vector<std::string>& filenames);
     
     
     ///Sends a request to read the currently selected node and the ones that surround it.
@@ -73,7 +77,7 @@ namespace creaImageIO
     
     /// Create the tree view for TreeHandler provided 
     /// (overloaded from GimmickView)
-    void CreateTreeView( TreeHandler*, TimestampDatabaseHandler* );
+    void CreateTreeView( TreeHandler* );
     
     
   private:
@@ -88,6 +92,7 @@ namespace creaImageIO
     wxToolBarToolBase* mToolRemove;
     wxToolBarToolBase* mToolAddDatabase;
     wxToolBarToolBase* mToolHelp;
+       wxToolBarToolBase* mToolSynchronize;
     
     wxSplitterWindow* mSplitter;
     wxPanel*          mBottomPanel;
@@ -105,6 +110,8 @@ namespace creaImageIO
     void OnAddDir(wxCommandEvent& event);
     /// Callback for removing files
     void OnRemove(wxCommandEvent& event);
+       /// Callback for removing files
+    void OnSynchronize(wxCommandEvent& event);
     
     /// Display a message box with the last addition statistics
     void DisplayAddSummary();
@@ -120,6 +127,9 @@ namespace creaImageIO
        // callback to add a database
        void OnAddDB(wxCommandEvent& event);
     
+       //Create a DB from an Attributes Descriptor files 
+       void OnCreateDB(wxCommandEvent& event);
+
     /// Progress dialog
     wxProgressDialog* mProgressDialog;
     ///The selection's maximum dimension