X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.h;h=402e2a7c0e43e30648f037739c85039046a2e1a6;hb=d46b9c0cc896c126da0888accffb4b9dbd756ee3;hp=2ccf32d3afc57e8f31b93a66380aec33ad84c17f;hpb=e5a27bdba2e0cbc6a918a4fe9cbb0cc57ed85dc1;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h index 2ccf32d..402e2a7 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h @@ -59,9 +59,6 @@ Version: $Revision$ //Includes std #include - - - namespace bbtk { @@ -101,10 +98,10 @@ namespace bbtk void editBlackBox(GBlackBoxModel *bbmodel); // Save diagram as BBG - void saveDiagram(std::string &content); + void saveDiagram(std::string &content, const std::string &path); //DFCH // Load BBG diagram - void loadDiagram(ifstream &inputStream); + void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH // Add a new complex input object to the scene void addComplexInputPort(std::string portName); @@ -137,12 +134,17 @@ namespace bbtk wxVtkSceneManager* getSceneManager(); - + void SetFullPath( const std::string& ); + void SetFileName( const std::string& ); 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); + //Getters + std::string GetFullPath( ); + std::string GetFileName( ); + std::string GetCbName(); std::string GetCbPackageName(); std::string GetAuthor(); @@ -159,6 +161,8 @@ namespace bbtk wxAuiManager *_panelAUIMgr; wxVtkSceneManager *_sceneManager; wxTabPanelsManager *_panelsManager; + std::string _fullPath; + std::string _fileName; protected: