X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.h;h=336552366fddcd5604a0a54990b4bf8a6a887c21;hb=66d85963bdb3dea88f7d8e8931855d092629b37c;hp=4322f6a900f081b2282f19ee729a3944039b24f1;hpb=343ecf790a799b8089a6d13fec0192fd9ad71da1;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h index 4322f6a..3365523 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h @@ -64,11 +64,19 @@ Version: $Revision$ namespace bbtk { + class tmpClasswxTextDropTarget : public wxTextDropTarget + { + public: + virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data) { return false;} + }; + + + class wxVtkSceneManager; class wxTabPanelsManager; - class wxGEditorTabPanel : public wxTextDropTarget, public wxPanel + class wxGEditorTabPanel : public wxPanel, public wxTextDropTarget { public: wxGEditorTabPanel(); @@ -81,7 +89,8 @@ namespace bbtk void displayBlackBoxInfo(std::string packageName, std::string boxName); void updateStatusBar(std::string textStatus); - std::string getDiagramScript(); + std::string getDiagramBBS(); + std::string saveComplexBoxBBS(std::string cbName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription=""); void editBlackBox(GBlackBoxModel *bbmodel); void editDiagramParameters(wxVtkSceneManager* scene); void deleteAllBoxes(); @@ -93,6 +102,9 @@ namespace bbtk void setComplexBox(bool val); void addComplexInputPort(std::string portName); void addComplexOutputPort(std::string portName); + std::map getSelectedObjects(); + void addObjects(std::map objectsMap); + int getNumSelectedObjects(); //=========================================================================