]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h
Feature #1758
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.h
index 35d2f56985b82e0fa0f14b43a7d51081739c8bd2..e01013e3e36b932b7eae832233f8e6f9a60ca019 100644 (file)
@@ -148,12 +148,16 @@ namespace bbtk
                        void SaveTempActualDiagram(const std::string &);//FCY
 
 
+
                        // File menu and toolbar events
                        void OnCreateNewTab(wxCommandEvent& event);
                        void OnOpenDiagram(wxCommandEvent& event);
+                       void OpenDiagram(std::string filePathName, std::string fileName); 
                        void OnSaveActualDiagram(wxCommandEvent& event); //DFCH
                        void OnSaveAsActualDiagram(wxCommandEvent& event); //DFCH
+                       void OnExportConsoleExecCommand(wxCommandEvent& event); //RaC
                        void OnOpenBBS(wxCommandEvent& event);
+                       void OpenBBS(std::string filePathName, std::string fileName);
                        void OnSaveActualBBS(wxCommandEvent& event);
                        void OnSaveActualComplexBox(wxCommandEvent& event);
                        void OnExecuteActualDiagram(wxCommandEvent& event);
@@ -170,7 +174,9 @@ namespace bbtk
                        void OnRedo(wxCommandEvent& event);
                        void OnChangeName(wxCommandEvent& event);
                        void OnEditDiagramProperties(wxCommandEvent& event);
+                       void OnEditComplexBoxScript(wxCommandEvent& event);
 
+               
                        // Edit menu events
                        void OnCopySelectedToComplexDiagram(wxCommandEvent& event);                   
                        
@@ -182,6 +188,13 @@ namespace bbtk
                        void OnEditConfig(wxCommandEvent& event);
                        void OnShowHTMLDoc(wxCommandEvent& event);
                        void OnCreateIndex(wxCommandEvent& event);
+                       void OpenScript(std::string filePathNameBBS ,std::string boxType);
+
+                       bool TryToOpenScriptApplication(std::string packageName ,std::string boxType);
+                       bool TryToOpenScriptComplexBox(std::string packageName ,std::string boxType);
+                       bool TryToOpenScript(std::string packageName ,std::string boxType,bool scriptApplication, bool scriptComplexBox);
+               
+                       Factory::Pointer GetBBTKFactory();
                
                        // RaC-2012
                        void enableComplexBox();
@@ -219,6 +232,10 @@ namespace bbtk
                        std::string                         _actualPkgBrowserBoxName;
                        std::string                         _actualPkgBrowserPkgName;
 
+                       // VERY IMPORTANT FOR SAVE&LOAD PROCESSES
+                       // RaC 2012 2nd HackFest
+                       std::string                                             _currentBBGversion;
+
                protected: