+ void createGBlackBox(int x, int y,std::string packageName, std::string boxType);
+ GPortController* createGPort(int portType, std::string bbtkName, std::string bbtkType, int posinBox,GBlackBoxModel *blackBox);
+ void createGInputPort(int portType, int posinBox,GBlackBoxModel *blackBox, BlackBoxInputDescriptor *desc);
+ void createGOutputPort(int portType, int posinBox,GBlackBoxModel *blackBox, BlackBoxOutputDescriptor *desc);
+ void createGConnector(GPortModel* startPort);
+
+ void registerController(InteractorStyleMaracas *param);
+ void unregisterController(InteractorStyleMaracas *param);
+
+ vtkRenderWindow* getRenderWindow();
+ vtkRenderer* getRenderer();
+
+ void disconnectDrop();
+
+ virtual bool OnChar();
+ virtual bool OnMouseMove();
+ virtual bool OnLeftButtonDown();
+ virtual bool OnLeftButtonUp();
+ virtual bool OnRightButtonUp();
+ virtual bool OnLeftDClick();
+
+ virtual void update(int idController,int command);
+
+ void displayBlackBoxInfo(std::string packageName, std::string boxName);
+ void updateStatusBar(std::string textStatus);
+ std::string getDiagramScript();
+ void removeObject(int id);
+