X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.h;h=b42475d1cc84d2a430375f03ff97670f70dd6ba4;hb=713c6f1f54a2114c6e495aa6974d33b5718b46b5;hp=8e290619b09fc55f38cafdf50927931f3b83db3e;hpb=b594841a2dad5fa2f18839b0125881fc22f4b6fd;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h index 8e29061..b42475d 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h @@ -50,6 +50,7 @@ #include "wxVtkSceneManager.h" #include "GlobalConstants.h" + #include "wxart_new.xpm" // JPR #include "wxart_open.xpm" #include "wxart_save.xpm" @@ -122,6 +123,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 +141,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 +164,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);