]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
Changes for saveAs button
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index 833096967aad41365189bccaa614c44f590c3f91..e7eb55338344e9ebbb92b4f8b1d31c2cf4ac174f 100644 (file)
@@ -59,9 +59,6 @@ Version:   $Revision$
 //Includes std
 #include <iostream>
 
-
-
-
 namespace bbtk
 {
 
@@ -95,7 +92,7 @@ namespace bbtk
 
                // Saves the actual BBS as complex box
                // RaC TOFIX It must be included the package of the complex box
-               std::string saveComplexBoxBBS(std::string cbName,std::string paName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription="");
+               std::string saveComplexBoxBBS();
 
                // Shows the dialog to edit black box parameters
                void editBlackBox(GBlackBoxModel *bbmodel);
@@ -135,8 +132,27 @@ namespace bbtk
                // Receives the string from a drag and drop source as for example the BBTK Package Browser
                virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data);
 
-
                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();
+        std::string GetDescription();
+        std::string GetCategory();
+
+
+
        //=========================================================================
 
        private:
@@ -145,6 +161,8 @@ namespace bbtk
                wxAuiManager                    *_panelAUIMgr;
                wxVtkSceneManager               *_sceneManager;
                wxTabPanelsManager              *_panelsManager;
+               std::string                             _fullPath;
+               std::string                             _fileName;
 
        protected: