]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
Save Mechanism working // Diego CACERES DFCH
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index 2ccf32d3afc57e8f31b93a66380aec33ad84c17f..402e2a7c0e43e30648f037739c85039046a2e1a6 100644 (file)
@@ -59,9 +59,6 @@ Version:   $Revision$
 //Includes std
 #include <iostream>
 
-
-
-
 namespace bbtk
 {
 
@@ -101,10 +98,10 @@ namespace bbtk
                void editBlackBox(GBlackBoxModel *bbmodel);
 
                // Save diagram as BBG
-               void saveDiagram(std::string &content);
+               void saveDiagram(std::string &content, const std::string &path); //DFCH
 
                // Load BBG diagram
-               void loadDiagram(ifstream &inputStream);
+               void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH
 
                // Add a new complex input object to the scene
                void addComplexInputPort(std::string portName);
@@ -137,12 +134,17 @@ namespace bbtk
 
                wxVtkSceneManager* getSceneManager();
 
-
+               void SetFullPath( const std::string& );
+               void SetFileName( const std::string& );
                void SetCbName(std::string cbName);
         void SetCbPackageName(std::string packagename);
         void SetAuthor(std::string author);
         void SetCategory(std::string category);
         void SetDescription(std::string description);
+        //Getters
+        std::string GetFullPath( );
+        std::string GetFileName( );
+        
         std::string GetCbName();
         std::string GetCbPackageName();
         std::string GetAuthor();
@@ -159,6 +161,8 @@ namespace bbtk
                wxAuiManager                    *_panelAUIMgr;
                wxVtkSceneManager               *_sceneManager;
                wxTabPanelsManager              *_panelsManager;
+               std::string                             _fullPath;
+               std::string                             _fileName;
 
        protected: