+
+ //-------
+ //Get a collection of object ids
+ std::vector<int> getBlackBoxes();
+ std::vector<int> getConnections();
+ std::vector<int> getComplexInputPorts();
+ std::vector<int> getComplexOutputPorts();
+
+ //Get the map of selected objects (id, controller)
+ std::map<int,GObjectController*> getSelectedObjects();
+
+ //Get size of selected objects map
+ int getNumSelectedObjects();
+
+ //Complex box edition mode
+ bool isComplexBox();
+ void setComplexBox(bool val);
+
+ //-------
+ //Add an object to the list of controllers
+ int addObjectController(GObjectController* objController);
+
+ //Add a map of object controllers
+ void addObjects(std::map<int,GObjectController*> objectsMap);
+
+
+ //-------
+ //Returns a string with the BBS script of the current diagram.