]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
*** empty log message ***
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index 184714c0ec38dd29bde34aa080f1ec2b01f543a7..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,8 +89,24 @@ 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();
+               void centerView();
+               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();
+
+       //=========================================================================
                
        private: