X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.cxx;h=c44979971df2db8c622a96829e34ebe89070aecb;hb=16fc4e34641e9905a02dcf7277b21291a683d938;hp=6ce48ef3ba30c01c6e209e19cfeac171b717ab51;hpb=7a77e00abe30e71c3a97f7a43b106c999ce9db87;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index 6ce48ef..c449799 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -175,6 +175,9 @@ printf("EED wxGEditorTabPanel::initWxVtkCanvas 1\n"); void wxGEditorTabPanel::saveDiagram(std::string &content) { + this->SetFullPath(content); + std::cout<<"wxGEditorTabPanel: " << content <_fullPath <saveDiagram(content); } @@ -312,10 +315,30 @@ printf("EED wxGEditorTabPanel::initWxVtkCanvas 1\n"); { _sceneManager->SetDescription( description ); } - - - - + //========================================================================= + //DFCH + void wxGEditorTabPanel::SetFullPath( const std::string& fullpath ) + { + this->_fullPath = fullpath; + } + //========================================================================= + //DFCH + void wxGEditorTabPanel::SetFileName( const std::string& filename ) + { + this->_fileName = filename; + } + //========================================================================= + //DFCH + std::string wxGEditorTabPanel::GetFullPath( ) + { + return( this->_fullPath ); + } + //========================================================================= + //DFCH + std::string wxGEditorTabPanel::GetFileName( ) + { + return( this->_fileName ); + }