]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
It is possible to center the view to the original point
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index 7ae4841833b75f2ad359bd09b37950a48c835413..3f6e69930439b10ca8e9d65b2f5342e71d322f4e 100644 (file)
@@ -45,6 +45,7 @@ Version:   $Revision$
 
 //Includes same project
 #include "wxVtkSceneManager.h"
+#include "wxTabPanelsManager.h"
 
 //Includes wxWidgets
 #include <wx/panel.h>
@@ -59,9 +60,14 @@ Version:   $Revision$
 
 
 
+
 namespace bbtk
 {
 
+       class wxVtkSceneManager;
+
+       class wxTabPanelsManager;
+
        class wxGEditorTabPanel :  public wxTextDropTarget, public wxPanel
        {
        public: 
@@ -71,12 +77,24 @@ namespace bbtk
 
                void initWxVtkCanvas();
                virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data);
+               void setPanelsManager(wxTabPanelsManager* panelsManager);
+
+               void displayBlackBoxInfo(std::string packageName, std::string boxName);
+               void updateStatusBar(std::string textStatus);
+               std::string getDiagramScript();
+               void editBlackBox(GBlackBoxModel *bbmodel);
+               void editDiagramParameters(wxVtkSceneManager* scene);
+               void deleteAllBoxes();
+               void centerView();
+
+       //=========================================================================
                
        private:
 
                int _id;
                wxAuiManager *_panelAUIMgr;
                wxVtkSceneManager *_sceneManager;
+               wxTabPanelsManager* _panelsManager;
 
        protected: