]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
Fixing last details of the edition dialog new name
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index 9c63350ffa8a46baedc00a0693f337a46ef478ca..77caf4593a5f7a53a3ad334f4c5128d4c580b698 100644 (file)
@@ -34,6 +34,7 @@ Version:   $Revision$
 */
 
 #include "bbtkwxGUIEditorGraphicBBS.h"
+#include "creaWx.h"
 
 namespace bbtk
 {
@@ -67,7 +68,6 @@ namespace bbtk
                initTabPanelsManager();
                initPackageBrowser();
                initHelpHTMLBrowser();
-               initPropertiesPanel();
 
                CreateStatusBar();
                _frameAUIMgr->Update();
@@ -153,14 +153,6 @@ namespace bbtk
 
        //================================================================
 
-       void wxGUIEditorGraphicBBS::initPropertiesPanel()
-       {
-               _propertiesPanel = new wxPropertiesPanel(this);
-               _frameAUIMgr->AddPane(_propertiesPanel,wxAuiPaneInfo().Right().MinSize(200,200).CloseButton(false).Floatable(false));
-       }
-
-       //================================================================
-
        void wxGUIEditorGraphicBBS::DoRegeneratePackageDoc( const std::string& pack )
        {
                std::string mess("Regenerating doc for package '");
@@ -278,9 +270,25 @@ namespace bbtk
 
        //=========================================================================
 
+       void wxGUIEditorGraphicBBS::editBlackBox(GBlackBoxModel *bbmodel)
+       {
+               wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,bbmodel);
+               dialog->Show();
+       }
+
+       //=========================================================================
+
+       void wxGUIEditorGraphicBBS::editDiagramParameters(wxVtkSceneManager* scene)
+       {
+               wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,scene);
+               dialog->Show();
+       }
+
+       //=========================================================================
+
        void wxGUIEditorGraphicBBS::updateStatusBar(std::string textStatus)
        {
-               SetStatusText(_T(textStatus));
+               SetStatusText(crea::std2wx(textStatus));
        }
 
        //=========================================================================