X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.h;h=c3a9a771ec3d0af6a9f893caddbd32bfbb1e4e78;hb=99033f029e92e00ac248e3fcac892b807b68e11f;hp=98a9ead6ed77b29bb5aef5d3813e95e78fbdef4a;hpb=1910361932998533c37b53ea81d580bba29f0ee1;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h index 98a9ead..c3a9a77 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h @@ -43,19 +43,31 @@ Version: $Revision$ #ifndef __wxGEditorTabPanel_h__ #define __wxGEditorTabPanel_h__ +//Includes same project +#include "wxVtkSceneManager.h" +#include "wxTabPanelsManager.h" + +//Includes wxWidgets #include #include #include +//Includes creaMaracasVisu #include +//Includes std #include -#include "wxVtkSceneManager.h" + + namespace bbtk { + class wxVtkSceneManager; + + class wxTabPanelsManager; + class wxGEditorTabPanel : public wxTextDropTarget, public wxPanel { public: @@ -65,12 +77,27 @@ 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(); + void saveDiagram(std::string &content); + void loadDiagram(ifstream &inputStream); + int getPanelId(); + + //========================================================================= private: int _id; wxAuiManager *_panelAUIMgr; wxVtkSceneManager *_sceneManager; + wxTabPanelsManager* _panelsManager; protected: