X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.cxx;h=e2ead8fd058d6000e8d2c7a4a59b798da965e550;hb=a62e394e0f56bb5adff696adf06be425680bddca;hp=d6adae8528c1554746271ecc367f083529176dfa;hpb=64fc9f949ff91d6e9d448ca0567e6205ee4d5be4;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index d6adae8..e2ead8f 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -35,7 +35,7 @@ Version: $Revision$ #include "wxGEditorTabPanel.h" - +#include "creaWx.h" namespace bbtk { @@ -78,10 +78,64 @@ namespace bbtk { std::string packageName=""; std::string boxName=""; + + wxString foo( (data) ); + char str[150]; + strcpy( str, (const char*)foo.mb_str(wxConvUTF8) ); + + char delims[] = ":"; + char *result = NULL; + result = strtok( str, delims ); + packageName += result; + + result = strtok( NULL, delims ); + boxName += result; + _sceneManager->createGBlackBox(x,y,packageName, boxName); - cout<<"RaC DyD:"<displayBlackBoxInfo(packageName,boxName); + } + + //========================================================================= + + void wxGEditorTabPanel::updateStatusBar(std::string textStatus) + { + _panelsManager->updateStatusBar(textStatus); + } + + //========================================================================= + + std::string wxGEditorTabPanel::getDiagramScript() + { + return _sceneManager->getDiagramScript(); + } + + //========================================================================= + + void wxGEditorTabPanel::editBlackBox(GBlackBoxModel *bbmodel) + { + _panelsManager->editBlackBox(bbmodel); + } + + //========================================================================= + + void wxGEditorTabPanel::editDiagramParameters(wxVtkSceneManager* scene) + { + _panelsManager->editDiagramParameters(scene); } //========================================================================= @@ -89,4 +143,3 @@ namespace bbtk } // EO namespace bbtk // EOF -