]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickView.h
Added field edition capability.
[creaImageIO.git] / src2 / creaImageIOWxGimmickView.h
index d6df0f61a79aadff926d594ad016cb558e4e7d59..f4dcb2da5407de4bc881c906b5c3af3985fb9b2a 100644 (file)
@@ -89,6 +89,10 @@ namespace creaImageIO
 
        ///Stops the listening thread on the CD/DVD drive
        void StopListeningThread();
+
+       ///Called upon when a field has been edited
+       void OnFieldsEdited(tree::Node* node, const std::string& name, const std::string& key, const std::string& val);
+  
   
     
   protected:
@@ -154,12 +158,15 @@ namespace creaImageIO
     /// Called upon to refresh the viewer once there are no actions to be done
     void OnInternalIdle();
 
-       // callback to add a database
+       /// callback to add a database
        void OnAddDB(wxCommandEvent& event);
     
-       //Create a DB from an Attributes Descriptor files 
+       ///Create a DB from an Attributes Descriptor files 
        void OnCreateDB(wxCommandEvent& event);
 
+       ///Edits the fields of a given node
+       void CreateEditFieldsDialog(tree::Node* node, std::vector<std::string> names, std::vector<std::string> keys);
     /// Progress dialog
     wxProgressDialog* mProgressDialog;
     ///The selection's maximum dimension