//Includes std
#include <iostream>
+#include <string>
+#include <sstream>
#include <map>
namespace bbtk
virtual bool OnLeftButtonUp();
virtual bool OnRightButtonUp();
virtual bool OnLeftDClick();
+ virtual bool OnMiddleButtonDown(); ///JLGR 21-05-2012
+ virtual bool OnMiddleButtonUp(); ///JLGR 21-05-2012
//-------
int createGBlackBox(int x, int y, std::string packageName, std::string boxType );
//Add a map of object controllers
void addObjects(std::map<int,GObjectController*> objectsMap);
+ /// Duplicates Objects to current a diagram
+ void DuplicateObjects(std::map<int,GObjectController*> objectsMap);///JLGR 21-05-2012
+ //-------
+ // Makes a BlackBox Executable
+ bool MakeBoxExecutable();//DFCH
//-------
//Returns a string with the BBS script of the current diagram.
std::string getDiagramBBS(bool wln=false);
void saveDiagram(std::string &content);
//Load the diagram
- void loadDiagram(ifstream &inputStream);
+ void loadDiagram(std::stringstream &inputStream);
//Center the view of the camera in the initial position
void centerView();
std::string GetAuthor();
std::string GetCategory();
std::string GetDescription();
+
+ // JGRR & CM
+ void printAll( int com, int sta );
private: