X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxTabPanelsManager.h;h=ec6cfdf804c9d472167645f43faf9b83e874f673;hb=a5299437956e8cc3de71aaefede487ae06f4294f;hp=35618a7cec9c0fe0b79654d3ae27c95e9bc5cbd8;hpb=775c8164b5f679027b8bbafa97c0e0110711909b;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.h index 35618a7..ec6cfdf 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.h @@ -71,7 +71,7 @@ namespace bbtk wxTabPanelsManager(wxGUIEditorGraphicBBS *parent); ~wxTabPanelsManager(); - void addNewTab(wxString tabName=_T("")); + void addNewTab(); wxAuiNotebook* getAuiNotebook(); wxGEditorTabPanel* getActualTabPanel(); @@ -79,13 +79,13 @@ namespace bbtk void updateStatusBar(std::string textStatus); std::string getActualDiagramBBS(bool wln=false); - std::string getActualComplexBoxBBS(); + std::string getActualComplexBoxBBS(std::string cbName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription=""); void editBlackBox(GBlackBoxModel *bbmodel); void deleteAllBoxesActualDiagram(); void centerViewActualDiagram(); - void saveActualDiagram(std::string &content, const std::string &path); //DFCH - void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH + void saveActualDiagram(std::string &content); + void loadDiagram(ifstream &inputStream); bool isActualDiagramComplexBox(); void setActualDiagramComplexBox(bool val); void addActualDiagramComplexInputPort(std::string portName); @@ -96,22 +96,6 @@ namespace bbtk void OnTabChanged(wxAuiNotebookEvent& event); void VerifyLastTabPanel(); - void SetCbName(std::string cbName); - 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 GetDescription(); - std::string GetCategory(); - - void SetNameTabPanel(wxString tabpanelname); - std::string GetCurrentTabPanelPath( ); //DFCH - - - private: // Private Attributes