]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h
Feature #1666
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.h
index 8e290619b09fc55f38cafdf50927931f3b83db3e..ee35ab0f39ae0c921b19dbb1e34635f221e16e5c 100644 (file)
@@ -50,6 +50,7 @@
 #include "wxVtkSceneManager.h"
 #include "GlobalConstants.h"
 
+
 #include "wxart_new.xpm" // JPR
 #include "wxart_open.xpm"
 #include "wxart_save.xpm"
@@ -70,6 +71,7 @@
 #include <bbtkWxGUIPackageBrowser2.h>
 #include <bbtkWxGUIHtmlBrowser.h>
 #include <bbtkBlackBoxDescriptor.h>
+#include <bbtkUtilities.h>
 #include <bbtkConfigurationFile.h>
 #include <bbtkSystemTools.h>
 
@@ -122,6 +124,8 @@ namespace bbtk
                        // Shows the dialog to change the parameters and values of the black box
                        void editBlackBox(GBlackBoxModel *bbmodel);
 
+                       bool boxNameExists(std::string boxname);
+
                        // Checks and adds if necessary the .bbg/.bbs extensions
                        std::string CheckExtension (std::string filename, std::string extension);                       
                        // Method that can be used to refresh the help and package browser
@@ -138,7 +142,7 @@ namespace bbtk
             void SaveActualComplexBox(std::string filename);
             void SaveActualDiagram(std::string filename);
                        void SaveCurrentDiagramAs( ); //DFCH
-                       void SaveTempActualDiagram();//FCY
+                       void SaveTempActualDiagram(const std::string &);//FCY
 
 
                        // File menu and toolbar events
@@ -161,9 +165,11 @@ namespace bbtk
                        void OnHelpBBeditor(wxCommandEvent& event);
                        void OnUndo(wxCommandEvent& event);
                        void OnRedo(wxCommandEvent& event);
+                       void OnChangeName(wxCommandEvent& event);
 
                        // Edit menu events
-                       void OnCopySelectedToComplexDiagram(wxCommandEvent& event);
+                       void OnCopySelectedToComplexDiagram(wxCommandEvent& event);                   
+                       
 
                        // Tool menu events
                        void OnCreatePackage(wxCommandEvent& event);