X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickView.h;h=3881c8543c1e07f1be260a0d14fe9c50134bd4e7;hb=9b19229069b38b9b14563f427554fa7c8fd9ac6f;hp=73b7d450ae152e522444d9ea160649d58ff092d9;hpb=eb6dbb22921be6bf7061773b25205446619966c6;p=creaImageIO.git diff --git a/src2/creaImageIOWxGimmickView.h b/src2/creaImageIOWxGimmickView.h index 73b7d45..3881c85 100644 --- a/src2/creaImageIOWxGimmickView.h +++ b/src2/creaImageIOWxGimmickView.h @@ -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& filenames); ///Sends a request to read the currently selected node and the ones that surround it. @@ -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(); @@ -116,7 +123,13 @@ namespace creaImageIO void OnAddProgress( Gimmick::AddProgress& ); /// Called upon to refresh the viewer once there are no actions to be done void OnInternalIdle(); + + // 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