X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.h;h=5f3a91fbfc25238b9d4644a5868ed861bd4e2a05;hb=a62e394e0f56bb5adff696adf06be425680bddca;hp=eccbb09b263281fcf86c817f497ed035907bcdef;hpb=cf27872d1d54520546326af3a294962c34d12496;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h index eccbb09..5f3a91f 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h @@ -43,25 +43,90 @@ #ifndef __WxGUIEditorGraphicBBS_h__ #define __WxGUIEditorGraphicBBS_h__ +//Includes same project +#include "wxTabPanelsManager.h" +#include "wxPropertiesPanel.h" +#include "wxEditionDialog.h" +#include "wxVtkSceneManager.h" +//#include "C:\RaC\CREATIS\bbtkGEditor\data\icons\wxart_new.xpm" // JPR +#include "wxart_new.xpm" // JPR + +//Includes creaMaracasVisu + +//Includes bbtk +#include +#include +#include +#include + +//Includes vtk + +//Includes wxWidgets #include #include +#include +#include +#include +#include +#include +#include +#include +//Includes std +#include +#include namespace bbtk { + class wxTabPanelsManager; - class wxGUIEditorGraphicContainer; + class wxVtkSceneManager; class wxGUIEditorGraphicBBS : public wxFrame { public: wxGUIEditorGraphicBBS(wxFrame *parent ); ~wxGUIEditorGraphicBBS(); - private: - wxAuiManager m_mgr; - wxGUIEditorGraphicContainer *editorgraphiccontainer; - - protected: + + void initToolbar(); + void initMenu(); + void initTabPanelsManager(); + void initPackageBrowser(); + void initHelpHTMLBrowser(); + void initPropertiesPanel(); + + wxAuiNotebook* getAuiNotebook(); + void displayBlackBoxInfo(std::string packageName, std::string boxName); + void updateStatusBar(std::string textStatus); + void executeActualDiagram(); + + void editBlackBox(GBlackBoxModel *bbmodel); + void editDiagramParameters(wxVtkSceneManager* scene); + + void RegenerateAll(); + void DoRegeneratePackageDoc(const std::string& pack); + void DoRegenerateBoxesLists(); + + void OnToolLeftClick(wxCommandEvent& event); + void OnExit(wxCommandEvent& event); + + + private: + wxAuiManager *_frameAUIMgr; + wxTabPanelsManager *_tabsMgr; + wxAuiNotebook *_notebook; + WxGUIPackageBrowser2 *_pkgBrowser; + WxGUIHtmlBrowser *_helpHtmlBrowser; + wxPropertiesPanel *_propertiesPanel; + + std::string _dataDir; + + std::string _actualPkgBrowserBoxName; + + std::string _actualPkgBrowserPkgName; + + protected: + };