]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h
DFCH: Button select as executable box - implemented and tested =)
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.h
index 82c2052fc019088b46ccc983d2276c95ed5a13e0..12c4fc4a31a3c9ff304dae64fc4b9709dbbd7808 100644 (file)
@@ -84,7 +84,6 @@ Version:   $Revision$
 #include <iostream>
 #include <map>
 
-
 namespace bbtk
 {
        class wxGEditorTabPanel;
@@ -161,12 +160,15 @@ namespace bbtk
                void addObjects(std::map<int,GObjectController*> objectsMap);
 
 
+               //-------
+               // Makes a BlackBox Executable
+               bool MakeBoxExecutable();//DFCH
                //-------
                //Returns a string with the BBS script of the current diagram.
                std::string getDiagramBBS(bool wln=false);
 
                //Returns a string with the BBS script of the complex box.
-               std::string saveComplexBoxBBS(std::string cbName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription="");
+               std::string saveComplexBoxBBS();
 
                //Delete the object in the list of controllers with the id given by parameter.
                void deleteObject(int id);
@@ -190,9 +192,26 @@ namespace bbtk
                std::string findANewNameForABox();
                //-------
 
+        void SetCbName(std::string cbNane);
+        void SetCbPackageName(std::string packagename);
+        void SetAuthor(std::string author);
+        void SetCategory(std::string category);
+        void SetDescription(std::string description);
+
+        std::string GetCbName();
+        std::string GetCbPackageName();
+        std::string GetAuthor();
+        std::string GetCategory();
+        std::string GetDescription();
 
        private:
 
+        std::string                         _cbName;
+        std::string                         _cbPackageName;
+        std::string                         _Author;
+        std::string                         _Category;
+        std::string                         _Description;
+
                //wxPanel that uses the manager
                wxGEditorTabPanel                                       *_parent;
 
@@ -233,7 +252,7 @@ namespace bbtk
         int GetIndexInSelected(int idControler);
         void UnSelectBlackBoxes();
         GObjectController *GetGBlackBoxControlerPointedByMouse();
-
+               void CancelConnection();
 
        protected: