]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
*** empty log message ***
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index c3a9a771ec3d0af6a9f893caddbd32bfbb1e4e78..336552366fddcd5604a0a54990b4bf8a6a887c21 100644 (file)
@@ -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();
@@ -89,6 +98,13 @@ namespace bbtk
                void saveDiagram(std::string &content);
                void loadDiagram(ifstream &inputStream);
                int getPanelId();
+               bool isComplexBox();
+               void setComplexBox(bool val);
+               void addComplexInputPort(std::string portName);
+               void addComplexOutputPort(std::string portName);
+               std::map<int,GObjectController*> getSelectedObjects();
+               void addObjects(std::map<int,GObjectController*> objectsMap);
+               int getNumSelectedObjects();
 
        //=========================================================================