X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.h;h=b42475d1cc84d2a430375f03ff97670f70dd6ba4;hb=9877bb1bc1cbfc8b4ac0dbd45d443ba670c9d8d2;hp=f14acf51e567cde9f268db0adad902feb03f83b2;hpb=0846876a83badbcceaa83f3e1562ef1708e0d7e0;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h index f14acf5..b42475d 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h @@ -123,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 @@ -139,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 @@ -162,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);