//Includes std
#include <iostream>
+
+
+
namespace bbtk
{
// Saves the actual BBS as complex box
// RaC TOFIX It must be included the package of the complex box
- std::string saveComplexBoxBBS();
+ std::string saveComplexBoxBBS(std::string cbName,std::string cbAuthor="",std::string cbCategory="",std::string cbDescription="");
// Shows the dialog to edit black box parameters
void editBlackBox(GBlackBoxModel *bbmodel);
// Save diagram as BBG
- void saveDiagram(std::string &content, const std::string &path); //DFCH
+ void saveDiagram(std::string &content);
// Load BBG diagram
- void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH
+ void loadDiagram(ifstream &inputStream);
// Add a new complex input object to the scene
void addComplexInputPort(std::string portName);
// Receives the string from a drag and drop source as for example the BBTK Package Browser
virtual bool OnDropText(wxCoord x, wxCoord y, const wxString& data);
- wxVtkSceneManager* getSceneManager();
-
- void SetFullPath( const std::string& );
- void SetFileName( const std::string& );
- void SetCbName(std::string cbName);
- void SetCbPackageName(std::string packagename);
- void SetAuthor(std::string author);
- void SetCategory(std::string category);
- void SetDescription(std::string description);
- //Getters
- std::string GetFullPath( );
- std::string GetFileName( );
-
- std::string GetCbName();
- std::string GetCbPackageName();
- std::string GetAuthor();
- std::string GetDescription();
- std::string GetCategory();
-
-
+ wxVtkSceneManager* getSceneManager();
//=========================================================================
private:
wxAuiManager *_panelAUIMgr;
wxVtkSceneManager *_sceneManager;
wxTabPanelsManager *_panelsManager;
- std::string _fullPath;
- std::string _fileName;
protected: