- void createGBlackBox(int x, int y,std::string packageName, std::string boxName);
- void createGInputPort(BlackBoxInputDescriptor *desc,GBlackBoxModel *blackBox);
- void createGOutputPort(BlackBoxOutputDescriptor *desc,GBlackBoxModel *blackBox);
+ 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);
+