]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h
This commit was manufactured by cvs2svn to create tag
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.h
index d7a4011f53530bd0a5bd3c28582da4a17fd08f1d..e44720c24f13a4049402bddbdb1a41bb7adc4339 100644 (file)
@@ -119,7 +119,7 @@ namespace bbtk
                int createGConnector(GPortModel* startPort);
 
                void configGBlackBox(int idBox, double xIn, double yIn, double zIn, std::string name, bool boxExecutable,double xEn,double yEn,double zEn);
-               void configGConnetion( std::string nameStartBox, std::string  nameStartPort, std::string
+               int configGConnetion( std::string nameStartBox, std::string  nameStartPort, std::string
                                                          nameEndBox, std::string  nameEndPort);
                void configGComBoxInputOutputPort(bool inputoutput, std::string inputPortName, double xIn, double yIn,double zIn);
                GBoxModel* findGBox(std::string boxname);
@@ -166,7 +166,7 @@ namespace bbtk
                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 +190,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;
 
@@ -231,9 +248,9 @@ namespace bbtk
 
         std::string LineNumber(bool withLineNumber, int &value);
         int GetIndexInSelected(int idControler);
-        bool UnSelectBlackBoxes();
+        void UnSelectBlackBoxes();
         GObjectController *GetGBlackBoxControlerPointedByMouse();
-
+               void CancelConnection();
 
        protected: